0s autopkgtest [09:24:02]: starting date and time: 2025-05-02 09:24:02+0000
0s autopkgtest [09:24:02]: git checkout: 9986aa8c Merge branch 'skia/fix_network_interface' into 'ubuntu/production'
0s autopkgtest [09:24:02]: host juju-7f2275-prod-proposed-migration-environment-20; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.u9zddzke/out --timeout-copy=6000 --setup-commands /home/ubuntu/autopkgtest-cloud/worker-config-production/setup-canonical.sh --apt-pocket=proposed=src:python3.13 --apt-upgrade glib2.0 --timeout-short=300 --timeout-copy=20000 --timeout-build=20000 --env=ADT_TEST_TRIGGERS=python3.13/3.13.3-2 -- ssh -s /home/ubuntu/autopkgtest/ssh-setup/nova -- --flavor autopkgtest-s390x --security-groups autopkgtest-juju-7f2275-prod-proposed-migration-environment-20@bos03-s390x-17.secgroup --name adt-questing-s390x-glib2.0-20250502-092402-juju-7f2275-prod-proposed-migration-environment-20-5cf12b5b-8b5c-4a0b-848a-9fbfbcdaf88d --image adt/ubuntu-questing-s390x-server --keyname testbed-juju-7f2275-prod-proposed-migration-environment-20 --net-id=net_prod-proposed-migration-s390x -e TERM=linux --mirror=http://ftpmaster.internal/ubuntu/
86s autopkgtest [09:25:28]: testbed dpkg architecture: s390x
87s autopkgtest [09:25:29]: testbed apt version: 3.0.0
87s autopkgtest [09:25:29]: @@@@@@@@@@@@@@@@@@@@ test bed setup
87s autopkgtest [09:25:29]: testbed release detected to be: None
88s autopkgtest [09:25:30]: updating testbed package index (apt update)
88s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB]
88s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease
88s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease
88s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease
89s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2076 kB]
89s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB]
89s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [175 kB]
89s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [208 kB]
89s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [1079 kB]
89s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [9148 B]
89s Fetched 3701 kB in 1s (2605 kB/s)
90s Reading package lists...
91s autopkgtest [09:25:33]: upgrading testbed (apt dist-upgrade and autopurge)
91s Reading package lists...
91s Building dependency tree...
91s Reading state information...
91s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
91s Starting 2 pkgProblemResolver with broken count: 0
91s Done
91s Entering ResolveByKeep
91s
92s Calculating upgrade...
92s The following packages will be upgraded:
92s htop libpython3.13 libpython3.13-minimal libpython3.13-stdlib nano
92s python3.13 python3.13-gdbm python3.13-minimal
92s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
92s Need to get 9090 kB of archives.
92s After this operation, 7168 B of additional disk space will be used.
92s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13 s390x 3.13.3-2 [739 kB]
92s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13 s390x 3.13.3-2 [2517 kB]
93s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-stdlib s390x 3.13.3-2 [2054 kB]
93s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-minimal s390x 3.13.3-2 [2377 kB]
93s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-minimal s390x 3.13.3-2 [883 kB]
93s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x nano s390x 8.4-1 [299 kB]
93s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x htop s390x 3.4.1-4 [189 kB]
93s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-gdbm s390x 3.13.3-2 [31.8 kB]
94s Fetched 9090 kB in 2s (5137 kB/s)
94s (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 ... 81472 files and directories currently installed.)
94s Preparing to unpack .../0-python3.13_3.13.3-2_s390x.deb ...
94s Unpacking python3.13 (3.13.3-2) over (3.13.3-1) ...
94s Preparing to unpack .../1-libpython3.13_3.13.3-2_s390x.deb ...
94s Unpacking libpython3.13:s390x (3.13.3-2) over (3.13.3-1) ...
94s Preparing to unpack .../2-libpython3.13-stdlib_3.13.3-2_s390x.deb ...
94s Unpacking libpython3.13-stdlib:s390x (3.13.3-2) over (3.13.3-1) ...
94s Preparing to unpack .../3-python3.13-minimal_3.13.3-2_s390x.deb ...
94s Unpacking python3.13-minimal (3.13.3-2) over (3.13.3-1) ...
94s Preparing to unpack .../4-libpython3.13-minimal_3.13.3-2_s390x.deb ...
94s Unpacking libpython3.13-minimal:s390x (3.13.3-2) over (3.13.3-1) ...
94s Preparing to unpack .../5-nano_8.4-1_s390x.deb ...
94s Unpacking nano (8.4-1) over (8.3-1) ...
94s Preparing to unpack .../6-htop_3.4.1-4_s390x.deb ...
94s Unpacking htop (3.4.1-4) over (3.4.0-2) ...
94s Preparing to unpack .../7-python3.13-gdbm_3.13.3-2_s390x.deb ...
94s Unpacking python3.13-gdbm (3.13.3-2) over (3.13.3-1) ...
94s Setting up htop (3.4.1-4) ...
94s Setting up libpython3.13-minimal:s390x (3.13.3-2) ...
94s Setting up nano (8.4-1) ...
94s Installing new version of config file /etc/nanorc ...
94s Setting up python3.13-minimal (3.13.3-2) ...
95s Setting up libpython3.13-stdlib:s390x (3.13.3-2) ...
95s Setting up python3.13-gdbm (3.13.3-2) ...
95s Setting up libpython3.13:s390x (3.13.3-2) ...
95s Setting up python3.13 (3.13.3-2) ...
96s Processing triggers for systemd (257.4-1ubuntu3) ...
96s Processing triggers for man-db (2.13.0-1) ...
97s Processing triggers for install-info (7.1.1-1) ...
97s Processing triggers for libc-bin (2.41-6ubuntu1) ...
98s Reading package lists...
98s Building dependency tree...
98s Reading state information...
98s Starting pkgProblemResolver with broken count: 0
98s Starting 2 pkgProblemResolver with broken count: 0
98s Done
98s Solving dependencies...
98s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
101s autopkgtest [09:25:43]: testbed running kernel: Linux 6.14.0-15-generic #15-Ubuntu SMP Sun Apr 6 13:39:00 UTC 2025
101s autopkgtest [09:25:43]: @@@@@@@@@@@@@@@@@@@@ apt-source glib2.0
111s Get:1 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (dsc) [4812 B]
111s Get:2 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [661 kB]
111s Get:3 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (tar) [5615 kB]
111s Get:4 http://ftpmaster.internal/ubuntu questing/main glib2.0 2.84.1-1 (diff) [136 kB]
111s gpgv: Signature made Fri Apr 4 19:02:25 2025 UTC
111s gpgv: using RSA key 4D0BE12F0E4776D8AACE9696E66C775AEBFE6C7D
111s gpgv: Can't check signature: No public key
111s dpkg-source: warning: cannot verify inline signature for ./glib2.0_2.84.1-1.dsc: no acceptable signature found
112s autopkgtest [09:25:54]: testing package glib2.0 version 2.84.1-1
117s autopkgtest [09:25:59]: build not needed
125s autopkgtest [09:26:07]: test build: preparing testbed
125s Reading package lists...
126s Building dependency tree...
126s Reading state information...
126s Starting pkgProblemResolver with broken count: 0
126s Starting 2 pkgProblemResolver with broken count: 0
126s Done
126s The following NEW packages will be installed:
126s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++
126s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14
126s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu libasan8 libblkid-dev libcc1-0
126s libffi-dev libgcc-14-dev libgio-2.0-dev libgomp1 libisl23 libitm1
126s libmount-dev libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev
126s libpcre2-posix3 libpkgconf3 libselinux1-dev libsepol-dev libstdc++-14-dev
126s libsysprof-capture-4-dev libubsan1 pkgconf pkgconf-bin uuid-dev zlib1g-dev
126s 0 upgraded, 38 newly installed, 0 to remove and 0 not upgraded.
126s Need to get 54.0 MB of archives.
126s After this operation, 177 MB of additional disk space will be used.
126s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x libisl23 s390x 0.27-1 [704 kB]
127s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB]
127s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [9572 kB]
130s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x cpp-14 s390x 14.2.0-19ubuntu2 [1024 B]
130s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B]
130s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB]
130s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x libcc1-0 s390x 15-20250404-0ubuntu1 [49.6 kB]
130s Get:8 http://ftpmaster.internal/ubuntu questing/main s390x libgomp1 s390x 15-20250404-0ubuntu1 [152 kB]
130s Get:9 http://ftpmaster.internal/ubuntu questing/main s390x libitm1 s390x 15-20250404-0ubuntu1 [31.2 kB]
130s Get:10 http://ftpmaster.internal/ubuntu questing/main s390x libasan8 s390x 15-20250404-0ubuntu1 [2966 kB]
131s Get:11 http://ftpmaster.internal/ubuntu questing/main s390x libubsan1 s390x 15-20250404-0ubuntu1 [1210 kB]
132s Get:12 http://ftpmaster.internal/ubuntu questing/main s390x libgcc-14-dev s390x 14.2.0-19ubuntu2 [1037 kB]
132s Get:13 http://ftpmaster.internal/ubuntu questing/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [18.7 MB]
135s Get:14 http://ftpmaster.internal/ubuntu questing/main s390x gcc-14 s390x 14.2.0-19ubuntu2 [529 kB]
135s Get:15 http://ftpmaster.internal/ubuntu questing/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B]
135s Get:16 http://ftpmaster.internal/ubuntu questing/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B]
135s Get:17 http://ftpmaster.internal/ubuntu questing/main s390x libstdc++-14-dev s390x 14.2.0-19ubuntu2 [2614 kB]
136s Get:18 http://ftpmaster.internal/ubuntu questing/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [11.0 MB]
140s Get:19 http://ftpmaster.internal/ubuntu questing/main s390x g++-14 s390x 14.2.0-19ubuntu2 [23.0 kB]
140s Get:20 http://ftpmaster.internal/ubuntu questing/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B]
140s Get:21 http://ftpmaster.internal/ubuntu questing/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B]
140s Get:22 http://ftpmaster.internal/ubuntu questing/main s390x build-essential s390x 12.12ubuntu1 [5090 B]
140s Get:23 http://ftpmaster.internal/ubuntu questing/main s390x libffi-dev s390x 3.4.7-1 [58.9 kB]
140s Get:24 http://ftpmaster.internal/ubuntu questing/main s390x uuid-dev s390x 2.40.2-14ubuntu1 [54.0 kB]
142s Get:25 http://ftpmaster.internal/ubuntu questing/main s390x libblkid-dev s390x 2.40.2-14ubuntu1 [233 kB]
142s Get:26 http://ftpmaster.internal/ubuntu questing/main s390x libsepol-dev s390x 3.7-1 [412 kB]
142s Get:27 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-16-0 s390x 10.45-1 [259 kB]
142s Get:28 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-32-0 s390x 10.45-1 [245 kB]
142s Get:29 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-posix3 s390x 10.45-1 [7080 B]
142s Get:30 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-dev s390x 10.45-1 [899 kB]
142s Get:31 http://ftpmaster.internal/ubuntu questing/main s390x libselinux1-dev s390x 3.7-3ubuntu3 [169 kB]
142s Get:32 http://ftpmaster.internal/ubuntu questing/main s390x libmount-dev s390x 2.40.2-14ubuntu1 [34.6 kB]
142s Get:33 http://ftpmaster.internal/ubuntu questing/main s390x libsysprof-capture-4-dev s390x 48.0-2 [52.0 kB]
142s Get:34 http://ftpmaster.internal/ubuntu questing/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB]
142s Get:35 http://ftpmaster.internal/ubuntu questing/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB]
142s Get:36 http://ftpmaster.internal/ubuntu questing/main s390x pkgconf s390x 1.8.1-4 [16.7 kB]
142s Get:37 http://ftpmaster.internal/ubuntu questing/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB]
142s Get:38 http://ftpmaster.internal/ubuntu questing/main s390x libgio-2.0-dev s390x 2.84.1-1 [1819 kB]
142s Fetched 54.0 MB in 15s (3653 kB/s)
142s Selecting previously unselected package libisl23:s390x.
142s (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 ... 81472 files and directories currently installed.)
142s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ...
142s Unpacking libisl23:s390x (0.27-1) ...
142s Selecting previously unselected package libmpc3:s390x.
142s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ...
142s Unpacking libmpc3:s390x (1.3.1-1build2) ...
142s Selecting previously unselected package cpp-14-s390x-linux-gnu.
142s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
142s Unpacking cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
142s Selecting previously unselected package cpp-14.
142s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_s390x.deb ...
142s Unpacking cpp-14 (14.2.0-19ubuntu2) ...
142s Selecting previously unselected package cpp-s390x-linux-gnu.
142s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
142s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
142s Selecting previously unselected package cpp.
142s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ...
142s Unpacking cpp (4:14.2.0-1ubuntu1) ...
142s Selecting previously unselected package libcc1-0:s390x.
142s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_s390x.deb ...
142s Unpacking libcc1-0:s390x (15-20250404-0ubuntu1) ...
142s Selecting previously unselected package libgomp1:s390x.
142s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_s390x.deb ...
142s Unpacking libgomp1:s390x (15-20250404-0ubuntu1) ...
142s Selecting previously unselected package libitm1:s390x.
142s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_s390x.deb ...
142s Unpacking libitm1:s390x (15-20250404-0ubuntu1) ...
142s Selecting previously unselected package libasan8:s390x.
142s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_s390x.deb ...
142s Unpacking libasan8:s390x (15-20250404-0ubuntu1) ...
142s Selecting previously unselected package libubsan1:s390x.
142s Preparing to unpack .../10-libubsan1_15-20250404-0ubuntu1_s390x.deb ...
142s Unpacking libubsan1:s390x (15-20250404-0ubuntu1) ...
142s Selecting previously unselected package libgcc-14-dev:s390x.
142s Preparing to unpack .../11-libgcc-14-dev_14.2.0-19ubuntu2_s390x.deb ...
142s Unpacking libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
142s Selecting previously unselected package gcc-14-s390x-linux-gnu.
142s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
142s Unpacking gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
142s Selecting previously unselected package gcc-14.
142s Preparing to unpack .../13-gcc-14_14.2.0-19ubuntu2_s390x.deb ...
142s Unpacking gcc-14 (14.2.0-19ubuntu2) ...
142s Selecting previously unselected package gcc-s390x-linux-gnu.
142s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
142s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
142s Selecting previously unselected package gcc.
142s Preparing to unpack .../15-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ...
142s Unpacking gcc (4:14.2.0-1ubuntu1) ...
142s Selecting previously unselected package libstdc++-14-dev:s390x.
142s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-19ubuntu2_s390x.deb ...
142s Unpacking libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
142s Selecting previously unselected package g++-14-s390x-linux-gnu.
142s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
142s Unpacking g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
143s Selecting previously unselected package g++-14.
143s Preparing to unpack .../18-g++-14_14.2.0-19ubuntu2_s390x.deb ...
143s Unpacking g++-14 (14.2.0-19ubuntu2) ...
143s Selecting previously unselected package g++-s390x-linux-gnu.
143s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
143s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
143s Selecting previously unselected package g++.
143s Preparing to unpack .../20-g++_4%3a14.2.0-1ubuntu1_s390x.deb ...
143s Unpacking g++ (4:14.2.0-1ubuntu1) ...
143s Selecting previously unselected package build-essential.
143s Preparing to unpack .../21-build-essential_12.12ubuntu1_s390x.deb ...
143s Unpacking build-essential (12.12ubuntu1) ...
143s Selecting previously unselected package libffi-dev:s390x.
143s Preparing to unpack .../22-libffi-dev_3.4.7-1_s390x.deb ...
143s Unpacking libffi-dev:s390x (3.4.7-1) ...
143s Selecting previously unselected package uuid-dev:s390x.
143s Preparing to unpack .../23-uuid-dev_2.40.2-14ubuntu1_s390x.deb ...
143s Unpacking uuid-dev:s390x (2.40.2-14ubuntu1) ...
143s Selecting previously unselected package libblkid-dev:s390x.
143s Preparing to unpack .../24-libblkid-dev_2.40.2-14ubuntu1_s390x.deb ...
143s Unpacking libblkid-dev:s390x (2.40.2-14ubuntu1) ...
143s Selecting previously unselected package libsepol-dev:s390x.
143s Preparing to unpack .../25-libsepol-dev_3.7-1_s390x.deb ...
143s Unpacking libsepol-dev:s390x (3.7-1) ...
143s Selecting previously unselected package libpcre2-16-0:s390x.
143s Preparing to unpack .../26-libpcre2-16-0_10.45-1_s390x.deb ...
143s Unpacking libpcre2-16-0:s390x (10.45-1) ...
143s Selecting previously unselected package libpcre2-32-0:s390x.
143s Preparing to unpack .../27-libpcre2-32-0_10.45-1_s390x.deb ...
143s Unpacking libpcre2-32-0:s390x (10.45-1) ...
143s Selecting previously unselected package libpcre2-posix3:s390x.
143s Preparing to unpack .../28-libpcre2-posix3_10.45-1_s390x.deb ...
143s Unpacking libpcre2-posix3:s390x (10.45-1) ...
143s Selecting previously unselected package libpcre2-dev:s390x.
143s Preparing to unpack .../29-libpcre2-dev_10.45-1_s390x.deb ...
143s Unpacking libpcre2-dev:s390x (10.45-1) ...
143s Selecting previously unselected package libselinux1-dev:s390x.
143s Preparing to unpack .../30-libselinux1-dev_3.7-3ubuntu3_s390x.deb ...
143s Unpacking libselinux1-dev:s390x (3.7-3ubuntu3) ...
143s Selecting previously unselected package libmount-dev:s390x.
143s Preparing to unpack .../31-libmount-dev_2.40.2-14ubuntu1_s390x.deb ...
143s Unpacking libmount-dev:s390x (2.40.2-14ubuntu1) ...
143s Selecting previously unselected package libsysprof-capture-4-dev:s390x.
143s Preparing to unpack .../32-libsysprof-capture-4-dev_48.0-2_s390x.deb ...
143s Unpacking libsysprof-capture-4-dev:s390x (48.0-2) ...
143s Selecting previously unselected package libpkgconf3:s390x.
143s Preparing to unpack .../33-libpkgconf3_1.8.1-4_s390x.deb ...
143s Unpacking libpkgconf3:s390x (1.8.1-4) ...
144s Selecting previously unselected package pkgconf-bin.
144s Preparing to unpack .../34-pkgconf-bin_1.8.1-4_s390x.deb ...
144s Unpacking pkgconf-bin (1.8.1-4) ...
144s Selecting previously unselected package pkgconf:s390x.
144s Preparing to unpack .../35-pkgconf_1.8.1-4_s390x.deb ...
144s Unpacking pkgconf:s390x (1.8.1-4) ...
144s Selecting previously unselected package zlib1g-dev:s390x.
144s Preparing to unpack .../36-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ...
144s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
144s Selecting previously unselected package libgio-2.0-dev:s390x.
144s Preparing to unpack .../37-libgio-2.0-dev_2.84.1-1_s390x.deb ...
144s Unpacking libgio-2.0-dev:s390x (2.84.1-1) ...
144s Setting up libgomp1:s390x (15-20250404-0ubuntu1) ...
144s Setting up libffi-dev:s390x (3.4.7-1) ...
144s Setting up libpcre2-16-0:s390x (10.45-1) ...
144s Setting up libsysprof-capture-4-dev:s390x (48.0-2) ...
144s Setting up libpcre2-32-0:s390x (10.45-1) ...
144s Setting up libpkgconf3:s390x (1.8.1-4) ...
144s Setting up uuid-dev:s390x (2.40.2-14ubuntu1) ...
144s Setting up libmpc3:s390x (1.3.1-1build2) ...
144s Setting up libsepol-dev:s390x (3.7-1) ...
144s Setting up pkgconf-bin (1.8.1-4) ...
144s Setting up libubsan1:s390x (15-20250404-0ubuntu1) ...
144s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
144s Setting up libpcre2-posix3:s390x (10.45-1) ...
144s Setting up libasan8:s390x (15-20250404-0ubuntu1) ...
144s Setting up libisl23:s390x (0.27-1) ...
144s Setting up libcc1-0:s390x (15-20250404-0ubuntu1) ...
144s Setting up libitm1:s390x (15-20250404-0ubuntu1) ...
144s Setting up libblkid-dev:s390x (2.40.2-14ubuntu1) ...
144s Setting up libpcre2-dev:s390x (10.45-1) ...
144s Setting up libselinux1-dev:s390x (3.7-3ubuntu3) ...
144s Setting up pkgconf:s390x (1.8.1-4) ...
144s Setting up cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
144s Setting up cpp-14 (14.2.0-19ubuntu2) ...
144s Setting up libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
144s Setting up libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
144s Setting up libmount-dev:s390x (2.40.2-14ubuntu1) ...
144s Setting up libgio-2.0-dev:s390x (2.84.1-1) ...
144s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
144s Setting up gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
144s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
144s Setting up g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
144s Setting up cpp (4:14.2.0-1ubuntu1) ...
144s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
144s Setting up gcc-14 (14.2.0-19ubuntu2) ...
144s Setting up g++-14 (14.2.0-19ubuntu2) ...
144s Setting up gcc (4:14.2.0-1ubuntu1) ...
144s Setting up g++ (4:14.2.0-1ubuntu1) ...
144s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
144s Setting up build-essential (12.12ubuntu1) ...
144s Processing triggers for libc-bin (2.41-6ubuntu1) ...
144s Processing triggers for man-db (2.13.0-1) ...
145s Processing triggers for libglib2.0-0t64:s390x (2.84.1-1) ...
145s No schema files found: doing nothing.
145s Processing triggers for install-info (7.1.1-1) ...
146s autopkgtest [09:26:28]: test build: [-----------------------
146s + mode=dynamic
146s + getopt -o --long static -n debian/tests/build --
146s + getopt_temp= --
146s + eval set -- --
146s + set -- --
146s + true
146s + shift
146s + break
146s + mktemp -d
146s + WORKDIR=/tmp/tmp.jzQc0gGoXx
146s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
146s + cd /tmp/tmp.jzQc0gGoXx
146s + [ -n ]
146s + CROSS_COMPILE=
146s + cat
146s + cat
146s + cat
146s + cat
146s + cat
146s + cat
146s + cflags=
146s + pcflags=
146s + packages=glib-2.0
146s + pkg-config --cflags --libs glib-2.0
146s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
146s + echo build (glib, dynamic): OK
146s + [ -x glib-dynamic ]
146s + foo=bar ./glib-dynamic
146s build (glib, dynamic): OK
146s run (glib, dynamic): OK
146s + echo run (glib, dynamic): OK
146s + cflags=
146s + pcflags=
146s + packages=gobject-2.0
146s + pkg-config --cflags --libs gobject-2.0
146s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
146s build (gobject, dynamic): OK
146s + echo build (gobject, dynamic): OK
146s + [ -x gobject-dynamic ]
146s + foo=bar ./gobject-dynamic
146s run (gobject, dynamic): OK
146s + echo run (gobject, dynamic): OK
146s + cflags=
146s + pcflags=
146s + packages=gio-2.0
146s + pkg-config --cflags --libs gio-2.0
146s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
147s build (gio, dynamic): OK
147s + echo build (gio, dynamic): OK
147s + [ -x gio-dynamic ]
147s + foo=bar ./gio-dynamic
147s run (gio, dynamic): OK
147s + echo run (gio, dynamic): OK
147s + cflags=
147s + pcflags=
147s + packages=gio-unix-2.0
147s + pkg-config --cflags --libs gio-unix-2.0
147s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
147s build (gio-unix, dynamic): OK
147s + echo build (gio-unix, dynamic): OK
147s + [ -x gio-unix-dynamic ]
147s + foo=bar ./gio-unix-dynamic
147s + echo run (gio-unix, dynamic): OK
147s + cflags=
147s + pcflags=
147s + packages=gmodule-2.0
147s + run (gio-unix, dynamic): OK
147s pkg-config --cflags --libs gmodule-2.0
147s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
147s build (gmodule, dynamic): OK
147s run (gmodule, dynamic): OK
147s + echo build (gmodule, dynamic): OK
147s + [ -x gmodule-dynamic ]
147s + foo=bar ./gmodule-dynamic
147s + echo run (gmodule, dynamic): OK
147s + cflags=
147s + pcflags=
147s + packages=gthread-2.0
147s + pkg-config --cflags --libs gthread-2.0
147s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
147s + echo build (gthread, dynamic): OK
147s build (gthread, dynamic): OK
147s + [ -x gthread-dynamic ]
147s + foo=bar ./gthread-dynamic
147s run (gthread, dynamic): OK
147s + echo run (gthread, dynamic): OK
147s + rm -rf /tmp/tmp.jzQc0gGoXx
147s autopkgtest [09:26:29]: test build: -----------------------]
148s autopkgtest [09:26:30]: test build: - - - - - - - - - - results - - - - - - - - - -
148s build PASS (superficial)
148s autopkgtest [09:26:30]: test build-static: preparing testbed
148s Reading package lists...
148s Building dependency tree...
148s Reading state information...
149s Starting pkgProblemResolver with broken count: 0
149s Starting 2 pkgProblemResolver with broken count: 0
149s Done
149s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
150s autopkgtest [09:26:32]: test build-static: [-----------------------
150s + mode=dynamic
150s + getopt -o --long static -n debian/tests/build -- --static
150s + getopt_temp= --static --
150s + eval set -- --static --
150s + set -- --static --
150s + true
150s + mode=static
150s + shift
150s + continue
150s + true
150s + shift
150s + break
150s + mktemp -d
150s + WORKDIR=/tmp/tmp.jC2IbjXrWn
150s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
150s + cd /tmp/tmp.jC2IbjXrWn
150s + [ -n ]
150s + CROSS_COMPILE=
150s + cat
150s + cat
150s + cat
150s + cat
150s + cat
150s + cat
150s + cflags=
150s + pcflags=
150s + packages=glib-2.0
150s + cflags=-static
150s + pcflags=--static
150s + pkg-config --static --cflags --libs glib-2.0
150s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
150s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
150s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s build (glib, static): OK
150s run (glib, static): OK
150s + echo build (glib, static): OK
150s + [ -x glib-static ]
150s + foo=bar ./glib-static
150s + echo run (glib, static): OK
150s + cflags=
150s + pcflags=
150s + packages=gobject-2.0
150s + cflags=-static
150s + pcflags=--static
150s + pkg-config --static --cflags --libs gobject-2.0
150s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi
150s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
150s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s build (gobject, static): OK
150s + echo build (gobject, static): OK
150s + [ -x gobject-static ]
150s + foo=bar ./gobject-static
150s run (gobject, static): OK
150s + echo run (gobject, static): OK
150s + cflags=
150s + pcflags=
150s + packages=gio-2.0
150s + cflags=-static
150s + pcflags=--static
150s + continue
150s + cflags=
150s + pcflags=
150s + packages=gio-unix-2.0
150s + cflags=-static
150s + pcflags=--static
150s + continue
150s + cflags=
150s + pcflags=
150s + packages=gmodule-2.0
150s + cflags=-static
150s + pcflags=--static
150s + pkg-config --static --cflags --libs gmodule-2.0
150s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
150s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
150s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
150s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
150s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
151s build (gmodule, static): OK
151s + echo build (gmodule, static): OK
151s + [ -x gmodule-static ]
151s + foo=bar ./gmodule-static
151s run (gmodule, static): OK
151s + echo run (gmodule, static): OK
151s + cflags=
151s + pcflags=
151s + packages=gthread-2.0
151s + cflags=-static
151s + pcflags=--static
151s + pkg-config --static --cflags --libs gthread-2.0
151s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
151s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
151s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
151s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
151s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
151s build (gthread, static): OK
151s + echo build (gthread, static): OK
151s + [ -x gthread-static ]
151s + foo=bar ./gthread-static
151s + run (gthread, static): OK
151s echo run (gthread, static): OK
151s + rm -rf /tmp/tmp.jC2IbjXrWn
151s autopkgtest [09:26:33]: test build-static: -----------------------]
151s autopkgtest [09:26:33]: test build-static: - - - - - - - - - - results - - - - - - - - - -
151s build-static PASS (superficial)
152s autopkgtest [09:26:34]: test girepository-tools: preparing testbed
270s autopkgtest [09:28:32]: testbed dpkg architecture: s390x
270s autopkgtest [09:28:32]: testbed apt version: 3.0.0
270s autopkgtest [09:28:32]: @@@@@@@@@@@@@@@@@@@@ test bed setup
270s autopkgtest [09:28:32]: testbed release detected to be: questing
271s autopkgtest [09:28:33]: updating testbed package index (apt update)
271s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB]
272s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease
272s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease
272s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease
272s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB]
272s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [175 kB]
272s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2076 kB]
272s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [208 kB]
272s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [1079 kB]
272s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [9148 B]
272s Fetched 3701 kB in 1s (2977 kB/s)
273s Reading package lists...
274s autopkgtest [09:28:36]: upgrading testbed (apt dist-upgrade and autopurge)
274s Reading package lists...
274s Building dependency tree...
274s Reading state information...
274s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
274s Starting 2 pkgProblemResolver with broken count: 0
274s Done
274s Entering ResolveByKeep
275s
275s Calculating upgrade...
275s The following packages will be upgraded:
275s htop libpython3.13 libpython3.13-minimal libpython3.13-stdlib nano
275s python3.13 python3.13-gdbm python3.13-minimal
275s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
275s Need to get 9090 kB of archives.
275s After this operation, 7168 B of additional disk space will be used.
275s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13 s390x 3.13.3-2 [739 kB]
275s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13 s390x 3.13.3-2 [2517 kB]
275s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-stdlib s390x 3.13.3-2 [2054 kB]
276s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-minimal s390x 3.13.3-2 [2377 kB]
276s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-minimal s390x 3.13.3-2 [883 kB]
276s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x nano s390x 8.4-1 [299 kB]
276s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x htop s390x 3.4.1-4 [189 kB]
276s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-gdbm s390x 3.13.3-2 [31.8 kB]
276s Fetched 9090 kB in 1s (7806 kB/s)
276s (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 ... 81472 files and directories currently installed.)
276s Preparing to unpack .../0-python3.13_3.13.3-2_s390x.deb ...
276s Unpacking python3.13 (3.13.3-2) over (3.13.3-1) ...
277s Preparing to unpack .../1-libpython3.13_3.13.3-2_s390x.deb ...
277s Unpacking libpython3.13:s390x (3.13.3-2) over (3.13.3-1) ...
277s Preparing to unpack .../2-libpython3.13-stdlib_3.13.3-2_s390x.deb ...
277s Unpacking libpython3.13-stdlib:s390x (3.13.3-2) over (3.13.3-1) ...
277s Preparing to unpack .../3-python3.13-minimal_3.13.3-2_s390x.deb ...
277s Unpacking python3.13-minimal (3.13.3-2) over (3.13.3-1) ...
277s Preparing to unpack .../4-libpython3.13-minimal_3.13.3-2_s390x.deb ...
277s Unpacking libpython3.13-minimal:s390x (3.13.3-2) over (3.13.3-1) ...
277s Preparing to unpack .../5-nano_8.4-1_s390x.deb ...
277s Unpacking nano (8.4-1) over (8.3-1) ...
277s Preparing to unpack .../6-htop_3.4.1-4_s390x.deb ...
277s Unpacking htop (3.4.1-4) over (3.4.0-2) ...
277s Preparing to unpack .../7-python3.13-gdbm_3.13.3-2_s390x.deb ...
277s Unpacking python3.13-gdbm (3.13.3-2) over (3.13.3-1) ...
277s Setting up htop (3.4.1-4) ...
277s Setting up libpython3.13-minimal:s390x (3.13.3-2) ...
277s Setting up nano (8.4-1) ...
277s Installing new version of config file /etc/nanorc ...
277s Setting up python3.13-minimal (3.13.3-2) ...
278s Setting up libpython3.13-stdlib:s390x (3.13.3-2) ...
278s Setting up python3.13-gdbm (3.13.3-2) ...
278s Setting up libpython3.13:s390x (3.13.3-2) ...
278s Setting up python3.13 (3.13.3-2) ...
278s Processing triggers for systemd (257.4-1ubuntu3) ...
278s Processing triggers for man-db (2.13.0-1) ...
279s Processing triggers for install-info (7.1.1-1) ...
279s Processing triggers for libc-bin (2.41-6ubuntu1) ...
280s Reading package lists...
280s Building dependency tree...
280s Reading state information...
280s Starting pkgProblemResolver with broken count: 0
280s Starting 2 pkgProblemResolver with broken count: 0
280s Done
280s Solving dependencies...
280s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
284s Reading package lists...
285s Building dependency tree...
285s Reading state information...
285s Starting pkgProblemResolver with broken count: 0
285s Starting 2 pkgProblemResolver with broken count: 0
285s Done
285s The following NEW packages will be installed:
285s gir1.2-glib-2.0-dev girepository-tools libgirepository-2.0-0
285s native-architecture
285s 0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
285s Need to get 1055 kB of archives.
285s After this operation, 12.7 MB of additional disk space will be used.
285s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x gir1.2-glib-2.0-dev s390x 2.84.1-1 [862 kB]
286s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x native-architecture all 0.2.6 [2140 B]
286s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x libgirepository-2.0-0 s390x 2.84.1-1 [75.5 kB]
286s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x girepository-tools s390x 2.84.1-1 [115 kB]
286s Fetched 1055 kB in 1s (1625 kB/s)
286s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x.
286s (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 ... 81472 files and directories currently installed.)
286s Preparing to unpack .../gir1.2-glib-2.0-dev_2.84.1-1_s390x.deb ...
286s Unpacking gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
286s Selecting previously unselected package native-architecture.
286s Preparing to unpack .../native-architecture_0.2.6_all.deb ...
286s Unpacking native-architecture (0.2.6) ...
286s Selecting previously unselected package libgirepository-2.0-0:s390x.
286s Preparing to unpack .../libgirepository-2.0-0_2.84.1-1_s390x.deb ...
286s Unpacking libgirepository-2.0-0:s390x (2.84.1-1) ...
286s Selecting previously unselected package girepository-tools:s390x.
286s Preparing to unpack .../girepository-tools_2.84.1-1_s390x.deb ...
286s Unpacking girepository-tools:s390x (2.84.1-1) ...
286s Setting up native-architecture (0.2.6) ...
286s Setting up libgirepository-2.0-0:s390x (2.84.1-1) ...
286s Setting up gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
286s Setting up girepository-tools:s390x (2.84.1-1) ...
286s Processing triggers for man-db (2.13.0-1) ...
286s Processing triggers for libc-bin (2.41-6ubuntu1) ...
294s autopkgtest [09:28:56]: test girepository-tools: [-----------------------
294s + cd /tmp/autopkgtest.rl0bd8/autopkgtest_tmp
294s + dpkg-architecture -qDEB_HOST_GNU_TYPE
294s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
294s + DEB_HOST_GNU_TYPE=s390x-linux-gnu
294s + dpkg-architecture -qDEB_HOST_MULTIARCH
294s dpkg-architecture: warning: cannot determine CC system type, falling back to default (native compilation)
294s + DEB_HOST_MULTIARCH=s390x-linux-gnu
294s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
294s typelib: GLib-2.0
294s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir
294s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
295s autopkgtest [09:28:57]: test girepository-tools: -----------------------]
295s girepository-tools PASS (superficial)
295s autopkgtest [09:28:57]: test girepository-tools: - - - - - - - - - - results - - - - - - - - - -
295s autopkgtest [09:28:57]: test libgio-2.0-dev-bin: preparing testbed
407s autopkgtest [09:30:49]: testbed dpkg architecture: s390x
407s autopkgtest [09:30:49]: testbed apt version: 3.0.0
408s autopkgtest [09:30:50]: @@@@@@@@@@@@@@@@@@@@ test bed setup
408s autopkgtest [09:30:50]: testbed release detected to be: questing
408s autopkgtest [09:30:50]: updating testbed package index (apt update)
409s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB]
409s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease
409s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease
411s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease
411s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2076 kB]
411s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [175 kB]
411s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB]
411s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [208 kB]
411s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [1079 kB]
411s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [9148 B]
411s Fetched 3701 kB in 2s (1651 kB/s)
412s Reading package lists...
412s autopkgtest [09:30:54]: upgrading testbed (apt dist-upgrade and autopurge)
412s Reading package lists...
412s Building dependency tree...
412s Reading state information...
413s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
413s Starting 2 pkgProblemResolver with broken count: 0
413s Done
413s Entering ResolveByKeep
413s
413s Calculating upgrade...
413s The following packages will be upgraded:
413s htop libpython3.13 libpython3.13-minimal libpython3.13-stdlib nano
413s python3.13 python3.13-gdbm python3.13-minimal
413s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
413s Need to get 9090 kB of archives.
413s After this operation, 7168 B of additional disk space will be used.
413s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13 s390x 3.13.3-2 [739 kB]
414s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13 s390x 3.13.3-2 [2517 kB]
415s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-stdlib s390x 3.13.3-2 [2054 kB]
415s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-minimal s390x 3.13.3-2 [2377 kB]
415s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-minimal s390x 3.13.3-2 [883 kB]
416s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x nano s390x 8.4-1 [299 kB]
416s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x htop s390x 3.4.1-4 [189 kB]
416s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-gdbm s390x 3.13.3-2 [31.8 kB]
416s Fetched 9090 kB in 2s (3804 kB/s)
416s (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 ... 81472 files and directories currently installed.)
416s Preparing to unpack .../0-python3.13_3.13.3-2_s390x.deb ...
416s Unpacking python3.13 (3.13.3-2) over (3.13.3-1) ...
416s Preparing to unpack .../1-libpython3.13_3.13.3-2_s390x.deb ...
416s Unpacking libpython3.13:s390x (3.13.3-2) over (3.13.3-1) ...
416s Preparing to unpack .../2-libpython3.13-stdlib_3.13.3-2_s390x.deb ...
416s Unpacking libpython3.13-stdlib:s390x (3.13.3-2) over (3.13.3-1) ...
416s Preparing to unpack .../3-python3.13-minimal_3.13.3-2_s390x.deb ...
416s Unpacking python3.13-minimal (3.13.3-2) over (3.13.3-1) ...
416s Preparing to unpack .../4-libpython3.13-minimal_3.13.3-2_s390x.deb ...
416s Unpacking libpython3.13-minimal:s390x (3.13.3-2) over (3.13.3-1) ...
416s Preparing to unpack .../5-nano_8.4-1_s390x.deb ...
416s Unpacking nano (8.4-1) over (8.3-1) ...
416s Preparing to unpack .../6-htop_3.4.1-4_s390x.deb ...
416s Unpacking htop (3.4.1-4) over (3.4.0-2) ...
416s Preparing to unpack .../7-python3.13-gdbm_3.13.3-2_s390x.deb ...
416s Unpacking python3.13-gdbm (3.13.3-2) over (3.13.3-1) ...
417s Setting up htop (3.4.1-4) ...
417s Setting up libpython3.13-minimal:s390x (3.13.3-2) ...
417s Setting up nano (8.4-1) ...
417s Installing new version of config file /etc/nanorc ...
417s Setting up python3.13-minimal (3.13.3-2) ...
417s Setting up libpython3.13-stdlib:s390x (3.13.3-2) ...
417s Setting up python3.13-gdbm (3.13.3-2) ...
417s Setting up libpython3.13:s390x (3.13.3-2) ...
417s Setting up python3.13 (3.13.3-2) ...
418s Processing triggers for systemd (257.4-1ubuntu3) ...
418s Processing triggers for man-db (2.13.0-1) ...
419s Processing triggers for install-info (7.1.1-1) ...
419s Processing triggers for libc-bin (2.41-6ubuntu1) ...
419s Reading package lists...
420s Building dependency tree...
420s Reading state information...
420s Starting pkgProblemResolver with broken count: 0
420s Starting 2 pkgProblemResolver with broken count: 0
420s Done
420s Solving dependencies...
420s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
430s Reading package lists...
430s Building dependency tree...
430s Reading state information...
430s Starting pkgProblemResolver with broken count: 0
430s Starting 2 pkgProblemResolver with broken count: 0
430s Done
430s The following NEW packages will be installed:
430s libgio-2.0-dev-bin python3-packaging
430s 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
430s Need to get 181 kB of archives.
430s After this operation, 949 kB of additional disk space will be used.
430s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x python3-packaging all 24.2-1 [51.5 kB]
431s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x libgio-2.0-dev-bin s390x 2.84.1-1 [129 kB]
431s Fetched 181 kB in 0s (368 kB/s)
431s Selecting previously unselected package python3-packaging.
431s (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 81472 files and directories currently installed.)
431s Preparing to unpack .../python3-packaging_24.2-1_all.deb ...
431s Unpacking python3-packaging (24.2-1) ...
431s Selecting previously unselected package libgio-2.0-dev-bin.
431s Preparing to unpack .../libgio-2.0-dev-bin_2.84.1-1_s390x.deb ...
431s Unpacking libgio-2.0-dev-bin (2.84.1-1) ...
431s Setting up python3-packaging (24.2-1) ...
431s Setting up libgio-2.0-dev-bin (2.84.1-1) ...
431s Processing triggers for man-db (2.13.0-1) ...
442s autopkgtest [09:31:24]: test libgio-2.0-dev-bin: [-----------------------
443s + gdbus-codegen --help
443s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
443s [--c-namespace NAMESPACE] [--c-generate-object-manager]
443s [--c-generate-autocleanup {none,objects,all}]
443s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
443s [--generate-rst OUTFILES] [--pragma-once]
443s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
443s [--glib-min-required VERSION]
443s [--glib-max-allowed VERSION]
443s [--symbol-decorator SYMBOL_DECORATOR]
443s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
443s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
443s [--generate-c-code OUTFILES | --header | --body |
443s --interface-info-header | --interface-info-body]
443s [--output FILE | --output-directory OUTDIR]
443s FILE [FILE ...]
443s
443s D-Bus code and documentation generator
443s
443s positional arguments:
443s FILE D-Bus introspection XML file
443s
443s options:
443s -h, --help show this help message and exit
443s --interface-prefix PREFIX
443s String to strip from D-Bus interface names for code
443s and docs
443s --c-namespace NAMESPACE
443s The namespace to use for generated C code
443s --c-generate-object-manager
443s Generate a GDBusObjectManagerClient subclass when
443s generating C code
443s --c-generate-autocleanup {none,objects,all}
443s Generate autocleanup support
443s --generate-docbook OUTFILES
443s Generate Docbook in OUTFILES-org.Project.IFace.xml
443s --generate-md OUTFILES
443s Generate Markdown in OUTFILES-org.Project.IFace.md
443s --generate-rst OUTFILES
443s Generate reStructuredText in OUTFILES-
443s org.Project.IFace.rst
443s --pragma-once Use "pragma once" as the inclusion guard
443s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
443s Add annotation (may be used several times)
443s --glib-min-required VERSION
443s Minimum version of GLib to be supported by the
443s outputted code (default: 2.30)
443s --glib-max-allowed VERSION
443s Maximum version of GLib to be used by the outputted
443s code (default: current GLib version)
443s --symbol-decorator SYMBOL_DECORATOR
443s Macro used to decorate a symbol in the outputted
443s header, possibly to export symbols
443s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
443s Additional header required for decorator specified by
443s --symbol-decorator
443s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
443s Additional define required for decorator specified by
443s --symbol-decorator
443s --generate-c-code OUTFILES
443s Generate C code in OUTFILES.[ch]
443s --header Generate C headers
443s --body Generate C code
443s --interface-info-header
443s Generate GDBusInterfaceInfo C header
443s --interface-info-body
443s Generate GDBusInterfaceInfo C code
443s --output FILE Write output into the specified file
443s --output-directory OUTDIR
443s Location to output generated files
443s + glib-compile-resources --version
443s 2.84.1
443s + glib-genmarshal --version
443s glib-genmarshal version 2.84.1
443s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
443s You may redistribute copies of glib-genmarshal under the terms of
443s the GNU General Public License which can be found in the
443s GLib source package. Sources, examples and contact
443s information are available at http://www.gtk.org
443s + glib-gettextize --version
443s /usr/bin/glib-gettextize (GNU glib) 2.84.1
443s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
443s This is free software; see the source for copying conditions. There is NO
443s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
443s Written by Ulrich Drepper
443s + glib-mkenums --version
443s glib-mkenums version 2.84.1
443s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
443s You may redistribute copies of glib-mkenums under the terms of
443s the GNU General Public License which can be found in the
443s GLib source package. Sources, examples and contact
443s information are available at http://www.gtk.org
443s + gobject-query tree
443s GObject
443s + gtester --version
443s gtester version 2.84.1
443s + gtester-report --version
443s gtester-report (GLib utils) version 2.84.1.
443s autopkgtest [09:31:25]: test libgio-2.0-dev-bin: -----------------------]
444s autopkgtest [09:31:26]: test libgio-2.0-dev-bin: - - - - - - - - - - results - - - - - - - - - -
444s libgio-2.0-dev-bin PASS (superficial)
444s autopkgtest [09:31:26]: test libglib2.0-dev: preparing testbed
538s autopkgtest [09:33:00]: testbed dpkg architecture: s390x
539s autopkgtest [09:33:01]: testbed apt version: 3.0.0
539s autopkgtest [09:33:01]: @@@@@@@@@@@@@@@@@@@@ test bed setup
539s autopkgtest [09:33:01]: testbed release detected to be: questing
540s autopkgtest [09:33:02]: updating testbed package index (apt update)
540s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB]
540s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease
540s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease
540s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease
541s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB]
541s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [175 kB]
541s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2076 kB]
541s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [208 kB]
541s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [1079 kB]
541s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [9148 B]
541s Fetched 3701 kB in 1s (3094 kB/s)
542s Reading package lists...
542s autopkgtest [09:33:04]: upgrading testbed (apt dist-upgrade and autopurge)
543s Reading package lists...
543s Building dependency tree...
543s Reading state information...
543s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
543s Starting 2 pkgProblemResolver with broken count: 0
543s Done
543s Entering ResolveByKeep
543s
543s Calculating upgrade...
544s The following packages will be upgraded:
544s htop libpython3.13 libpython3.13-minimal libpython3.13-stdlib nano
544s python3.13 python3.13-gdbm python3.13-minimal
544s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
544s Need to get 9090 kB of archives.
544s After this operation, 7168 B of additional disk space will be used.
544s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13 s390x 3.13.3-2 [739 kB]
544s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13 s390x 3.13.3-2 [2517 kB]
544s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-stdlib s390x 3.13.3-2 [2054 kB]
544s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-minimal s390x 3.13.3-2 [2377 kB]
544s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-minimal s390x 3.13.3-2 [883 kB]
544s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x nano s390x 8.4-1 [299 kB]
544s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x htop s390x 3.4.1-4 [189 kB]
544s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-gdbm s390x 3.13.3-2 [31.8 kB]
545s Fetched 9090 kB in 1s (10.4 MB/s)
545s (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 ... 81472 files and directories currently installed.)
545s Preparing to unpack .../0-python3.13_3.13.3-2_s390x.deb ...
545s Unpacking python3.13 (3.13.3-2) over (3.13.3-1) ...
545s Preparing to unpack .../1-libpython3.13_3.13.3-2_s390x.deb ...
545s Unpacking libpython3.13:s390x (3.13.3-2) over (3.13.3-1) ...
545s Preparing to unpack .../2-libpython3.13-stdlib_3.13.3-2_s390x.deb ...
545s Unpacking libpython3.13-stdlib:s390x (3.13.3-2) over (3.13.3-1) ...
545s Preparing to unpack .../3-python3.13-minimal_3.13.3-2_s390x.deb ...
545s Unpacking python3.13-minimal (3.13.3-2) over (3.13.3-1) ...
545s Preparing to unpack .../4-libpython3.13-minimal_3.13.3-2_s390x.deb ...
545s Unpacking libpython3.13-minimal:s390x (3.13.3-2) over (3.13.3-1) ...
545s Preparing to unpack .../5-nano_8.4-1_s390x.deb ...
545s Unpacking nano (8.4-1) over (8.3-1) ...
545s Preparing to unpack .../6-htop_3.4.1-4_s390x.deb ...
545s Unpacking htop (3.4.1-4) over (3.4.0-2) ...
545s Preparing to unpack .../7-python3.13-gdbm_3.13.3-2_s390x.deb ...
545s Unpacking python3.13-gdbm (3.13.3-2) over (3.13.3-1) ...
545s Setting up htop (3.4.1-4) ...
545s Setting up libpython3.13-minimal:s390x (3.13.3-2) ...
545s Setting up nano (8.4-1) ...
545s Installing new version of config file /etc/nanorc ...
545s Setting up python3.13-minimal (3.13.3-2) ...
546s Setting up libpython3.13-stdlib:s390x (3.13.3-2) ...
546s Setting up python3.13-gdbm (3.13.3-2) ...
546s Setting up libpython3.13:s390x (3.13.3-2) ...
546s Setting up python3.13 (3.13.3-2) ...
547s Processing triggers for systemd (257.4-1ubuntu3) ...
547s Processing triggers for man-db (2.13.0-1) ...
548s Processing triggers for install-info (7.1.1-1) ...
548s Processing triggers for libc-bin (2.41-6ubuntu1) ...
548s Reading package lists...
548s Building dependency tree...
548s Reading state information...
549s Starting pkgProblemResolver with broken count: 0
549s Starting 2 pkgProblemResolver with broken count: 0
549s Done
549s Solving dependencies...
549s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
554s Reading package lists...
554s Building dependency tree...
554s Reading state information...
554s Starting pkgProblemResolver with broken count: 0
554s Starting 2 pkgProblemResolver with broken count: 0
554s Done
554s The following NEW packages will be installed:
554s build-essential cpp cpp-14 cpp-14-s390x-linux-gnu cpp-s390x-linux-gnu g++
554s g++-14 g++-14-s390x-linux-gnu g++-s390x-linux-gnu gcc gcc-14
554s gcc-14-s390x-linux-gnu gcc-s390x-linux-gnu gir1.2-glib-2.0-dev
554s girepository-tools libasan8 libblkid-dev libcc1-0 libffi-dev libgcc-14-dev
554s libgio-2.0-dev libgio-2.0-dev-bin libgirepository-2.0-0 libglib2.0-bin
554s libglib2.0-dev libglib2.0-dev-bin libgomp1 libisl23 libitm1 libmount-dev
554s libmpc3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpkgconf3
554s libselinux1-dev libsepol-dev libstdc++-14-dev libsysprof-capture-4-dev
554s libubsan1 native-architecture pkgconf pkgconf-bin python3-packaging uuid-dev
554s zlib1g-dev
554s 0 upgraded, 47 newly installed, 0 to remove and 0 not upgraded.
554s Need to get 55.3 MB of archives.
554s After this operation, 191 MB of additional disk space will be used.
554s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x libisl23 s390x 0.27-1 [704 kB]
555s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x libmpc3 s390x 1.3.1-1build2 [57.8 kB]
555s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x cpp-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [9572 kB]
557s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x cpp-14 s390x 14.2.0-19ubuntu2 [1024 B]
557s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x cpp-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [5556 B]
557s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x cpp s390x 4:14.2.0-1ubuntu1 [22.4 kB]
557s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x libcc1-0 s390x 15-20250404-0ubuntu1 [49.6 kB]
557s Get:8 http://ftpmaster.internal/ubuntu questing/main s390x libgomp1 s390x 15-20250404-0ubuntu1 [152 kB]
557s Get:9 http://ftpmaster.internal/ubuntu questing/main s390x libitm1 s390x 15-20250404-0ubuntu1 [31.2 kB]
557s Get:10 http://ftpmaster.internal/ubuntu questing/main s390x libasan8 s390x 15-20250404-0ubuntu1 [2966 kB]
557s Get:11 http://ftpmaster.internal/ubuntu questing/main s390x libubsan1 s390x 15-20250404-0ubuntu1 [1210 kB]
558s Get:12 http://ftpmaster.internal/ubuntu questing/main s390x libgcc-14-dev s390x 14.2.0-19ubuntu2 [1037 kB]
558s Get:13 http://ftpmaster.internal/ubuntu questing/main s390x gcc-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [18.7 MB]
559s Get:14 http://ftpmaster.internal/ubuntu questing/main s390x gcc-14 s390x 14.2.0-19ubuntu2 [529 kB]
559s Get:15 http://ftpmaster.internal/ubuntu questing/main s390x gcc-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [1204 B]
559s Get:16 http://ftpmaster.internal/ubuntu questing/main s390x gcc s390x 4:14.2.0-1ubuntu1 [5004 B]
559s Get:17 http://ftpmaster.internal/ubuntu questing/main s390x libstdc++-14-dev s390x 14.2.0-19ubuntu2 [2614 kB]
559s Get:18 http://ftpmaster.internal/ubuntu questing/main s390x g++-14-s390x-linux-gnu s390x 14.2.0-19ubuntu2 [11.0 MB]
559s Get:19 http://ftpmaster.internal/ubuntu questing/main s390x g++-14 s390x 14.2.0-19ubuntu2 [23.0 kB]
559s Get:20 http://ftpmaster.internal/ubuntu questing/main s390x g++-s390x-linux-gnu s390x 4:14.2.0-1ubuntu1 [956 B]
559s Get:21 http://ftpmaster.internal/ubuntu questing/main s390x g++ s390x 4:14.2.0-1ubuntu1 [1080 B]
559s Get:22 http://ftpmaster.internal/ubuntu questing/main s390x build-essential s390x 12.12ubuntu1 [5090 B]
559s Get:23 http://ftpmaster.internal/ubuntu questing/main s390x gir1.2-glib-2.0-dev s390x 2.84.1-1 [862 kB]
559s Get:24 http://ftpmaster.internal/ubuntu questing/main s390x native-architecture all 0.2.6 [2140 B]
559s Get:25 http://ftpmaster.internal/ubuntu questing/main s390x libgirepository-2.0-0 s390x 2.84.1-1 [75.5 kB]
559s Get:26 http://ftpmaster.internal/ubuntu questing/main s390x girepository-tools s390x 2.84.1-1 [115 kB]
559s Get:27 http://ftpmaster.internal/ubuntu questing/main s390x libffi-dev s390x 3.4.7-1 [58.9 kB]
559s Get:28 http://ftpmaster.internal/ubuntu questing/main s390x uuid-dev s390x 2.40.2-14ubuntu1 [54.0 kB]
559s Get:29 http://ftpmaster.internal/ubuntu questing/main s390x libblkid-dev s390x 2.40.2-14ubuntu1 [233 kB]
559s Get:30 http://ftpmaster.internal/ubuntu questing/main s390x libsepol-dev s390x 3.7-1 [412 kB]
559s Get:31 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-16-0 s390x 10.45-1 [259 kB]
559s Get:32 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-32-0 s390x 10.45-1 [245 kB]
559s Get:33 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-posix3 s390x 10.45-1 [7080 B]
559s Get:34 http://ftpmaster.internal/ubuntu questing/main s390x libpcre2-dev s390x 10.45-1 [899 kB]
559s Get:35 http://ftpmaster.internal/ubuntu questing/main s390x libselinux1-dev s390x 3.7-3ubuntu3 [169 kB]
559s Get:36 http://ftpmaster.internal/ubuntu questing/main s390x libmount-dev s390x 2.40.2-14ubuntu1 [34.6 kB]
559s Get:37 http://ftpmaster.internal/ubuntu questing/main s390x libsysprof-capture-4-dev s390x 48.0-2 [52.0 kB]
559s Get:38 http://ftpmaster.internal/ubuntu questing/main s390x libpkgconf3 s390x 1.8.1-4 [31.2 kB]
559s Get:39 http://ftpmaster.internal/ubuntu questing/main s390x pkgconf-bin s390x 1.8.1-4 [21.5 kB]
559s Get:40 http://ftpmaster.internal/ubuntu questing/main s390x pkgconf s390x 1.8.1-4 [16.7 kB]
559s Get:41 http://ftpmaster.internal/ubuntu questing/main s390x zlib1g-dev s390x 1:1.3.dfsg+really1.3.1-1ubuntu1 [898 kB]
559s Get:42 http://ftpmaster.internal/ubuntu questing/main s390x libgio-2.0-dev s390x 2.84.1-1 [1819 kB]
559s Get:43 http://ftpmaster.internal/ubuntu questing/main s390x python3-packaging all 24.2-1 [51.5 kB]
559s Get:44 http://ftpmaster.internal/ubuntu questing/main s390x libgio-2.0-dev-bin s390x 2.84.1-1 [129 kB]
559s Get:45 http://ftpmaster.internal/ubuntu questing/main s390x libglib2.0-bin s390x 2.84.1-1 [99.7 kB]
559s Get:46 http://ftpmaster.internal/ubuntu questing/main s390x libglib2.0-dev-bin s390x 2.84.1-1 [18.1 kB]
559s Get:47 http://ftpmaster.internal/ubuntu questing/main s390x libglib2.0-dev s390x 2.84.1-1 [18.9 kB]
560s Fetched 55.3 MB in 5s (10.8 MB/s)
560s Selecting previously unselected package libisl23:s390x.
560s (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 ... 81472 files and directories currently installed.)
560s Preparing to unpack .../00-libisl23_0.27-1_s390x.deb ...
560s Unpacking libisl23:s390x (0.27-1) ...
560s Selecting previously unselected package libmpc3:s390x.
560s Preparing to unpack .../01-libmpc3_1.3.1-1build2_s390x.deb ...
560s Unpacking libmpc3:s390x (1.3.1-1build2) ...
560s Selecting previously unselected package cpp-14-s390x-linux-gnu.
560s Preparing to unpack .../02-cpp-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
560s Unpacking cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
560s Selecting previously unselected package cpp-14.
560s Preparing to unpack .../03-cpp-14_14.2.0-19ubuntu2_s390x.deb ...
560s Unpacking cpp-14 (14.2.0-19ubuntu2) ...
560s Selecting previously unselected package cpp-s390x-linux-gnu.
560s Preparing to unpack .../04-cpp-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
560s Unpacking cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
560s Selecting previously unselected package cpp.
560s Preparing to unpack .../05-cpp_4%3a14.2.0-1ubuntu1_s390x.deb ...
560s Unpacking cpp (4:14.2.0-1ubuntu1) ...
560s Selecting previously unselected package libcc1-0:s390x.
560s Preparing to unpack .../06-libcc1-0_15-20250404-0ubuntu1_s390x.deb ...
560s Unpacking libcc1-0:s390x (15-20250404-0ubuntu1) ...
560s Selecting previously unselected package libgomp1:s390x.
560s Preparing to unpack .../07-libgomp1_15-20250404-0ubuntu1_s390x.deb ...
560s Unpacking libgomp1:s390x (15-20250404-0ubuntu1) ...
560s Selecting previously unselected package libitm1:s390x.
560s Preparing to unpack .../08-libitm1_15-20250404-0ubuntu1_s390x.deb ...
560s Unpacking libitm1:s390x (15-20250404-0ubuntu1) ...
560s Selecting previously unselected package libasan8:s390x.
560s Preparing to unpack .../09-libasan8_15-20250404-0ubuntu1_s390x.deb ...
560s Unpacking libasan8:s390x (15-20250404-0ubuntu1) ...
560s Selecting previously unselected package libubsan1:s390x.
560s Preparing to unpack .../10-libubsan1_15-20250404-0ubuntu1_s390x.deb ...
560s Unpacking libubsan1:s390x (15-20250404-0ubuntu1) ...
560s Selecting previously unselected package libgcc-14-dev:s390x.
560s Preparing to unpack .../11-libgcc-14-dev_14.2.0-19ubuntu2_s390x.deb ...
560s Unpacking libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
560s Selecting previously unselected package gcc-14-s390x-linux-gnu.
560s Preparing to unpack .../12-gcc-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
560s Unpacking gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
560s Selecting previously unselected package gcc-14.
560s Preparing to unpack .../13-gcc-14_14.2.0-19ubuntu2_s390x.deb ...
560s Unpacking gcc-14 (14.2.0-19ubuntu2) ...
560s Selecting previously unselected package gcc-s390x-linux-gnu.
560s Preparing to unpack .../14-gcc-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
560s Unpacking gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
560s Selecting previously unselected package gcc.
560s Preparing to unpack .../15-gcc_4%3a14.2.0-1ubuntu1_s390x.deb ...
560s Unpacking gcc (4:14.2.0-1ubuntu1) ...
560s Selecting previously unselected package libstdc++-14-dev:s390x.
560s Preparing to unpack .../16-libstdc++-14-dev_14.2.0-19ubuntu2_s390x.deb ...
560s Unpacking libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
561s Selecting previously unselected package g++-14-s390x-linux-gnu.
561s Preparing to unpack .../17-g++-14-s390x-linux-gnu_14.2.0-19ubuntu2_s390x.deb ...
561s Unpacking g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
561s Selecting previously unselected package g++-14.
561s Preparing to unpack .../18-g++-14_14.2.0-19ubuntu2_s390x.deb ...
561s Unpacking g++-14 (14.2.0-19ubuntu2) ...
561s Selecting previously unselected package g++-s390x-linux-gnu.
561s Preparing to unpack .../19-g++-s390x-linux-gnu_4%3a14.2.0-1ubuntu1_s390x.deb ...
561s Unpacking g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
561s Selecting previously unselected package g++.
561s Preparing to unpack .../20-g++_4%3a14.2.0-1ubuntu1_s390x.deb ...
561s Unpacking g++ (4:14.2.0-1ubuntu1) ...
561s Selecting previously unselected package build-essential.
561s Preparing to unpack .../21-build-essential_12.12ubuntu1_s390x.deb ...
561s Unpacking build-essential (12.12ubuntu1) ...
561s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x.
561s Preparing to unpack .../22-gir1.2-glib-2.0-dev_2.84.1-1_s390x.deb ...
561s Unpacking gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
561s Selecting previously unselected package native-architecture.
561s Preparing to unpack .../23-native-architecture_0.2.6_all.deb ...
561s Unpacking native-architecture (0.2.6) ...
561s Selecting previously unselected package libgirepository-2.0-0:s390x.
561s Preparing to unpack .../24-libgirepository-2.0-0_2.84.1-1_s390x.deb ...
561s Unpacking libgirepository-2.0-0:s390x (2.84.1-1) ...
561s Selecting previously unselected package girepository-tools:s390x.
561s Preparing to unpack .../25-girepository-tools_2.84.1-1_s390x.deb ...
561s Unpacking girepository-tools:s390x (2.84.1-1) ...
561s Selecting previously unselected package libffi-dev:s390x.
561s Preparing to unpack .../26-libffi-dev_3.4.7-1_s390x.deb ...
561s Unpacking libffi-dev:s390x (3.4.7-1) ...
561s Selecting previously unselected package uuid-dev:s390x.
561s Preparing to unpack .../27-uuid-dev_2.40.2-14ubuntu1_s390x.deb ...
561s Unpacking uuid-dev:s390x (2.40.2-14ubuntu1) ...
561s Selecting previously unselected package libblkid-dev:s390x.
561s Preparing to unpack .../28-libblkid-dev_2.40.2-14ubuntu1_s390x.deb ...
561s Unpacking libblkid-dev:s390x (2.40.2-14ubuntu1) ...
561s Selecting previously unselected package libsepol-dev:s390x.
561s Preparing to unpack .../29-libsepol-dev_3.7-1_s390x.deb ...
561s Unpacking libsepol-dev:s390x (3.7-1) ...
561s Selecting previously unselected package libpcre2-16-0:s390x.
561s Preparing to unpack .../30-libpcre2-16-0_10.45-1_s390x.deb ...
561s Unpacking libpcre2-16-0:s390x (10.45-1) ...
561s Selecting previously unselected package libpcre2-32-0:s390x.
561s Preparing to unpack .../31-libpcre2-32-0_10.45-1_s390x.deb ...
561s Unpacking libpcre2-32-0:s390x (10.45-1) ...
561s Selecting previously unselected package libpcre2-posix3:s390x.
561s Preparing to unpack .../32-libpcre2-posix3_10.45-1_s390x.deb ...
561s Unpacking libpcre2-posix3:s390x (10.45-1) ...
561s Selecting previously unselected package libpcre2-dev:s390x.
561s Preparing to unpack .../33-libpcre2-dev_10.45-1_s390x.deb ...
561s Unpacking libpcre2-dev:s390x (10.45-1) ...
561s Selecting previously unselected package libselinux1-dev:s390x.
561s Preparing to unpack .../34-libselinux1-dev_3.7-3ubuntu3_s390x.deb ...
561s Unpacking libselinux1-dev:s390x (3.7-3ubuntu3) ...
561s Selecting previously unselected package libmount-dev:s390x.
561s Preparing to unpack .../35-libmount-dev_2.40.2-14ubuntu1_s390x.deb ...
561s Unpacking libmount-dev:s390x (2.40.2-14ubuntu1) ...
561s Selecting previously unselected package libsysprof-capture-4-dev:s390x.
561s Preparing to unpack .../36-libsysprof-capture-4-dev_48.0-2_s390x.deb ...
561s Unpacking libsysprof-capture-4-dev:s390x (48.0-2) ...
561s Selecting previously unselected package libpkgconf3:s390x.
561s Preparing to unpack .../37-libpkgconf3_1.8.1-4_s390x.deb ...
561s Unpacking libpkgconf3:s390x (1.8.1-4) ...
561s Selecting previously unselected package pkgconf-bin.
561s Preparing to unpack .../38-pkgconf-bin_1.8.1-4_s390x.deb ...
561s Unpacking pkgconf-bin (1.8.1-4) ...
561s Selecting previously unselected package pkgconf:s390x.
561s Preparing to unpack .../39-pkgconf_1.8.1-4_s390x.deb ...
561s Unpacking pkgconf:s390x (1.8.1-4) ...
561s Selecting previously unselected package zlib1g-dev:s390x.
561s Preparing to unpack .../40-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1ubuntu1_s390x.deb ...
561s Unpacking zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
561s Selecting previously unselected package libgio-2.0-dev:s390x.
561s Preparing to unpack .../41-libgio-2.0-dev_2.84.1-1_s390x.deb ...
561s Unpacking libgio-2.0-dev:s390x (2.84.1-1) ...
561s Selecting previously unselected package python3-packaging.
561s Preparing to unpack .../42-python3-packaging_24.2-1_all.deb ...
561s Unpacking python3-packaging (24.2-1) ...
561s Selecting previously unselected package libgio-2.0-dev-bin.
561s Preparing to unpack .../43-libgio-2.0-dev-bin_2.84.1-1_s390x.deb ...
561s Unpacking libgio-2.0-dev-bin (2.84.1-1) ...
561s Selecting previously unselected package libglib2.0-bin.
561s Preparing to unpack .../44-libglib2.0-bin_2.84.1-1_s390x.deb ...
561s Unpacking libglib2.0-bin (2.84.1-1) ...
561s Selecting previously unselected package libglib2.0-dev-bin.
561s Preparing to unpack .../45-libglib2.0-dev-bin_2.84.1-1_s390x.deb ...
561s Unpacking libglib2.0-dev-bin (2.84.1-1) ...
561s Selecting previously unselected package libglib2.0-dev:s390x.
561s Preparing to unpack .../46-libglib2.0-dev_2.84.1-1_s390x.deb ...
561s Unpacking libglib2.0-dev:s390x (2.84.1-1) ...
561s Setting up native-architecture (0.2.6) ...
561s Setting up libgirepository-2.0-0:s390x (2.84.1-1) ...
561s Setting up libglib2.0-bin (2.84.1-1) ...
561s Setting up libgomp1:s390x (15-20250404-0ubuntu1) ...
561s Setting up libffi-dev:s390x (3.4.7-1) ...
561s Setting up libpcre2-16-0:s390x (10.45-1) ...
561s Setting up libsysprof-capture-4-dev:s390x (48.0-2) ...
561s Setting up libpcre2-32-0:s390x (10.45-1) ...
561s Setting up python3-packaging (24.2-1) ...
561s Setting up libpkgconf3:s390x (1.8.1-4) ...
561s Setting up uuid-dev:s390x (2.40.2-14ubuntu1) ...
561s Setting up libmpc3:s390x (1.3.1-1build2) ...
561s Setting up libsepol-dev:s390x (3.7-1) ...
561s Setting up pkgconf-bin (1.8.1-4) ...
561s Setting up libubsan1:s390x (15-20250404-0ubuntu1) ...
561s Setting up zlib1g-dev:s390x (1:1.3.dfsg+really1.3.1-1ubuntu1) ...
561s Setting up libpcre2-posix3:s390x (10.45-1) ...
561s Setting up gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
561s Setting up libasan8:s390x (15-20250404-0ubuntu1) ...
561s Setting up libisl23:s390x (0.27-1) ...
561s Setting up libcc1-0:s390x (15-20250404-0ubuntu1) ...
561s Setting up libitm1:s390x (15-20250404-0ubuntu1) ...
561s Setting up libblkid-dev:s390x (2.40.2-14ubuntu1) ...
561s Setting up libgio-2.0-dev-bin (2.84.1-1) ...
562s Setting up girepository-tools:s390x (2.84.1-1) ...
562s Setting up libpcre2-dev:s390x (10.45-1) ...
562s Setting up libselinux1-dev:s390x (3.7-3ubuntu3) ...
562s Setting up pkgconf:s390x (1.8.1-4) ...
562s Setting up cpp-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
562s Setting up cpp-14 (14.2.0-19ubuntu2) ...
562s Setting up libgcc-14-dev:s390x (14.2.0-19ubuntu2) ...
562s Setting up libstdc++-14-dev:s390x (14.2.0-19ubuntu2) ...
562s Setting up libmount-dev:s390x (2.40.2-14ubuntu1) ...
562s Setting up libglib2.0-dev-bin (2.84.1-1) ...
562s Setting up libgio-2.0-dev:s390x (2.84.1-1) ...
562s Setting up cpp-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
562s Setting up gcc-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
562s Setting up gcc-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
562s Setting up g++-14-s390x-linux-gnu (14.2.0-19ubuntu2) ...
562s Setting up cpp (4:14.2.0-1ubuntu1) ...
562s Setting up g++-s390x-linux-gnu (4:14.2.0-1ubuntu1) ...
562s Setting up gcc-14 (14.2.0-19ubuntu2) ...
562s Setting up g++-14 (14.2.0-19ubuntu2) ...
562s Setting up gcc (4:14.2.0-1ubuntu1) ...
562s Setting up g++ (4:14.2.0-1ubuntu1) ...
562s update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
562s Setting up build-essential (12.12ubuntu1) ...
562s Processing triggers for install-info (7.1.1-1) ...
562s Processing triggers for libc-bin (2.41-6ubuntu1) ...
562s Processing triggers for man-db (2.13.0-1) ...
562s Processing triggers for libglib2.0-0t64:s390x (2.84.1-1) ...
562s No schema files found: doing nothing.
562s Setting up libglib2.0-dev:s390x (2.84.1-1) ...
572s autopkgtest [09:33:34]: test libglib2.0-dev: [-----------------------
573s + debian/tests/build
573s + mode=dynamic
573s + getopt -o --long static -n debian/tests/build --
573s + getopt_temp= --
573s + eval set -- --
573s + set -- --
573s + true
573s + shift
573s + break
573s + mktemp -d
573s + WORKDIR=/tmp/tmp.dGX1J9Xcf7
573s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
573s + cd /tmp/tmp.dGX1J9Xcf7
573s + [ -n ]
573s + CROSS_COMPILE=
573s + cat
573s + cat
573s + cat
573s + cat
573s + cat
573s + cat
573s + cflags=
573s + pcflags=
573s + packages=glib-2.0
573s + pkg-config --cflags --libs glib-2.0
573s + gcc -o glib-dynamic glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0
573s + echo build (glib, dynamic): OK
573s + [ -x glib-dynamic ]
573s + foo=bar ./glib-dynamic
573s build (glib, dynamic): OK
573s + echo run (glib, dynamic): OK
573s + cflags=
573s + pcflags=
573s + packages=gobject-2.0
573s + pkg-config --cflags --libs gobject-2.0
573s + gcc -o gobject-dynamic gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0
573s run (glib, dynamic): OK
573s + echo build (gobject, dynamic): OK
573s + [ -x gobject-dynamic ]
573s + foo=bar ./gobject-dynamic
573s + echo run (gobject, dynamic): OK
573s + cflags=
573s + pcflags=
573s + packages=gio-2.0
573s + pkg-config --cflags --libs gio-2.0
573s + gcc -o gio-dynamic gio.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
573s build (gobject, dynamic): OK
573s run (gobject, dynamic): OK
573s + echo build (gio, dynamic): OK
573s + [ -x gio-dynamic ]
573s + foo=bar ./gio-dynamic
573s + echo run (gio, dynamic): OK
573s + cflags=
573s + pcflags=
573s + packages=gio-unix-2.0
573s + pkg-config --cflags --libs gio-unix-2.0
573s + gcc -o gio-unix-dynamic gio-unix.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -pthread -lgio-2.0 -lgobject-2.0 -lglib-2.0
573s build (gio, dynamic): OK
573s run (gio, dynamic): OK
573s build (gio-unix, dynamic): OK
573s + echo build (gio-unix, dynamic): OK
573s + [ -x gio-unix-dynamic ]
573s + foo=bar ./gio-unix-dynamic
573s + echo run (gio-unix, dynamic): OK
573s + cflags=
573s + pcflags=
573s + packages=gmodule-2.0
573s + pkg-config --cflags --libs gmodule-2.0
573s run (gio-unix, dynamic): OK
573s + gcc -o gmodule-dynamic gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lglib-2.0
573s + echo build (gmodule, dynamic): OK
573s + [ -x gmodule-dynamic ]
573s + foo=bar ./gmodule-dynamic
573s + echo run (gmodule, dynamic): OK
573s + cflags=
573s + pcflags=
573s + packages=gthread-2.0
573s + pkg-config --cflags --libs gthread-2.0
573s + gcc -o gthread-dynamic gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0
573s build (gmodule, dynamic): OK
573s run (gmodule, dynamic): OK
573s + echo build (gthread, dynamic): OK
573s + [ -x gthread-dynamic ]
573s + foo=bar ./gthread-dynamic
573s build (gthread, dynamic): OK
573s run (gthread, dynamic): OK
573s + echo run (gthread, dynamic): OK
573s + rm -rf /tmp/tmp.dGX1J9Xcf7
573s + debian/tests/build-static
573s + mode=dynamic
573s + getopt -o --long static -n debian/tests/build -- --static
573s + getopt_temp= --static --
573s + eval set -- --static --
573s + set -- --static --
573s + true
573s + mode=static
573s + shift
573s + continue
573s + true
573s + shift
573s + break
573s + mktemp -d
573s + WORKDIR=/tmp/tmp.hXvBJtvTmu
573s + trap rm -rf "${WORKDIR}" 0 INT QUIT ABRT PIPE TERM
573s + cd /tmp/tmp.hXvBJtvTmu
573s + [ -n ]
573s + CROSS_COMPILE=
573s + cat
573s + cat
573s + cat
573s + cat
573s + cat
573s + cat
573s + cflags=
573s + pcflags=
573s + packages=glib-2.0
573s + cflags=-static
573s + pcflags=--static
573s + pkg-config --static --cflags --libs glib-2.0
573s + gcc -static -o glib-static glib.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
573s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
573s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s build (glib, static): OK
573s run (glib, static): OK
573s + echo build (glib, static): OK
573s + [ -x glib-static ]
573s + foo=bar ./glib-static
573s + echo run (glib, static): OK
573s + cflags=
573s + pcflags=
573s + packages=gobject-2.0
573s + cflags=-static
573s + pcflags=--static
573s + pkg-config --static --cflags --libs gobject-2.0
573s + gcc -static -o gobject-static gobject.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgobject-2.0 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lffi
573s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
573s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s + echo build (gobject, static): OK
573s + [ -x gobject-static ]
573s + foo=bar ./gobject-static
573s + echo run (gobject, static): OK
573s + cflags=
573s + pcflags=
573s + packages=gio-2.0
573s + build (gobject, static): OK
573s run (gobject, static): OK
573s cflags=-static
573s + pcflags=--static
573s + continue
573s + cflags=
573s + pcflags=
573s + packages=gio-unix-2.0
573s + cflags=-static
573s + pcflags=--static
573s + continue
573s + cflags=
573s + pcflags=
573s + packages=gmodule-2.0
573s + cflags=-static
573s + pcflags=--static
573s + pkg-config --static --cflags --libs gmodule-2.0
573s + gcc -static -o gmodule-static gmodule.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8 -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
573s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libgmodule-2.0.a(gmodule.c.o): in function `g_module_open_full':
573s (.text+0x64a): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
573s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
573s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
574s + echo build (gmodule, static): OK
574s + [ -x gmodule-static ]
574s + foo=bar ./gmodule-static
574s + echo run (gmodule, static): OK
574s + cflags=
574s + pcflags=
574s + packages=gthread-2.0
574s + cflags=-static
574s + pcflags=--static
574s build (gmodule, static): OK
574s run (gmodule, static): OK
574s + pkg-config --static --cflags --libs gthread-2.0
574s + gcc -static -o gthread-static gthread.c -I/usr/include/glib-2.0 -I/usr/lib/s390x-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -pthread -lgthread-2.0 -pthread -lglib-2.0 -latomic -lm -pthread -lsysprof-capture-4 -pthread -lpcre2-8
574s /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/../../../s390x-linux-gnu/libglib-2.0.a(gutils.c.o): in function `g_get_user_database_entry':
574s (.text+0xe8): warning: Using 'getpwnam_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
574s /usr/bin/ld: (.text+0x2a6): warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
574s /usr/bin/ld: (.text+0x126): warning: Using 'getpwuid_r' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
574s + echo build (gthread, static): OK
574s + [ -x gthread-static ]
574s + foo=bar ./gthread-static
574s build (gthread, static): OK
574s + echo run (gthread, static): OK
574s + rm -rf /tmp/tmp.hXvBJtvTmu
574s run (gthread, static): OK
574s + debian/tests/girepository-tools
574s + cd /tmp/autopkgtest.rl0bd8/autopkgtest_tmp
574s + dpkg-architecture -qDEB_HOST_GNU_TYPE
574s + DEB_HOST_GNU_TYPE=s390x-linux-gnu
574s + dpkg-architecture -qDEB_HOST_MULTIARCH
574s + DEB_HOST_MULTIARCH=s390x-linux-gnu
574s + s390x-linux-gnu-gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
574s + s390x-linux-gnu-gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir
574s typelib: GLib-2.0
574s + s390x-linux-gnu-gi-decompile-typelib -o GLib.gir GLib.typelib
574s + debian/tests/libgio-2.0-dev-bin
574s + gdbus-codegen --help
574s usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
574s [--c-namespace NAMESPACE] [--c-generate-object-manager]
574s [--c-generate-autocleanup {none,objects,all}]
574s [--generate-docbook OUTFILES] [--generate-md OUTFILES]
574s [--generate-rst OUTFILES] [--pragma-once]
574s [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
574s [--glib-min-required VERSION]
574s [--glib-max-allowed VERSION]
574s [--symbol-decorator SYMBOL_DECORATOR]
574s [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
574s [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
574s [--generate-c-code OUTFILES | --header | --body |
574s --interface-info-header | --interface-info-body]
574s [--output FILE | --output-directory OUTDIR]
574s FILE [FILE ...]
574s
574s D-Bus code and documentation generator
574s
574s positional arguments:
574s FILE D-Bus introspection XML file
574s
574s options:
574s -h, --help show this help message and exit
574s --interface-prefix PREFIX
574s String to strip from D-Bus interface names for code
574s and docs
574s --c-namespace NAMESPACE
574s The namespace to use for generated C code
574s --c-generate-object-manager
574s Generate a GDBusObjectManagerClient subclass when
574s generating C code
574s --c-generate-autocleanup {none,objects,all}
574s Generate autocleanup support
574s --generate-docbook OUTFILES
574s Generate Docbook in OUTFILES-org.Project.IFace.xml
574s --generate-md OUTFILES
574s Generate Markdown in OUTFILES-org.Project.IFace.md
574s --generate-rst OUTFILES
574s Generate reStructuredText in OUTFILES-
574s org.Project.IFace.rst
574s --pragma-once Use "pragma once" as the inclusion guard
574s --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
574s Add annotation (may be used several times)
574s --glib-min-required VERSION
574s Minimum version of GLib to be supported by the
574s outputted code (default: 2.30)
574s --glib-max-allowed VERSION
574s Maximum version of GLib to be used by the outputted
574s code (default: current GLib version)
574s --symbol-decorator SYMBOL_DECORATOR
574s Macro used to decorate a symbol in the outputted
574s header, possibly to export symbols
574s --symbol-decorator-header SYMBOL_DECORATOR_HEADER
574s Additional header required for decorator specified by
574s --symbol-decorator
574s --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
574s Additional define required for decorator specified by
574s --symbol-decorator
574s --generate-c-code OUTFILES
574s Generate C code in OUTFILES.[ch]
574s --header Generate C headers
574s --body Generate C code
574s --interface-info-header
574s Generate GDBusInterfaceInfo C header
574s --interface-info-body
574s Generate GDBusInterfaceInfo C code
574s --output FILE Write output into the specified file
574s --output-directory OUTDIR
574s Location to output generated files
574s + glib-compile-resources --version
574s 2.84.1
574s + glib-genmarshal --version
574s glib-genmarshal version 2.84.1
574s glib-genmarshal comes with ABSOLUTELY NO WARRANTY.
574s You may redistribute copies of glib-genmarshal under the terms of
574s the GNU General Public License which can be found in the
574s GLib source package. Sources, examples and contact
574s information are available at http://www.gtk.org
574s + glib-gettextize --version
574s /usr/bin/glib-gettextize (GNU glib) 2.84.1
574s Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc.
574s This is free software; see the source for copying conditions. There is NO
574s warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
574s Written by Ulrich Drepper
574s + glib-mkenums --version
574s glib-mkenums version 2.84.1
574s glib-mkenums comes with ABSOLUTELY NO WARRANTY.
574s You may redistribute copies of glib-mkenums under the terms of
574s the GNU General Public License which can be found in the
574s GLib source package. Sources, examples and contact
574s information are available at http://www.gtk.org
574s + gobject-query tree
574s GObject
574s + gtester --version
574s gtester version 2.84.1
574s + gtester-report --version
574s gtester-report (GLib utils) version 2.84.1.
574s + cd /tmp/autopkgtest.rl0bd8/autopkgtest_tmp
574s + dpkg-architecture -qDEB_HOST_MULTIARCH
574s + DEB_HOST_MULTIARCH=s390x-linux-gnu
574s + gi-inspect-typelib --print-typelibs --typelib-version=2.0 GObject
574s + gi-compile-repository -o GLib.typelib /usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir
574s typelib: GLib-2.0
574s + gi-decompile-typelib -o GLib.gir GLib.typelib
574s autopkgtest [09:33:36]: test libglib2.0-dev: -----------------------]
575s libglib2.0-dev PASS (superficial)
575s autopkgtest [09:33:37]: test libglib2.0-dev: - - - - - - - - - - results - - - - - - - - - -
575s autopkgtest [09:33:37]: test installed-tests: preparing testbed
663s autopkgtest [09:35:05]: testbed dpkg architecture: s390x
663s autopkgtest [09:35:05]: testbed apt version: 3.0.0
663s autopkgtest [09:35:05]: @@@@@@@@@@@@@@@@@@@@ test bed setup
663s autopkgtest [09:35:05]: testbed release detected to be: questing
664s autopkgtest [09:35:06]: updating testbed package index (apt update)
664s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB]
665s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease
665s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease
665s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease
665s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [175 kB]
665s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB]
665s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2076 kB]
665s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [208 kB]
665s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [1079 kB]
666s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [9148 B]
666s Fetched 3701 kB in 1s (2631 kB/s)
667s Reading package lists...
667s autopkgtest [09:35:09]: upgrading testbed (apt dist-upgrade and autopurge)
668s Reading package lists...
668s Building dependency tree...
668s Reading state information...
668s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
668s Starting 2 pkgProblemResolver with broken count: 0
668s Done
669s Entering ResolveByKeep
670s
670s Calculating upgrade...
670s The following packages will be upgraded:
670s htop libpython3.13 libpython3.13-minimal libpython3.13-stdlib nano
670s python3.13 python3.13-gdbm python3.13-minimal
671s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
671s Need to get 9090 kB of archives.
671s After this operation, 7168 B of additional disk space will be used.
671s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13 s390x 3.13.3-2 [739 kB]
671s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13 s390x 3.13.3-2 [2517 kB]
671s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-stdlib s390x 3.13.3-2 [2054 kB]
672s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-minimal s390x 3.13.3-2 [2377 kB]
672s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-minimal s390x 3.13.3-2 [883 kB]
672s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x nano s390x 8.4-1 [299 kB]
672s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x htop s390x 3.4.1-4 [189 kB]
672s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-gdbm s390x 3.13.3-2 [31.8 kB]
673s Fetched 9090 kB in 2s (5738 kB/s)
675s (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 ... 81472 files and directories currently installed.)
675s Preparing to unpack .../0-python3.13_3.13.3-2_s390x.deb ...
675s Unpacking python3.13 (3.13.3-2) over (3.13.3-1) ...
675s Preparing to unpack .../1-libpython3.13_3.13.3-2_s390x.deb ...
675s Unpacking libpython3.13:s390x (3.13.3-2) over (3.13.3-1) ...
675s Preparing to unpack .../2-libpython3.13-stdlib_3.13.3-2_s390x.deb ...
675s Unpacking libpython3.13-stdlib:s390x (3.13.3-2) over (3.13.3-1) ...
675s Preparing to unpack .../3-python3.13-minimal_3.13.3-2_s390x.deb ...
675s Unpacking python3.13-minimal (3.13.3-2) over (3.13.3-1) ...
675s Preparing to unpack .../4-libpython3.13-minimal_3.13.3-2_s390x.deb ...
675s Unpacking libpython3.13-minimal:s390x (3.13.3-2) over (3.13.3-1) ...
675s Preparing to unpack .../5-nano_8.4-1_s390x.deb ...
675s Unpacking nano (8.4-1) over (8.3-1) ...
676s Preparing to unpack .../6-htop_3.4.1-4_s390x.deb ...
676s Unpacking htop (3.4.1-4) over (3.4.0-2) ...
676s Preparing to unpack .../7-python3.13-gdbm_3.13.3-2_s390x.deb ...
676s Unpacking python3.13-gdbm (3.13.3-2) over (3.13.3-1) ...
676s Setting up htop (3.4.1-4) ...
676s Setting up libpython3.13-minimal:s390x (3.13.3-2) ...
676s Setting up nano (8.4-1) ...
676s Installing new version of config file /etc/nanorc ...
676s Setting up python3.13-minimal (3.13.3-2) ...
676s Setting up libpython3.13-stdlib:s390x (3.13.3-2) ...
676s Setting up python3.13-gdbm (3.13.3-2) ...
676s Setting up libpython3.13:s390x (3.13.3-2) ...
677s Setting up python3.13 (3.13.3-2) ...
677s Processing triggers for systemd (257.4-1ubuntu3) ...
678s Processing triggers for man-db (2.13.0-1) ...
680s Processing triggers for install-info (7.1.1-1) ...
680s Processing triggers for libc-bin (2.41-6ubuntu1) ...
680s Reading package lists...
681s Building dependency tree...
681s Reading state information...
681s Starting pkgProblemResolver with broken count: 0
681s Starting 2 pkgProblemResolver with broken count: 0
681s Done
681s Solving dependencies...
681s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
684s Reading package lists...
685s Building dependency tree...
685s Reading state information...
685s Starting pkgProblemResolver with broken count: 0
685s Starting 2 pkgProblemResolver with broken count: 0
685s Done
686s The following NEW packages will be installed:
686s dbus-x11 desktop-file-utils gir1.2-glib-2.0-dev girepository-tools
686s gnome-desktop-testing libfontenc1 libfreetype6 libgbm1 libgio-2.0-dev-bin
686s libgirepository-2.0-0 libgl1 libgl1-mesa-dri libglib2.0-bin
686s libglib2.0-dev-bin libglib2.0-tests libglvnd0 libglx-mesa0 libglx0 libice6
686s libpixman-1-0 libsm6 libvulkan1 libwayland-server0 libx11-xcb1 libxaw7
686s libxcb-dri3-0 libxcb-glx0 libxcb-present0 libxcb-randr0 libxcb-shm0
686s libxcb-sync1 libxcb-xfixes0 libxfont2 libxkbfile1 libxmu6 libxpm4 libxrandr2
686s libxrender1 libxshmfence1 libxt6t64 libxxf86vm1 mesa-libgallium
686s native-architecture python3-dbusmock python3-packaging tzdata-legacy
686s x11-common x11-xkb-utils xserver-common xvfb
686s 0 upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
686s Need to get 15.3 MB of archives.
686s After this operation, 73.8 MB of additional disk space will be used.
686s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x dbus-x11 s390x 1.16.2-2ubuntu1 [23.8 kB]
686s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x desktop-file-utils s390x 0.28-1 [53.9 kB]
686s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x gir1.2-glib-2.0-dev s390x 2.84.1-1 [862 kB]
686s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x native-architecture all 0.2.6 [2140 B]
686s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x libgirepository-2.0-0 s390x 2.84.1-1 [75.5 kB]
686s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x girepository-tools s390x 2.84.1-1 [115 kB]
686s Get:7 http://ftpmaster.internal/ubuntu questing/universe s390x gnome-desktop-testing s390x 2021.1-4 [16.6 kB]
686s Get:8 http://ftpmaster.internal/ubuntu questing/main s390x libfontenc1 s390x 1:1.1.8-1build1 [14.8 kB]
686s Get:9 http://ftpmaster.internal/ubuntu questing/main s390x libfreetype6 s390x 2.13.3+dfsg-1 [431 kB]
686s Get:10 http://ftpmaster.internal/ubuntu questing/main s390x libwayland-server0 s390x 1.23.1-3 [37.3 kB]
686s Get:11 http://ftpmaster.internal/ubuntu questing/main s390x libx11-xcb1 s390x 2:1.8.10-2 [7954 B]
686s Get:12 http://ftpmaster.internal/ubuntu questing/main s390x libxcb-dri3-0 s390x 1.17.0-2 [7616 B]
686s Get:13 http://ftpmaster.internal/ubuntu questing/main s390x libxcb-present0 s390x 1.17.0-2 [6244 B]
686s Get:14 http://ftpmaster.internal/ubuntu questing/main s390x libxcb-randr0 s390x 1.17.0-2 [19.2 kB]
686s Get:15 http://ftpmaster.internal/ubuntu questing/main s390x libxcb-sync1 s390x 1.17.0-2 [9488 B]
686s Get:16 http://ftpmaster.internal/ubuntu questing/main s390x libxcb-xfixes0 s390x 1.17.0-2 [10.5 kB]
686s Get:17 http://ftpmaster.internal/ubuntu questing/main s390x libxshmfence1 s390x 1.3-1build5 [4772 B]
686s Get:18 http://ftpmaster.internal/ubuntu questing/main s390x mesa-libgallium s390x 25.0.3-1ubuntu2 [8057 kB]
687s Get:19 http://ftpmaster.internal/ubuntu questing/main s390x libgbm1 s390x 25.0.3-1ubuntu2 [34.5 kB]
687s Get:20 http://ftpmaster.internal/ubuntu questing/main s390x python3-packaging all 24.2-1 [51.5 kB]
687s Get:21 http://ftpmaster.internal/ubuntu questing/main s390x libgio-2.0-dev-bin s390x 2.84.1-1 [129 kB]
687s Get:22 http://ftpmaster.internal/ubuntu questing/main s390x libvulkan1 s390x 1.4.304.0-1 [147 kB]
687s Get:23 http://ftpmaster.internal/ubuntu questing/main s390x libgl1-mesa-dri s390x 25.0.3-1ubuntu2 [35.5 kB]
687s Get:24 http://ftpmaster.internal/ubuntu questing/main s390x libglib2.0-bin s390x 2.84.1-1 [99.7 kB]
687s Get:25 http://ftpmaster.internal/ubuntu questing/main s390x libglib2.0-dev-bin s390x 2.84.1-1 [18.1 kB]
687s Get:26 http://ftpmaster.internal/ubuntu questing/universe s390x python3-dbusmock all 0.34.3-1 [92.4 kB]
687s Get:27 http://ftpmaster.internal/ubuntu questing/main s390x tzdata-legacy all 2025b-1ubuntu1 [99.2 kB]
687s Get:28 http://ftpmaster.internal/ubuntu questing/universe s390x libglib2.0-tests s390x 2.84.1-1 [2213 kB]
687s Get:29 http://ftpmaster.internal/ubuntu questing/main s390x libxcb-glx0 s390x 1.17.0-2 [26.0 kB]
687s Get:30 http://ftpmaster.internal/ubuntu questing/main s390x libxcb-shm0 s390x 1.17.0-2 [5862 B]
687s Get:31 http://ftpmaster.internal/ubuntu questing/main s390x libxxf86vm1 s390x 1:1.1.4-1build4 [9630 B]
687s Get:32 http://ftpmaster.internal/ubuntu questing/main s390x libglx-mesa0 s390x 25.0.3-1ubuntu2 [161 kB]
687s Get:33 http://ftpmaster.internal/ubuntu questing/main s390x x11-common all 1:7.7+23ubuntu4 [21.8 kB]
687s Get:34 http://ftpmaster.internal/ubuntu questing/main s390x libice6 s390x 2:1.1.1-1 [45.4 kB]
687s Get:35 http://ftpmaster.internal/ubuntu questing/main s390x libpixman-1-0 s390x 0.44.0-3 [201 kB]
687s Get:36 http://ftpmaster.internal/ubuntu questing/main s390x libsm6 s390x 2:1.2.4-1 [18.4 kB]
687s Get:37 http://ftpmaster.internal/ubuntu questing/main s390x libxt6t64 s390x 1:1.2.1-1.2build1 [184 kB]
687s Get:38 http://ftpmaster.internal/ubuntu questing/main s390x libxmu6 s390x 2:1.1.3-3build2 [53.0 kB]
687s Get:39 http://ftpmaster.internal/ubuntu questing/main s390x libxpm4 s390x 1:3.5.17-1build2 [41.2 kB]
687s Get:40 http://ftpmaster.internal/ubuntu questing/main s390x libxaw7 s390x 2:1.0.16-1 [201 kB]
687s Get:41 http://ftpmaster.internal/ubuntu questing/main s390x libxfont2 s390x 1:2.0.6-1build1 [101 kB]
687s Get:42 http://ftpmaster.internal/ubuntu questing/main s390x libxkbfile1 s390x 1:1.1.0-1build4 [76.5 kB]
687s Get:43 http://ftpmaster.internal/ubuntu questing/main s390x libxrender1 s390x 1:0.9.10-1.1build1 [20.4 kB]
687s Get:44 http://ftpmaster.internal/ubuntu questing/main s390x libxrandr2 s390x 2:1.5.4-1 [20.8 kB]
687s Get:45 http://ftpmaster.internal/ubuntu questing/main s390x x11-xkb-utils s390x 7.7+9 [169 kB]
687s Get:46 http://ftpmaster.internal/ubuntu questing/main s390x xserver-common all 2:21.1.16-1ubuntu1 [34.4 kB]
687s Get:47 http://ftpmaster.internal/ubuntu questing/main s390x libglvnd0 s390x 1.7.0-1build1 [110 kB]
687s Get:48 http://ftpmaster.internal/ubuntu questing/main s390x libglx0 s390x 1.7.0-1build1 [32.2 kB]
687s Get:49 http://ftpmaster.internal/ubuntu questing/main s390x libgl1 s390x 1.7.0-1build1 [142 kB]
687s Get:50 http://ftpmaster.internal/ubuntu questing/universe s390x xvfb s390x 2:21.1.16-1ubuntu1 [942 kB]
688s Fetched 15.3 MB in 2s (8085 kB/s)
688s Selecting previously unselected package dbus-x11.
688s (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 ... 81472 files and directories currently installed.)
688s Preparing to unpack .../00-dbus-x11_1.16.2-2ubuntu1_s390x.deb ...
688s Unpacking dbus-x11 (1.16.2-2ubuntu1) ...
688s Selecting previously unselected package desktop-file-utils.
688s Preparing to unpack .../01-desktop-file-utils_0.28-1_s390x.deb ...
688s Unpacking desktop-file-utils (0.28-1) ...
688s Selecting previously unselected package gir1.2-glib-2.0-dev:s390x.
688s Preparing to unpack .../02-gir1.2-glib-2.0-dev_2.84.1-1_s390x.deb ...
688s Unpacking gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
688s Selecting previously unselected package native-architecture.
688s Preparing to unpack .../03-native-architecture_0.2.6_all.deb ...
688s Unpacking native-architecture (0.2.6) ...
688s Selecting previously unselected package libgirepository-2.0-0:s390x.
688s Preparing to unpack .../04-libgirepository-2.0-0_2.84.1-1_s390x.deb ...
688s Unpacking libgirepository-2.0-0:s390x (2.84.1-1) ...
688s Selecting previously unselected package girepository-tools:s390x.
688s Preparing to unpack .../05-girepository-tools_2.84.1-1_s390x.deb ...
688s Unpacking girepository-tools:s390x (2.84.1-1) ...
688s Selecting previously unselected package gnome-desktop-testing.
688s Preparing to unpack .../06-gnome-desktop-testing_2021.1-4_s390x.deb ...
688s Unpacking gnome-desktop-testing (2021.1-4) ...
688s Selecting previously unselected package libfontenc1:s390x.
688s Preparing to unpack .../07-libfontenc1_1%3a1.1.8-1build1_s390x.deb ...
688s Unpacking libfontenc1:s390x (1:1.1.8-1build1) ...
688s Selecting previously unselected package libfreetype6:s390x.
688s Preparing to unpack .../08-libfreetype6_2.13.3+dfsg-1_s390x.deb ...
688s Unpacking libfreetype6:s390x (2.13.3+dfsg-1) ...
688s Selecting previously unselected package libwayland-server0:s390x.
688s Preparing to unpack .../09-libwayland-server0_1.23.1-3_s390x.deb ...
688s Unpacking libwayland-server0:s390x (1.23.1-3) ...
688s Selecting previously unselected package libx11-xcb1:s390x.
688s Preparing to unpack .../10-libx11-xcb1_2%3a1.8.10-2_s390x.deb ...
688s Unpacking libx11-xcb1:s390x (2:1.8.10-2) ...
688s Selecting previously unselected package libxcb-dri3-0:s390x.
688s Preparing to unpack .../11-libxcb-dri3-0_1.17.0-2_s390x.deb ...
688s Unpacking libxcb-dri3-0:s390x (1.17.0-2) ...
688s Selecting previously unselected package libxcb-present0:s390x.
688s Preparing to unpack .../12-libxcb-present0_1.17.0-2_s390x.deb ...
688s Unpacking libxcb-present0:s390x (1.17.0-2) ...
688s Selecting previously unselected package libxcb-randr0:s390x.
688s Preparing to unpack .../13-libxcb-randr0_1.17.0-2_s390x.deb ...
688s Unpacking libxcb-randr0:s390x (1.17.0-2) ...
688s Selecting previously unselected package libxcb-sync1:s390x.
688s Preparing to unpack .../14-libxcb-sync1_1.17.0-2_s390x.deb ...
688s Unpacking libxcb-sync1:s390x (1.17.0-2) ...
688s Selecting previously unselected package libxcb-xfixes0:s390x.
688s Preparing to unpack .../15-libxcb-xfixes0_1.17.0-2_s390x.deb ...
688s Unpacking libxcb-xfixes0:s390x (1.17.0-2) ...
688s Selecting previously unselected package libxshmfence1:s390x.
688s Preparing to unpack .../16-libxshmfence1_1.3-1build5_s390x.deb ...
688s Unpacking libxshmfence1:s390x (1.3-1build5) ...
688s Selecting previously unselected package mesa-libgallium:s390x.
688s Preparing to unpack .../17-mesa-libgallium_25.0.3-1ubuntu2_s390x.deb ...
688s Unpacking mesa-libgallium:s390x (25.0.3-1ubuntu2) ...
688s Selecting previously unselected package libgbm1:s390x.
688s Preparing to unpack .../18-libgbm1_25.0.3-1ubuntu2_s390x.deb ...
688s Unpacking libgbm1:s390x (25.0.3-1ubuntu2) ...
688s Selecting previously unselected package python3-packaging.
688s Preparing to unpack .../19-python3-packaging_24.2-1_all.deb ...
688s Unpacking python3-packaging (24.2-1) ...
688s Selecting previously unselected package libgio-2.0-dev-bin.
688s Preparing to unpack .../20-libgio-2.0-dev-bin_2.84.1-1_s390x.deb ...
688s Unpacking libgio-2.0-dev-bin (2.84.1-1) ...
688s Selecting previously unselected package libvulkan1:s390x.
688s Preparing to unpack .../21-libvulkan1_1.4.304.0-1_s390x.deb ...
688s Unpacking libvulkan1:s390x (1.4.304.0-1) ...
688s Selecting previously unselected package libgl1-mesa-dri:s390x.
688s Preparing to unpack .../22-libgl1-mesa-dri_25.0.3-1ubuntu2_s390x.deb ...
688s Unpacking libgl1-mesa-dri:s390x (25.0.3-1ubuntu2) ...
688s Selecting previously unselected package libglib2.0-bin.
688s Preparing to unpack .../23-libglib2.0-bin_2.84.1-1_s390x.deb ...
688s Unpacking libglib2.0-bin (2.84.1-1) ...
688s Selecting previously unselected package libglib2.0-dev-bin.
688s Preparing to unpack .../24-libglib2.0-dev-bin_2.84.1-1_s390x.deb ...
688s Unpacking libglib2.0-dev-bin (2.84.1-1) ...
688s Selecting previously unselected package python3-dbusmock.
688s Preparing to unpack .../25-python3-dbusmock_0.34.3-1_all.deb ...
688s Unpacking python3-dbusmock (0.34.3-1) ...
688s Selecting previously unselected package tzdata-legacy.
688s Preparing to unpack .../26-tzdata-legacy_2025b-1ubuntu1_all.deb ...
688s Unpacking tzdata-legacy (2025b-1ubuntu1) ...
689s Selecting previously unselected package libglib2.0-tests.
689s Preparing to unpack .../27-libglib2.0-tests_2.84.1-1_s390x.deb ...
689s Unpacking libglib2.0-tests (2.84.1-1) ...
689s Selecting previously unselected package libxcb-glx0:s390x.
689s Preparing to unpack .../28-libxcb-glx0_1.17.0-2_s390x.deb ...
689s Unpacking libxcb-glx0:s390x (1.17.0-2) ...
689s Selecting previously unselected package libxcb-shm0:s390x.
689s Preparing to unpack .../29-libxcb-shm0_1.17.0-2_s390x.deb ...
689s Unpacking libxcb-shm0:s390x (1.17.0-2) ...
689s Selecting previously unselected package libxxf86vm1:s390x.
689s Preparing to unpack .../30-libxxf86vm1_1%3a1.1.4-1build4_s390x.deb ...
689s Unpacking libxxf86vm1:s390x (1:1.1.4-1build4) ...
689s Selecting previously unselected package libglx-mesa0:s390x.
689s Preparing to unpack .../31-libglx-mesa0_25.0.3-1ubuntu2_s390x.deb ...
689s Unpacking libglx-mesa0:s390x (25.0.3-1ubuntu2) ...
689s Selecting previously unselected package x11-common.
689s Preparing to unpack .../32-x11-common_1%3a7.7+23ubuntu4_all.deb ...
689s Unpacking x11-common (1:7.7+23ubuntu4) ...
689s Selecting previously unselected package libice6:s390x.
689s Preparing to unpack .../33-libice6_2%3a1.1.1-1_s390x.deb ...
689s Unpacking libice6:s390x (2:1.1.1-1) ...
689s Selecting previously unselected package libpixman-1-0:s390x.
689s Preparing to unpack .../34-libpixman-1-0_0.44.0-3_s390x.deb ...
689s Unpacking libpixman-1-0:s390x (0.44.0-3) ...
689s Selecting previously unselected package libsm6:s390x.
689s Preparing to unpack .../35-libsm6_2%3a1.2.4-1_s390x.deb ...
689s Unpacking libsm6:s390x (2:1.2.4-1) ...
689s Selecting previously unselected package libxt6t64:s390x.
689s Preparing to unpack .../36-libxt6t64_1%3a1.2.1-1.2build1_s390x.deb ...
689s Unpacking libxt6t64:s390x (1:1.2.1-1.2build1) ...
689s Selecting previously unselected package libxmu6:s390x.
689s Preparing to unpack .../37-libxmu6_2%3a1.1.3-3build2_s390x.deb ...
689s Unpacking libxmu6:s390x (2:1.1.3-3build2) ...
689s Selecting previously unselected package libxpm4:s390x.
689s Preparing to unpack .../38-libxpm4_1%3a3.5.17-1build2_s390x.deb ...
689s Unpacking libxpm4:s390x (1:3.5.17-1build2) ...
689s Selecting previously unselected package libxaw7:s390x.
689s Preparing to unpack .../39-libxaw7_2%3a1.0.16-1_s390x.deb ...
689s Unpacking libxaw7:s390x (2:1.0.16-1) ...
689s Selecting previously unselected package libxfont2:s390x.
689s Preparing to unpack .../40-libxfont2_1%3a2.0.6-1build1_s390x.deb ...
689s Unpacking libxfont2:s390x (1:2.0.6-1build1) ...
689s Selecting previously unselected package libxkbfile1:s390x.
689s Preparing to unpack .../41-libxkbfile1_1%3a1.1.0-1build4_s390x.deb ...
689s Unpacking libxkbfile1:s390x (1:1.1.0-1build4) ...
689s Selecting previously unselected package libxrender1:s390x.
689s Preparing to unpack .../42-libxrender1_1%3a0.9.10-1.1build1_s390x.deb ...
689s Unpacking libxrender1:s390x (1:0.9.10-1.1build1) ...
689s Selecting previously unselected package libxrandr2:s390x.
689s Preparing to unpack .../43-libxrandr2_2%3a1.5.4-1_s390x.deb ...
689s Unpacking libxrandr2:s390x (2:1.5.4-1) ...
689s Selecting previously unselected package x11-xkb-utils.
689s Preparing to unpack .../44-x11-xkb-utils_7.7+9_s390x.deb ...
689s Unpacking x11-xkb-utils (7.7+9) ...
689s Selecting previously unselected package xserver-common.
689s Preparing to unpack .../45-xserver-common_2%3a21.1.16-1ubuntu1_all.deb ...
689s Unpacking xserver-common (2:21.1.16-1ubuntu1) ...
689s Selecting previously unselected package libglvnd0:s390x.
689s Preparing to unpack .../46-libglvnd0_1.7.0-1build1_s390x.deb ...
689s Unpacking libglvnd0:s390x (1.7.0-1build1) ...
689s Selecting previously unselected package libglx0:s390x.
689s Preparing to unpack .../47-libglx0_1.7.0-1build1_s390x.deb ...
689s Unpacking libglx0:s390x (1.7.0-1build1) ...
689s Selecting previously unselected package libgl1:s390x.
689s Preparing to unpack .../48-libgl1_1.7.0-1build1_s390x.deb ...
689s Unpacking libgl1:s390x (1.7.0-1build1) ...
689s Selecting previously unselected package xvfb.
689s Preparing to unpack .../49-xvfb_2%3a21.1.16-1ubuntu1_s390x.deb ...
689s Unpacking xvfb (2:21.1.16-1ubuntu1) ...
689s Setting up gnome-desktop-testing (2021.1-4) ...
689s Setting up libxcb-dri3-0:s390x (1.17.0-2) ...
689s Setting up libpixman-1-0:s390x (0.44.0-3) ...
689s Setting up libwayland-server0:s390x (1.23.1-3) ...
689s Setting up libx11-xcb1:s390x (2:1.8.10-2) ...
689s Setting up native-architecture (0.2.6) ...
689s Setting up libxcb-xfixes0:s390x (1.17.0-2) ...
689s Setting up desktop-file-utils (0.28-1) ...
689s Setting up libxpm4:s390x (1:3.5.17-1build2) ...
689s Setting up libxrender1:s390x (1:0.9.10-1.1build1) ...
689s Setting up libgirepository-2.0-0:s390x (2.84.1-1) ...
689s Setting up libglvnd0:s390x (1.7.0-1build1) ...
689s Setting up libxcb-glx0:s390x (1.17.0-2) ...
689s Setting up x11-common (1:7.7+23ubuntu4) ...
689s Setting up libglib2.0-bin (2.84.1-1) ...
689s Setting up libxcb-shm0:s390x (1.17.0-2) ...
689s Setting up python3-dbusmock (0.34.3-1) ...
689s Setting up tzdata-legacy (2025b-1ubuntu1) ...
689s Setting up libxxf86vm1:s390x (1:1.1.4-1build4) ...
689s Setting up libxcb-present0:s390x (1.17.0-2) ...
690s Setting up libfontenc1:s390x (1:1.1.8-1build1) ...
690s Setting up python3-packaging (24.2-1) ...
690s Setting up libfreetype6:s390x (2.13.3+dfsg-1) ...
690s Setting up libxcb-sync1:s390x (1.17.0-2) ...
690s Setting up libxrandr2:s390x (2:1.5.4-1) ...
690s Setting up libvulkan1:s390x (1.4.304.0-1) ...
690s Setting up gir1.2-glib-2.0-dev:s390x (2.84.1-1) ...
690s Setting up libxshmfence1:s390x (1.3-1build5) ...
690s Setting up dbus-x11 (1.16.2-2ubuntu1) ...
690s Setting up libxcb-randr0:s390x (1.17.0-2) ...
690s Setting up libxkbfile1:s390x (1:1.1.0-1build4) ...
690s Setting up libxfont2:s390x (1:2.0.6-1build1) ...
690s Setting up libice6:s390x (2:1.1.1-1) ...
690s Setting up mesa-libgallium:s390x (25.0.3-1ubuntu2) ...
690s Setting up libgio-2.0-dev-bin (2.84.1-1) ...
690s Setting up girepository-tools:s390x (2.84.1-1) ...
690s Setting up libgbm1:s390x (25.0.3-1ubuntu2) ...
690s Setting up libgl1-mesa-dri:s390x (25.0.3-1ubuntu2) ...
690s Setting up libsm6:s390x (2:1.2.4-1) ...
690s Setting up libglib2.0-dev-bin (2.84.1-1) ...
690s Setting up libglx-mesa0:s390x (25.0.3-1ubuntu2) ...
690s Setting up libglx0:s390x (1.7.0-1build1) ...
690s Setting up libgl1:s390x (1.7.0-1build1) ...
690s Setting up libxt6t64:s390x (1:1.2.1-1.2build1) ...
690s Setting up libglib2.0-tests (2.84.1-1) ...
690s Setting up libxmu6:s390x (2:1.1.3-3build2) ...
690s Setting up libxaw7:s390x (2:1.0.16-1) ...
690s Setting up x11-xkb-utils (7.7+9) ...
690s Setting up xserver-common (2:21.1.16-1ubuntu1) ...
690s Setting up xvfb (2:21.1.16-1ubuntu1) ...
690s Processing triggers for man-db (2.13.0-1) ...
690s Processing triggers for libc-bin (2.41-6ubuntu1) ...
705s autopkgtest [09:35:47]: test installed-tests: [-----------------------
706s Running as: uid=1000(ubuntu) gid=1000(ubuntu) groups=1000(ubuntu),4(adm),24(cdrom),27(sudo),30(dip),103(lxd),107(cpacfstats)
706s passwd entry: ubuntu:x:1000:1000:Ubuntu:/home/ubuntu:/bin/bash
706s group entry: ubuntu:x:1000:
706s Environment:
706s ADTTMP=/tmp/autopkgtest.rl0bd8/autopkgtest_tmp
706s ADT_ARTIFACTS=/tmp/autopkgtest.rl0bd8/installed-tests-artifacts
706s ADT_TEST_TRIGGERS=python3.13/3.13.3-2
706s AUTOPKGTEST_ARTIFACTS=/tmp/autopkgtest.rl0bd8/installed-tests-artifacts
706s AUTOPKGTEST_TESTBED_ARCH=s390x
706s AUTOPKGTEST_TEST_ARCH=s390x
706s AUTOPKGTEST_TMP=/tmp/autopkgtest.rl0bd8/autopkgtest_tmp
706s DEBIAN_FRONTEND=noninteractive
706s DEBUGINFOD_URLS=https://debuginfod.ubuntu.com
706s DEB_BUILD_OPTIONS=parallel=2
706s GIO_USE_VFS=local
706s GIO_USE_VOLUME_MONITOR=unix
706s HOME=/home/ubuntu
706s LANG=C.UTF-8
706s LOGNAME=ubuntu
706s MAIL=/var/mail/ubuntu
706s OLDPWD=/home/ubuntu
706s PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
706s PWD=/tmp/autopkgtest.rl0bd8/build.Tip/src
706s SHELL=/bin/bash
706s SHLVL=1
706s SUDO_COMMAND=/var/tmp/autopkgtest-run-wrapper su -s /bin/bash ubuntu -c set -e; exec /tmp/autopkgtest.rl0bd8/wrapper.sh --artifacts=/tmp/autopkgtest.rl0bd8/installed-tests-artifacts --chdir=/tmp/autopkgtest.rl0bd8/build.Tip/src --env=AUTOPKGTEST_TESTBED_ARCH=s390x --env=AUTOPKGTEST_TEST_ARCH=s390x --env=DEB_BUILD_OPTIONS=parallel=2 --env=DEBIAN_FRONTEND=noninteractive --env=LANG=C.UTF-8 --unset-env=LANGUAGE --unset-env=LC_ADDRESS --unset-env=LC_ALL --unset-env=LC_COLLATE --unset-env=LC_CTYPE --unset-env=LC_IDENTIFICATION --unset-env=LC_MEASUREMENT --unset-env=LC_MESSAGES --unset-env=LC_MONETARY --unset-env=LC_NAME --unset-env=LC_NUMERIC --unset-env=LC_PAPER --unset-env=LC_TELEPHONE --unset-env=LC_TIME --script-pid-file=/tmp/autopkgtest_script_pid --source-profile --stderr=/tmp/autopkgtest.rl0bd8/installed-tests-stderr --stdout=/tmp/autopkgtest.rl0bd8/installed-tests-stdout --tmp=/tmp/autopkgtest.rl0bd8/autopkgtest_tmp --env=ADT_TEST_TRIGGERS=python3.13/3.13.3-2 --make-executable=/tmp/autopkgtest.rl0bd8/build.Tip/src/debian/tests/installed-tests -- /tmp/autopkgtest.rl0bd8/build.Tip/src/debian/tests/installed-tests
706s SUDO_GID=1000
706s SUDO_HOME=/home/ubuntu
706s SUDO_UID=1000
706s SUDO_USER=ubuntu
706s TERM=linux
706s USER=ubuntu
706s XDG_RUNTIME_DIR=/tmp/autopkgtest.rl0bd8/autopkgtest_tmp
706s http_proxy=http://squid.internal:3128/
706s https_proxy=http://squid.internal:3128/
706s no_proxy=127.0.0.1,127.0.1.1,localhost,localdomain,internal,login.ubuntu.com,archive.ubuntu.com,ports.ubuntu.com,security.ubuntu.com,ddebs.ubuntu.com,changelogs.ubuntu.com,keyserver.ubuntu.com,launchpadlibrarian.net,launchpadcontent.net,launchpad.net
706s run-with-locales: de_DE=ISO-8859-1...
706s Character set: ISO-8859-1
706s Source file: de_DE
706s Output: /tmp/tmp.qhvgLjSzhL/de_DE
707s run-with-locales: de_DE.utf8...
707s Character set: UTF-8
707s Source file: de_DE
707s Output: /tmp/tmp.qhvgLjSzhL/de_DE.utf8
708s run-with-locales: de_DE@euro.utf8...
708s Character set: UTF-8
708s Source file: de_DE@euro
708s Output: /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8
710s run-with-locales: el_GR.utf8...
710s Character set: UTF-8
710s Source file: el_GR
710s Output: /tmp/tmp.qhvgLjSzhL/el_GR.utf8
712s run-with-locales: en_GB=ISO-8859-1...
712s Character set: ISO-8859-1
712s Source file: en_GB
712s Output: /tmp/tmp.qhvgLjSzhL/en_GB
712s run-with-locales: en_GB.utf8...
712s Character set: UTF-8
712s Source file: en_GB
712s Output: /tmp/tmp.qhvgLjSzhL/en_GB.utf8
714s run-with-locales: en_US=ISO-8859-1...
714s Character set: ISO-8859-1
714s Source file: en_US
714s Output: /tmp/tmp.qhvgLjSzhL/en_US
714s run-with-locales: en_US.utf8...
714s Character set: UTF-8
714s Source file: en_US
714s Output: /tmp/tmp.qhvgLjSzhL/en_US.utf8
716s run-with-locales: es_ES.utf8...
716s Character set: UTF-8
716s Source file: es_ES
716s Output: /tmp/tmp.qhvgLjSzhL/es_ES.utf8
718s run-with-locales: fa_IR=UTF-8...
718s Character set: UTF-8
718s Source file: fa_IR
718s Output: /tmp/tmp.qhvgLjSzhL/fa_IR
719s run-with-locales: fa_IR.utf8...
719s Character set: UTF-8
719s Source file: fa_IR
719s Output: /tmp/tmp.qhvgLjSzhL/fa_IR.utf8
720s run-with-locales: fr_FR.utf8...
720s Character set: UTF-8
720s Source file: fr_FR
720s Output: /tmp/tmp.qhvgLjSzhL/fr_FR.utf8
722s run-with-locales: hr_HR.utf8...
722s Character set: UTF-8
722s Source file: hr_HR
722s Output: /tmp/tmp.qhvgLjSzhL/hr_HR.utf8
724s run-with-locales: ja_JP.utf8...
724s Character set: UTF-8
724s Source file: ja_JP
724s Output: /tmp/tmp.qhvgLjSzhL/ja_JP.utf8
726s run-with-locales: ja_JP.EUC-JP...
726s Character set: EUC-JP
726s Source file: ja_JP
726s Output: /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp
727s run-with-locales: lt_LT.utf8...
727s Character set: UTF-8
727s Source file: lt_LT
727s Output: /tmp/tmp.qhvgLjSzhL/lt_LT.utf8
729s run-with-locales: pl_PL=ISO-8859-2...
729s Character set: ISO-8859-2
729s Source file: pl_PL
729s Output: /tmp/tmp.qhvgLjSzhL/pl_PL
729s run-with-locales: pl_PL.ISO-8859-2...
729s Character set: ISO-8859-2
729s Source file: pl_PL
729s Output: /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592
730s run-with-locales: pl_PL.utf8...
730s Character set: UTF-8
730s Source file: pl_PL
730s Output: /tmp/tmp.qhvgLjSzhL/pl_PL.utf8
732s run-with-locales: ru_RU=ISO-8859-5...
732s Character set: ISO-8859-5
732s Source file: ru_RU
732s Output: /tmp/tmp.qhvgLjSzhL/ru_RU
732s run-with-locales: ru_RU.utf8...
732s Character set: UTF-8
732s Source file: ru_RU
732s Output: /tmp/tmp.qhvgLjSzhL/ru_RU.utf8
733s run-with-locales: sr_RS=UTF-8...
733s Character set: UTF-8
733s Source file: sr_RS
733s Output: /tmp/tmp.qhvgLjSzhL/sr_RS
735s run-with-locales: sr_RS@latin=UTF-8...
735s Character set: UTF-8
735s Source file: sr_RS@latin
735s Output: /tmp/tmp.qhvgLjSzhL/sr_RS@latin
736s run-with-locales: sv_SE=ISO-8859-1...
736s Character set: ISO-8859-1
736s Source file: sv_SE
736s Output: /tmp/tmp.qhvgLjSzhL/sv_SE
737s run-with-locales: sv_SE.utf8...
737s Character set: UTF-8
737s Source file: sv_SE
737s Output: /tmp/tmp.qhvgLjSzhL/sv_SE.utf8
739s run-with-locales: tr_TR=ISO-8859-9...
739s Character set: ISO-8859-9
739s Source file: tr_TR
739s Output: /tmp/tmp.qhvgLjSzhL/tr_TR
740s run-with-locales: tr_TR.utf8...
740s Character set: UTF-8
740s Source file: tr_TR
740s Output: /tmp/tmp.qhvgLjSzhL/tr_TR.utf8
741s run-with-locales: tt_RU=UTF-8...
741s Character set: UTF-8
741s Source file: tt_RU
741s Output: /tmp/tmp.qhvgLjSzhL/tt_RU
743s run-with-locales: tt_RU.utf8...
743s Character set: UTF-8
743s Source file: tt_RU
743s Output: /tmp/tmp.qhvgLjSzhL/tt_RU.utf8
745s run-with-locales: tt_RU@iqtelif=UTF-8...
745s Character set: UTF-8
745s Source file: tt_RU@iqtelif
745s Output: /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif
746s /tmp/tmp.qhvgLjSzhL
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/ru_RU.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/fa_IR
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/fa_IR/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/pl_PL.iso88592/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/hr_HR.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/tr_TR.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/en_GB
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/en_GB/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/sr_RS@latin/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/pl_PL.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/fa_IR.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/sv_SE.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/de_DE@euro.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/pl_PL
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/pl_PL/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/sr_RS
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/sr_RS/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tt_R1..323
746s # Running test: glib/autoptr.test
746s ok - glib/autoptr.test
746s # Running test: glib/strvbuilder.test
746s ok - glib/strvbuilder.test
746s # Running test: glib/guuid.test
746s ok - glib/guuid.test
746s # Running test: glib/volumemonitor.test
746s ok - glib/volumemonitor.test
746s # Running test: glib/g-file-info.test
746s ok - glib/g-file-info.test
746s # Running test: glib/macros.test
746s ok - glib/macros.test
746s # Running test: glib/portal-support-flatpak-gsettings-only.test
746s ok - glib/portal-support-flatpak-gsettings-only.test
746s # Running test: glib/hash.test
746s U@iqtelif/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/tt_RU@iqtelif/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/sv_SE
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/sv_SE/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/es_ES.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/en_US
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/en_US/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/en_GB.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/fr_FR.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/ja_JP.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/de_DE.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/ja_JP.eucjp/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/lt_LT.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/de_DE
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/de_DE/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/tt_RU
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/tt_RU/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/tr_TR
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/tr_TR/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/ru_RU
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/ru_RU/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/el_GR.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/tt_RU.utf8/LC_TIME
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_COLLATE
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_NUMERIC
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_TELEPHONE
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_CTYPE
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_NAME
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_ADDRESS
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_PAPER
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_MEASUREMENT
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_MESSAGES/SYS_LC_MESSAGES
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_IDENTIFICATION
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_MONETARY
746s /tmp/tmp.qhvgLjSzhL/en_US.utf8/LC_TIME
746s TAP version 14
746s # random seed: R02Sb24a83889aa3239b72e7219d3c417c2b
746s 1..6
746s # Start of autoptr tests
746s ok 1 /autoptr/autoptr
746s ok 2 /autoptr/autoptr_steal
746s ok 3 /autoptr/autolist
746s ok 4 /autoptr/autoslist
746s ok 5 /autoptr/autoqueue
746s ok 6 /autoptr/autoclass
746s # End of autoptr tests
746s TAP version 14
746s # random seed: R02S9a1b1536c496b783a9605b4409644ea0
746s 1..7
746s # Start of strvbuilder tests
746s ok 1 /strvbuilder/empty
746s ok 2 /strvbuilder/add
746s ok 3 /strvbuilder/addv
746s ok 4 /strvbuilder/add_many
746s ok 5 /strvbuilder/take
746s ok 6 /strvbuilder/ref
746s ok 7 /strvbuilder/unref_to_strv
746s # End of strvbuilder tests
746s TAP version 14
746s # random seed: R02Sf53d639a364b67b302b8f208d24121ea
746s 1..2
746s # Start of uuid tests
746s ok 1 /uuid/string
746s ok 2 /uuid/random
746s # End of uuid tests
746s TAP version 14
746s # random seed: R02Sd3e7e9dec5d84b6d4f00eb717286001a
746s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
746s 1..3
746s # Start of volumemonitor tests
746s ok 1 /volumemonitor/connected_drives
746s ok 2 /volumemonitor/volumes
746s ok 3 /volumemonitor/mounts
746s # End of volumemonitor tests
746s TAP version 14
746s # random seed: R02S2afe8dc8d0912d6df0e7c3558b060d15
746s 1..6
746s # Start of g-file-info tests
746s ok 1 /g-file-info/test_g_file_info
746s # /g-file-info/xattrs summary: Test setting and getting escaped xattrs
746s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
746s ok 2 /g-file-info/xattrs
746s # /g-file-info/set-modified-date-time-precision summary: Test that g_file_info_set_modified_date_time() preserves microseconds
746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3116
746s ok 3 /g-file-info/set-modified-date-time-precision
746s # Start of test_g_file_info tests
746s # /g-file-info/test_g_file_info/modification-time summary: Test that getting the modification time of a file works.
746s ok 4 /g-file-info/test_g_file_info/modification-time
746s # /g-file-info/test_g_file_info/access-time summary: Test that getting the access time of a file works.
746s ok 5 /g-file-info/test_g_file_info/access-time
746s # /g-file-info/test_g_file_info/creation-time summary: Test that getting the creation time of a file works.
746s ok 6 /g-file-info/test_g_file_info/creation-time
746s # End of test_g_file_info tests
746s # End of g-file-info tests
746s TAP version 14
746s # random seed: R02Sf675c64ef60bf4b82e4ed6aee95bc63a
746s 1..3
746s # Start of alignof tests
746s ok 1 /alignof/fallback
746s # End of alignof tests
746s # Start of assert tests
746s ok 2 /assert/static
746s # End of assert tests
746s # Start of struct tests
746s ok 3 /struct/sizeof_member
746s # End of struct tests
746s TAP version 14
746s # random seed: R02Sf808935f9fc94e649dc8ae058699f1ee
746s 1..1
746s # Start of portal-support tests
746s # Start of flatpak tests
746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/home
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/cache
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/system-config1:/tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/system-config2
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/config
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/system-data1:/tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/system-data2
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/data
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/state
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/runtime
746s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-gsettings-only_WU4852/portal-support/flatpak/gsettings/.dirs/runtime/.flatpak-info
746s ok 1 /portal-support/flatpak/gsettings
746s # End of flatpak tests
746s # End of portal-support tests
746s TAP version 14
746s # random seed: R02Se16bbf0744cb5ba5b0c60da27ee596b0
746s 1..34
746s # Start of hash tests
746s ok 1 /hash/misc
746s ok 2 /hash/one
746s ok 3 /hash/honeyman
746s ok 4 /hash/direct
746s ok 5 /hash/direct2
746s ok 6 /hash/int
746s ok 7 /hash/int64
746s ok 8 /hash/double
746s ok 9 /hash/string
746s ok 10 /hash/set
746s ok 11 /hash/set-ref
746s ok 12 /hash/ref
746s ok - glib/hash.test
746s # Running test: glib/init.test
746s ok - glib/init.test
746s # Running test: glib/unix.test
746s ok 13 /hash/remove-all
746s ok 14 /hash/recursive-remove-all
746s ok 15 /hash/find
746s ok 16 /hash/foreach
746s ok 17 /hash/foreach-steal
746s ok 18 /hash/steal-extended
746s ok 19 /hash/steal-all-keys
746s ok 20 /hash/steal-all-values
746s ok 21 /hash/lookup-extended
746s ok 22 /hash/new-similar
746s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642944
746s ok 23 /hash/lookup-null-key
746s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=650459
746s ok 24 /hash/destroy-modify
746s ok 25 /hash/consistency
746s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=662544
746s ok 26 /hash/iter-replace
746s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=692815
746s ok 27 /hash/set-insert-corruption
746s ok 28 /hash/set-to-strv
746s ok 29 /hash/get-keys-as-ptr-array
746s ok 30 /hash/get-values-as-ptr-array
746s ok 31 /hash/primes
746s # Start of int64 tests
746s # /hash/int64/collisions summary: Check int64 Hash collisions caused by ignoring high word
746s ok 32 /hash/int64/collisions
746s # End of int64 tests
746s # Start of double tests
746s # /hash/double/collisions summary: Check double Hash collisions caused by int conversion and by numbers larger than 2^64-1 (G_MAXUINT64)
746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2771
746s ok 33 /hash/double/collisions
746s # End of double tests
746s # Start of recursive-remove-all tests
746s # End of recursive-remove-all tests
746s # Start of steal-extended tests
746s ok 34 /hash/steal-extended/optional
746s # End of steal-extended tests
746s # End of hash tests
746s TAP version 14
746s # random seed: R02Sd290c60ae3401559aa2bdf8c872996ab
746s 1..2
746s # Start of thread tests
746s # Start of deprecated tests
746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/home
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/cache
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/system-config1:/tmp/test_init_7NF952/thread/deprecated/init/.dirs/system-config2
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/config
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/system-data1:/tmp/test_init_7NF952/thread/deprecated/init/.dirs/system-data2
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/data
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/state
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7NF952/thread/deprecated/init/.dirs/runtime
746s ok 1 /thread/deprecated/init
746s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/home
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/cache
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config1:/tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-config2
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/config
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data1:/tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/system-data2
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/data
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/state
746s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_init_7NF952/thread/deprecated/init-with-errorcheck-mutexes/.dirs/runtime
746s ok 2 /thread/deprecated/init-with-errorcheck-mutexes
746s # End of deprecated tests
746s # End of thread tests
746s TAP version 14
746s # random seed: R02S15afb10d57dc5a9a5287be54dec941ed
746s 1..20
746s # Start of glib-unix tests
746s # /glib-unix/closefrom summary: Test g_closefrom(), g_fdwalk_set_cloexec()
746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3247
746s ok 1 /glib-unix/closefrom
746s ok 2 /glib-unix/pipe
746s # /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
746s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2795
746s ok 3 /glib-unix/pipe-stdio-overwrite
746s # /glib-unix/pipe-struct summary: Test GUnixPipe structure
746s ok 4 /glib-unix/pipe-struct
746s # /glib-unix/pipe-struct-auto summary: Test g_auto(GUnixPipe)
746s ok 5 /glib-unix/pipe-struct-auto
746s ok 6 /glib-unix/error
746s ok 7 /glib-unix/nonblocking
747s ok 8 /glib-unix/sighup
747s # slow test /glib-unix/sighup executed in 0.50 secs
747s ok 9 /glib-unix/sigterm
747s # slow test /glib-unix/sigterm executed in 0.50 secs
748s ok 10 /glib-unix/sighup_again
748s # slow test /glib-unix/sighup_again executed in 0.50 secs
748s ok 11 /glib-unix/sighup_add_remove
748s ok 12 /glib-unix/sighup_nested
750s ok 13 /glib-unix/callback_after_signal
750s # slow test /glib-unix/callback_after_signal executed in 2.00 secs
750s ok 14 /glib-unix/child-wait
750s # Start of closefrom tests
750s # Start of subprocess tests
750s # End of subprocess tests
750s # End of closefrom tests
750s # Start of pipe tests
750s # /glib-unix/pipe/fd-cloexec summary: Test that FD_CLOEXEC is still accepted as an argument to g_unix_open_pipe()
750s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3459
750s # GLib-DEBUG: g_unix_open_pipe() called with FD_CLOEXEC; please migrate to using O_CLOEXEC instead
750s ok 15 /glib-unix/pipe/fd-cloexec
750s # End of pipe tests
750s # Start of sighup tests
751s ok 16 /glib-unix/sighup/alternate-stack
751s # slow test /glib-unix/sighup/alternate-stack executed in 1.00 secs
751s # End of sighup tests
751s # Start of sigterm tests
751s # Executing: glib/unix.test
752s ok 17 /glib-unix/sigterm/alternate-stack
752s # slow test /glib-unix/sigterm/alternate-stack executed in 1.00 secs
752s # End of sigterm tests
752s # Start of sighup_again tests
753s ok 18 /glib-unix/sighup_again/alternate-stack
753s # slow test /glib-unix/sighup_again/alternate-stack executed in 1.01 secs
753s # End of sighup_again tests
753s # Start of get-passwd-entry tests
753s # /glib-unix/get-passwd-entry/root summary: Tests that g_unix_get_passwd_entry() works for a known-existing username.
753s ok 19 /glib-unix/get-passwd-entry/root
753s # /glib-unix/get-passwd-entry/nonexistent summary: Tests that g_unix_get_passwd_entry() returns an error for a nonexistent username.
753s ok 20 /glib-unix/get-passwd-entry/nonexistent
753s # End of get-passwd-entry tests
753s # End of glib-unix tests
753s ok - glib/unix.test
753s # Running test: glib/gdbus-serialization.test
753s TAP version 14
753s # random seed: R02Sb7a40915a3f1d348122db9586067ffd9
753s 1..18
753s # Start of gdbus tests
753s # Start of message-serialize tests
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/basic/.dirs/runtime
753s ok 1 /gdbus/message-serialize/basic
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/complex/.dirs/runtime
753s ok 2 /gdbus/message-serialize/complex
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/invalid/.dirs/runtime
753s ok 3 /gdbus/message-serialize/invalid
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/.dirs/runtime
753s ok 4 /gdbus/message-serialize/header-checks
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/double-array/.dirs/runtime
753s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=732754
753s ok 5 /gdbus/message-serialize/double-array
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/empty-structure/.dirs/runtime
753s # /gdbus/message-serialize/empty-structure summary: Test that empty structures are rejected when serializing.
753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
753s ok 6 /gdbus/message-serialize/empty-structure
753s # Start of header-checks tests
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-serialize/header-checks/valid/.dirs/runtime
753s # /gdbus/message-serialize/header-checks/valid summary: Test that validation allows well-formed messages of all the different types
753s ok 7 /gdbus/message-serialize/header-checks/valid
753s # End of header-checks tests
753s # End of message-serialize tests
753s # Start of message-parse tests
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-arrays-of-arrays/.dirs/runtime
753s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=673612
753s ok 8 /gdbus/message-parse/empty-arrays-of-arrays
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/non-signature-header/.dirs/runtime
753s ok 9 /gdbus/message-parse/non-signature-header
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-signature-header/.dirs/runtime
753s ok 10 /gdbus/message-parse/empty-signature-header
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/multiple-signature-header/.dirs/runtime
753s ok 11 /gdbus/message-parse/multiple-signature-header
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/over-long-signature-header/.dirs/runtime
753s ok 12 /gdbus/message-parse/over-long-signature-header
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-header-nesting/.dirs/runtime
753s ok 13 /gdbus/message-parse/deep-header-nesting
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/deep-body-nesting/.dirs/runtime
753s ok 14 /gdbus/message-parse/deep-body-nesting
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/data
753s ok - glib/gdbus-serialization.test
753s # Running test: glib/option-argv0.test
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/truncated/.dirs/runtime
753s # /gdbus/message-parse/truncated summary: Test that truncated messages are properly rejected.
753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2528
753s ok 15 /gdbus/message-parse/truncated
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/empty-structure/.dirs/runtime
753s # /gdbus/message-parse/empty-structure summary: Test that empty structures are rejected when parsing.
753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2557
753s ok 16 /gdbus/message-parse/empty-structure
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/missing-header/.dirs/runtime
753s # /gdbus/message-parse/missing-header summary: Test that missing (required) headers prompt an error.
753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
753s ok 17 /gdbus/message-parse/missing-header
753s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/home
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/cache
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/system-config1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/system-config2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/config
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/system-data1:/tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/system-data2
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/data
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/state
753s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-serialization_49F052/gdbus/message-parse/invalid-header-type/.dirs/runtime
753s # /gdbus/message-parse/invalid-header-type summary: Test that the type of well-known headers is checked.
753s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3061
753s ok 18 /gdbus/message-parse/invalid-header-type
753s # End of message-parse tests
753s # End of gdbus tests
753s TAP version 14
753s # random seed: R02Sc01a737bfa699245d1785507b42b47a4
753s 1..1
753s # Start of option tests
753s ok 1 /option/argv0
753s # End of option tests
753s TAP version 14
753s # random seed: R02S3519462dcbed1e729a2c197af9b20896
753s 1..1
753s # Start of closure tests
753s # Init 0x2aa3d0c2d60
753s # Yielding from thread2
753s # Yielding from thread1
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread1
753s ok - glib/option-argv0.test
753s # Running test: glib/closure-refcount.test
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from thread2
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from thread2
753s # Yielding from thread1
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from thread2
753s # Yielding from main thread
753s # Yielding from thread1
753s # Yielding from thread2
753s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from thread2
754s # Yielding from thread2
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from thread2
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from thread2
754s # Yielding from thread2
754s # Yielding from main thread
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from main thread
754s # Yielding from thread1
754s # Yielding from main thread
755s # Yielding from thread2
755s # Yielding from main thread
755s # Yielding from thread1
755s # Yielding from main thread
755s # Yielding from main thread
755s # Yielding from thread2
755s # Yielding from main thread
755s # Yielding from thread1
755s # Yielding from thread2
755s # Yielding from main thread
755s # Yielding from thread2
755s # Yielding from thread1
755s # Yielding from main thread
755s # Yielding from thread2
755s # Yielding from thread2
755s # Yielding from main thread
755s # Yielding from thread1
755s # Yielding from main thread
755s # Yielding from thread2
755s # Yielding from thread2
755s # Yielding from thread1
755s # Yielding from main thread
755s # Yielding from thread1
755s # Yielding from thread2
755s # Yielding from thread1
755s # Yielding from thread2
755s # Yielding from thread1
755s # Yielding from thread2
755s # Yielding from thread1
755s # Yielding from thread2
755s # Yielding from thread1
755s # Yielding from main thread
755s # Yielding from thread2
755s # Yielding from thread2
755s # Yielding from thread1
755s # Yielding from main thread
755s # Yielding from thread2
755s # Yielding from main thread
755s # Yielding from main thread
755s # Yielding from main thread
755s # Yielding from thread1
755s # Stopping
755s # Stopped
755s ok 1 /closure/refcount
755s # slow test /closure/refcount executed in 2.16 secs
755s # End of closure tests
755s ok - glib/closure-refcount.test
755s # Running test: glib/642026-ec.test
755s TAP version 14
755s # random seed: R02S88c391ce1268c6b27487d8a530011069
755s 1..1
755s # Start of glib tests
755s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
755s ok 1 /glib/642026
755s # End of glib tests
755s ok - glib/642026-ec.test
755s # Running test: glib/types.test
755s TAP version 14
755s ok - glib/types.test
755s # random seed: R02S826ac352cac1d3b9056409d8271fc04e
755s 1..1
755s # Start of types tests
755s ok 1 /types/basic_types
755s # End of types tests
755s # Running test: glib/overflow.test
755s TAP version 14
755s # random seed: R02S75301dde741f2e8071b6f80ba98586d1
755s 1..6
755s # Start of glib tests
755s # Start of checked-math tests
755s ok 1 /glib/checked-math/guint-add
755s ok 2 /glib/checked-math/guint-mul
755s ok 3 /glib/checked-math/guint64-add
755s ok 4 /glib/checked-math/guint64-mul
755s ok 5 /glib/checked-math/gsize-add
755s ok 6 /glib/checked-math/gsize-mul
755s # End of checked-math tests
755s # End of glib tests
755s ok - glib/overflow.test
755s # Running test: glib/properties-introspection.test
755s TAP version 14
755s # random seed: R02S6c3c5d02983e74b08158217d5c6d69de
755s 1..2
755s # Start of properties tests
755s # /properties/introspection summary: Verify that introspecting properties on an interface initializes the GParamSpecPool.
755s ok 1 /properties/introspection
755s # /properties/collision summary: Verify that multiple threads create a single GParamSpecPool.
755s ok 2 /properties/collision
755s # End of properties tests
755s ok - glib/properties-introspection.test
755s # Running test: glib/defaultiface.test
755s TAP version 14
755s # random seed: R02S5f46ebd50ad4a7eba6aa875b85764f56
755s 1..2
755s # Start of gobject tests
755s ok 1 /gobject/static-iface
755s ok 2 /gobject/dynamic-iface
755s # End of gobject tests
755s ok - glib/defaultiface.test
755s # Running test: glib/stream-rw_all.test
755s TAP version 14
755s # random seed: R02S0040a749f4706ea267fb28bfab1cba58
755s 1..3
755s # Start of stream tests
755s # Start of read_all_async tests
755s ok 1 /stream/read_all_async/memory
755s # End of read_all_async tests
755s # Start of write_all_async tests
755s ok 2 /stream/write_all_async/memory
755s # End of write_all_async tests
755s # Start of read_write_all_async tests
755s ok 3 /stream/read_write_all_async/pipe
755s # End of read_write_all_async tests
755s # End of stream tests
755s ok - glib/stream-rw_all.test
755s # Running test: glib/gsubprocess.test
755s TAP version 14
755s # random seed: R02S74ef4585154e86d245abc5be8a94c15f
755s 1..84
755s # Start of gsubprocess tests
755s ok 1 /gsubprocess/noop
755s ok 2 /gsubprocess/noop-all-to-null
755s ok 3 /gsubprocess/noop-no-wait
755s ok 4 /gsubprocess/noop-stdin-inherit
755s ok 5 /gsubprocess/search-path
755s ok 6 /gsubprocess/search-path-from-envp
756s # Executing: glib/gsubprocess.test
758s ok 7 /gsubprocess/signal
758s # slow test /gsubprocess/signal executed in 3.31 secs
758s ok 8 /gsubprocess/exit1
758s ok 9 /gsubprocess/echo1
758s ok 10 /gsubprocess/echo-merged
759s ok 11 /gsubprocess/cat-utf8
760s ok 12 /gsubprocess/cat-eof
760s # slow test /gsubprocess/cat-eof executed in 1.00 secs
761s # Executing: glib/gsubprocess.test
762s ok 13 /gsubprocess/multi1
762s # slow test /gsubprocess/multi1 executed in 3.05 secs
763s ok 14 /gsubprocess/communicate
765s ok 15 /gsubprocess/terminate
765s # slow test /gsubprocess/terminate executed in 2.86 secs
765s ok 16 /gsubprocess/fail-initialization
765s ok 17 /gsubprocess/env
765s ok 18 /gsubprocess/cwd
765s ok 19 /gsubprocess/launcher-close
765s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
765s ok 20 /gsubprocess/stdout-file
765s ok 21 /gsubprocess/stdout-fd
765s ok 22 /gsubprocess/child-setup
765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
765s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
765s ok 23 /gsubprocess/launcher-environment
765s # Start of exit1 tests
765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
765s ok 24 /gsubprocess/exit1/cancel
765s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=786456
765s ok 25 /gsubprocess/exit1/cancel_in_cb
765s # End of exit1 tests
765s # Start of communicate tests
765s ok 26 /gsubprocess/communicate/cancelled
765s ok 27 /gsubprocess/communicate/async
765s ok 28 /gsubprocess/communicate/utf8
765s # hello world
765s ok 29 /gsubprocess/communicate/no-pipes
765s ok 30 /gsubprocess/communicate/separate-stderr
765s ok 31 /gsubprocess/communicate/stdout-only
765s # hello world
765s ok 32 /gsubprocess/communicate/stderr-only
765s ok 33 /gsubprocess/communicate/stdout-silence
765s ok 34 /gsubprocess/communicate/nothing
765s # Start of async tests
765s ok 35 /gsubprocess/communicate/async/cancelled
765s # hello world
765s ok 36 /gsubprocess/communicate/async/no-pipes
765s ok 37 /gsubprocess/communicate/async/separate-stderr
765s ok 38 /gsubprocess/communicate/async/stdout-only
765s # hello world
765s ok 39 /gsubprocess/communicate/async/stderr-only
765s ok 40 /gsubprocess/communicate/async/stdout-silence
765s # Start of cancelled tests
765s ok 41 /gsubprocess/communicate/async/cancelled/no-pipes
765s ok 42 /gsubprocess/communicate/async/cancelled/separate-stderr
765s ok 43 /gsubprocess/communicate/async/cancelled/stdout-only
765s ok 44 /gsubprocess/communicate/async/cancelled/stderr-only
765s ok 45 /gsubprocess/communicate/async/cancelled/stdout-silence
765s # End of cancelled tests
765s # End of async tests
765s # Start of utf8 tests
765s ok 46 /gsubprocess/communicate/utf8/cancelled
765s ok 47 /gsubprocess/communicate/utf8/async
765s # hello world
765s ok 48 /gsubprocess/communicate/utf8/no-pipes
765s ok 49 /gsubprocess/communicate/utf8/separate-stderr
765s ok 50 /gsubprocess/communicate/utf8/stdout-only
765s # hello world
765s ok 51 /gsubprocess/communicate/utf8/stderr-only
765s ok 52 /gsubprocess/communicate/utf8/stdout-silence
765s ok 53 /gsubprocess/communicate/utf8/invalid
765s # Start of async tests
765s ok 54 /gsubprocess/communicate/utf8/async/cancelled
765s # hello world
765s ok 55 /gsubprocess/communicate/utf8/async/no-pipes
765s ok 56 /gsubprocess/communicate/utf8/async/separate-stderr
765s ok 57 /gsubprocess/communicate/utf8/async/stdout-only
765s # hello world
765s ok 58 /gsubprocess/communicate/utf8/async/stderr-only
765s ok 59 /gsubprocess/communicate/utf8/async/stdout-silence
765s ok 60 /gsubprocess/communicate/utf8/async/invalid
765s # Start of cancelled tests
765s ok 61 /gsubprocess/communicate/utf8/async/cancelled/no-pipes
766s ok 62 /gsubprocess/communicate/utf8/async/cancelled/separate-stderr
766s ok 63 /gsubprocess/communicate/utf8/async/cancelled/stdout-only
766s ok 64 /gsubprocess/communicate/utf8/async/cancelled/stderr-only
766s ok 65 /gsubprocess/communicate/utf8/async/cancelled/stdout-silence
766s # End of cancelled tests
766s # End of async tests
766s # Start of cancelled tests
766s ok 66 /gsubprocess/communicate/utf8/cancelled/no-pipes
766s ok 67 /gsubprocess/communicate/utf8/cancelled/separate-stderr
766s ok 68 /gsubprocess/communicate/utf8/cancelled/stdout-only
766s ok 69 /gsubprocess/communicate/utf8/cancelled/stderr-only
766s ok 70 /gsubprocess/communicate/utf8/cancelled/stdout-silence
766s # End of cancelled tests
766s # End of utf8 tests
766s # Start of cancelled tests
766s ok 71 /gsubprocess/communicate/cancelled/no-pipes
766s ok 72 /gsubprocess/communicate/cancelled/separate-stderr
766s ok 73 /gsubprocess/communicate/cancelled/stdout-only
766s ok 74 /gsubprocess/communicate/cancelled/stderr-only
766s ok 75 /gsubprocess/communicate/cancelled/stdout-silence
766s # End of cancelled tests
766s # End of communicate tests
766s # Start of env tests
766s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
766s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
766s ok 76 /gsubprocess/env/inherit
766s # End of env tests
766s # Start of pass-fd tests
766s ok 77 /gsubprocess/pass-fd/basic
766s ok 78 /gsubprocess/pass-fd/empty-child-setup
766s ok 79 /gsubprocess/pass-fd/inherit-fds
766s # End of pass-fd tests
766s # Start of fd-conflation tests
766s ok 80 /gsubprocess/fd-conflation/basic
766s ok 81 /gsubprocess/fd-conflation/empty-child-setup
766s ok 82 /gsubprocess/fd-conflation/inherit-fds
766s ok - glib/gsubprocess.test
766s # Running test: glib/testing-nonfatal.test
766s ok - glib/testing-nonfatal.test
766s # Running test: glib/codegen.py.test
766s ok 83 /gsubprocess/fd-conflation/child-err-report-fd
766s # End of fd-conflation tests
766s # Start of exit-status tests
766s # /gsubprocess/exit-status/trapped summary: Test that exit status is reported correctly for ptrace()d child processes
766s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3433
766s ok 84 /gsubprocess/exit-status/trapped
766s # End of exit-status tests
766s # End of gsubprocess tests
766s TAP version 14
766s # random seed: R02Se0994b945bdf9a61f21b12116140ae22
766s **
766s 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?")
766s # 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?")
766s TAP version 13
766s ok 1 __main__.TestCodegen.test_call_flags_and_timeout_method_args
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmpysrgfg4z
766s # /tmp/tmpysrgfg4z/tmpgh42g_1d.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpysrgfg4z/tmpgh42g_1d.xml', '--output', '-', '--header']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifndef __STDOUT__
766s # #define __STDOUT__
766s #
766s # #include
766s #
766s # G_BEGIN_DECLS
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s # /* Declarations for org.project.UsefulInterface */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
766s #
766s # struct _OrgProjectUsefulInterface;
766s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
766s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
766s #
766s # struct _OrgProjectUsefulInterfaceIface
766s # {
766s # GTypeInterface parent_iface;
766s #
766s # gboolean (*handle_useful_method) (
766s # OrgProjectUsefulInterface *object,
766s # GDBusMethodInvocation *invocation);
766s #
766s # };
766s #
766s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
766s #
766s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
766s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
766s #
766s #
766s # /* D-Bus method call completion functions: */
766s # void org_project_useful_interface_complete_useful_method (
766s # OrgProjectUsefulInterface *object,
766s # GDBusMethodInvocation *invocation);
766s #
766s #
766s #
766s # /* D-Bus method calls: */
766s # void org_project_useful_interface_call_useful_method (
766s # OrgProjectUsefulInterface *proxy,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s #
766s # gboolean org_project_useful_interface_call_useful_method_finish (
766s # OrgProjectUsefulInterface *proxy,
766s # GAsyncResult *res,
766s # GError **error);
766s #
766s # gboolean org_project_useful_interface_call_useful_method_sync (
766s # OrgProjectUsefulInterface *proxy,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s #
766s #
766s # /* ---- */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
766s #
766s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
766s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
766s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
766s #
766s # struct _OrgProjectUsefulInterfaceProxy
766s # {
766s # /*< private >*/
766s # GDBusProxy parent_instance;
766s # OrgProjectUsefulInterfaceProxyPrivate *priv;
766s # };
766s #
766s # struct _OrgProjectUsefulInterfaceProxyClass
766s # {
766s # GDBusProxyClass parent_class;
766s # };
766s #
766s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
766s #
766s # #if GLIB_CHECK_VERSION(2, 44, 0)
766s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
766s # #endif
766s #
766s # void org_project_useful_interface_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s # void org_project_useful_interface_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s #
766s # /* ---- */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
766s #
766s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
766s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
766s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
766s #
766s # struct _OrgProjectUsefulInterfaceSkeleton
766s # {
766s # /*< private >*/
766s # GDBusInterfaceSkeleton parent_instance;
766s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
766s # };
766s #
766s # struct _OrgProjectUsefulInterfaceSkeletonClass
766s # {
766s # GDBusInterfaceSkeletonClass parent_class;
766s # };
766s #
766s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
766s #
766s # #if GLIB_CHECK_VERSION(2, 44, 0)
766s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
766s # #endif
766s #
766s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
766s #
766s #
766s # G_END_DECLS
766s #
766s # #endif /* __STDOUT__ */
766s # Error:
766s #
766s # /tmp/tmpysrgfg4z/tmpjhwdx7nb.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpysrgfg4z/tmpjhwdx7nb.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifndef __STDOUT__
766s # #define __STDOUT__
766s #
766s # #include
766s #
766s # G_BEGIN_DECLS
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s # /* Declarations for org.project.UsefulInterface */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
766s #
766s # struct _OrgProjectUsefulInterface;
766s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
766s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
766s #
766s # struct _OrgProjectUsefulInterfaceIface
766s # {
766s # GTypeInterface parent_iface;
766s #
766s # gboolean (*handle_useful_method) (
766s # OrgProjectUsefulInterface *object,
766s # GDBusMethodInvocation *invocation);
766s #
766s # };
766s #
766s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
766s #
766s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
766s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
766s #
766s #
766s # /* D-Bus method call completion functions: */
766s # void org_project_useful_interface_complete_useful_method (
766s # OrgProjectUsefulInterface *object,
766s # GDBusMethodInvocation *invocation);
766s #
766s #
766s #
766s # /* D-Bus method calls: */
766s # void org_project_useful_interface_call_useful_method (
766s # OrgProjectUsefulInterface *proxy,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s #
766s # gboolean org_project_useful_interface_call_useful_method_finish (
766s # OrgProjectUsefulInterface *proxy,
766s # GAsyncResult *res,
766s # GError **error);
766s #
766s # gboolean org_project_useful_interface_call_useful_method_sync (
766s # OrgProjectUsefulInterface *proxy,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s #
766s #
766s # /* ---- */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
766s #
766s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
766s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
766s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
766s #
766s # struct _OrgProjectUsefulInterfaceProxy
766s # {
766s # /*< private >*/
766s # GDBusProxy parent_instance;
766s # OrgProjectUsefulInterfaceProxyPrivate *priv;
766s # };
766s #
766s # struct _OrgProjectUsefulInterfaceProxyClass
766s # {
766s # GDBusProxyClass parent_class;
766s # };
766s #
766s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
766s #
766s # #if GLIB_CHECK_VERSION(2, 44, 0)
766s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
766s # #endif
766s #
766s # void org_project_useful_interface_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s # void org_project_useful_interface_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s #
766s # /* ---- */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
766s #
766s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
766s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
766s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
766s #
766s # struct _OrgProjectUsefulInterfaceSkeleton
766s # {
766s # /*< private >*/
766s # GDBusInterfaceSkeleton parent_instance;
766s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
766s # };
766s #
766s # struct _OrgProjectUsefulInterfaceSkeletonClass
766s # {
766s # GDBusInterfaceSkeletonClass parent_class;
766s # };
766s #
766s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
766s #
766s # #if GLIB_CHECK_VERSION(2, 44, 0)
766s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
766s # #endif
766s #
766s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
766s #
766s #
766s # G_END_DECLS
766s #
766s # #endif /* __STDOUT__ */
766s # Error:
766s #
766s # /tmp/tmpysrgfg4z/tmp_amckhf9.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpysrgfg4z/tmp_amckhf9.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifndef __STDOUT__
766s # #define __STDOUT__
766s #
766s # #include
766s #
766s # G_BEGIN_DECLS
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s # /* Declarations for org.project.UsefulInterface */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE (org_project_useful_interface_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterface))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE, OrgProjectUsefulInterfaceIface))
766s #
766s # struct _OrgProjectUsefulInterface;
766s # typedef struct _OrgProjectUsefulInterface OrgProjectUsefulInterface;
766s # typedef struct _OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceIface;
766s #
766s # struct _OrgProjectUsefulInterfaceIface
766s # {
766s # GTypeInterface parent_iface;
766s #
766s # gboolean (*handle_useful_method) (
766s # OrgProjectUsefulInterface *object,
766s # GDBusMethodInvocation *invocation);
766s #
766s # };
766s #
766s # GType org_project_useful_interface_get_type (void) G_GNUC_CONST;
766s #
766s # GDBusInterfaceInfo *org_project_useful_interface_interface_info (void);
766s # guint org_project_useful_interface_override_properties (GObjectClass *klass, guint property_id_begin);
766s #
766s #
766s # /* D-Bus method call completion functions: */
766s # void org_project_useful_interface_complete_useful_method (
766s # OrgProjectUsefulInterface *object,
766s # GDBusMethodInvocation *invocation);
766s #
766s #
766s #
766s # /* D-Bus method calls: */
766s # void org_project_useful_interface_call_useful_method (
766s # OrgProjectUsefulInterface *proxy,
766s # GDBusCallFlags call_flags,
766s # gint timeout_msec,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s #
766s # gboolean org_project_useful_interface_call_useful_method_finish (
766s # OrgProjectUsefulInterface *proxy,
766s # GAsyncResult *res,
766s # GError **error);
766s #
766s # gboolean org_project_useful_interface_call_useful_method_sync (
766s # OrgProjectUsefulInterface *proxy,
766s # GDBusCallFlags call_flags,
766s # gint timeout_msec,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s #
766s #
766s # /* ---- */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY (org_project_useful_interface_proxy_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxy))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyClass))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY))
766s #
766s # typedef struct _OrgProjectUsefulInterfaceProxy OrgProjectUsefulInterfaceProxy;
766s # typedef struct _OrgProjectUsefulInterfaceProxyClass OrgProjectUsefulInterfaceProxyClass;
766s # typedef struct _OrgProjectUsefulInterfaceProxyPrivate OrgProjectUsefulInterfaceProxyPrivate;
766s #
766s # struct _OrgProjectUsefulInterfaceProxy
766s # {
766s # /*< private >*/
766s # GDBusProxy parent_instance;
766s # OrgProjectUsefulInterfaceProxyPrivate *priv;
766s # };
766s #
766s # struct _OrgProjectUsefulInterfaceProxyClass
766s # {
766s # GDBusProxyClass parent_class;
766s # };
766s #
766s # GType org_project_useful_interface_proxy_get_type (void) G_GNUC_CONST;
766s #
766s # #if GLIB_CHECK_VERSION(2, 44, 0)
766s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceProxy, g_object_unref)
766s # #endif
766s #
766s # void org_project_useful_interface_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s # void org_project_useful_interface_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error);
766s # OrgProjectUsefulInterface *org_project_useful_interface_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error);
766s #
766s #
766s # /* ---- */
766s #
766s # #define TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON (org_project_useful_interface_skeleton_get_type ())
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeleton))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
766s # #define ORG_PROJECT_USEFUL_INTERFACE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonClass))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
766s # #define IS_ORG_PROJECT_USEFUL_INTERFACE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON))
766s #
766s # typedef struct _OrgProjectUsefulInterfaceSkeleton OrgProjectUsefulInterfaceSkeleton;
766s # typedef struct _OrgProjectUsefulInterfaceSkeletonClass OrgProjectUsefulInterfaceSkeletonClass;
766s # typedef struct _OrgProjectUsefulInterfaceSkeletonPrivate OrgProjectUsefulInterfaceSkeletonPrivate;
766s #
766s # struct _OrgProjectUsefulInterfaceSkeleton
766s # {
766s # /*< private >*/
766s # GDBusInterfaceSkeleton parent_instance;
766s # OrgProjectUsefulInterfaceSkeletonPrivate *priv;
766s # };
766s #
766s # struct _OrgProjectUsefulInterfaceSkeletonClass
766s # {
766s # GDBusInterfaceSkeletonClass parent_class;
766s # };
766s #
766s # GType org_project_useful_interface_skeleton_get_type (void) G_GNUC_CONST;
766s #
766s # #if GLIB_CHECK_VERSION(2, 44, 0)
766s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectUsefulInterfaceSkeleton, g_object_unref)
766s # #endif
766s #
766s # OrgProjectUsefulInterface *org_project_useful_interface_skeleton_new (void);
766s #
766s #
766s # G_END_DECLS
766s #
766s # #endif /* __STDOUT__ */
766s # Error:
766s ok 2 __main__.TestCodegen.test_dbus_types
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmpjds0kbzn
766s # /tmp/tmpjds0kbzn/tmpsl__0oke.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpsl__0oke.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "{vs}". "v" is not a valid type for dictionary keys at position 1.
766s # /tmp/tmpjds0kbzn/tmpgyiqrr27.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpgyiqrr27.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "(ss(s{{sv}s}))". "{" is not a valid type for dictionary keys at position 6.
766s # /tmp/tmpjds0kbzn/tmp53posfy7.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmp53posfy7.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "{s". Error parsing string or brackets not closed.
766s # /tmp/tmpjds0kbzn/tmpkthv2mpn.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpkthv2mpn.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "(s{sss})". Dict must end with "}" at position 5.
766s # /tmp/tmpjds0kbzn/tmpkd7l03zc.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpkd7l03zc.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "z". "z" is not a valid D-Bus type.
766s # /tmp/tmpjds0kbzn/tmpi83chei6.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpi83chei6.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "(ssms)". "m" is not a valid D-Bus type.
766s # /tmp/tmpjds0kbzn/tmpkn0hctir.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpkn0hctir.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "(". Error parsing string or brackets not closed.
766s # /tmp/tmpjds0kbzn/tmpu4ax55ez.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpu4ax55ez.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "(((ss))". Error parsing string or brackets not closed.
766s # /tmp/tmpjds0kbzn/tmpkvj9j3c3.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpkvj9j3c3.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas". Too much recursion beginning at 129.
766s # /tmp/tmpjds0kbzn/tmp4uen48m_.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmp4uen48m_.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: D-Bus maximum signature length of 255 exceeded.
766s # /tmp/tmpjds0kbzn/tmpulk0nzgn.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpulk0nzgn.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: D-Bus maximum signature length of 255 exceeded.
766s # /tmp/tmpjds0kbzn/tmpfe3xhjpb.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpfe3xhjpb.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: Bad signature "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaa{sv})". Too much recursion beginning at 129.
766s # /tmp/tmpjds0kbzn/tmp_kykcfr4.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmp_kykcfr4.xml', '--output', '-', '--body']
766s # Return code: 1
766s # Output:
766s #
766s # Error:
766s # ERROR: D-Bus maximum signature length of 255 exceeded.
766s # /tmp/tmpjds0kbzn/tmpvqr4jems.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpvqr4jems.xml', '--output', '-', '--body']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifdef HAVE_CONFIG_H
766s # # include "config.h"
766s # #endif
766s #
766s # #include
766s # #ifdef G_OS_UNIX
766s # # include
766s # #endif
766s #
766s # #ifdef G_ENABLE_DEBUG
766s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
766s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
766s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
766s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
766s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
766s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
766s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
766s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
766s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
766s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
766s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
766s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
766s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
766s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
766s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
766s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
766s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
766s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
766s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
766s # #else /* !G_ENABLE_DEBUG */
766s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
766s # * Do not access GValues directly in your code. Instead, use the
766s # * g_value_get_*() functions
766s # */
766s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
766s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
766s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
766s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
766s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
766s # #endif /* !G_ENABLE_DEBUG */
766s #
766s # typedef struct
766s # {
766s # GDBusArgInfo parent_struct;
766s # gboolean use_gvariant;
766s # } _ExtendedGDBusArgInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusMethodInfo parent_struct;
766s # const gchar *signal_name;
766s # gboolean pass_fdlist;
766s # } _ExtendedGDBusMethodInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusSignalInfo parent_struct;
766s # const gchar *signal_name;
766s # } _ExtendedGDBusSignalInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusPropertyInfo parent_struct;
766s # const gchar *hyphen_name;
766s # guint use_gvariant : 1;
766s # guint emits_changed_signal : 1;
766s # } _ExtendedGDBusPropertyInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusInterfaceInfo parent_struct;
766s # const gchar *hyphen_name;
766s # } _ExtendedGDBusInterfaceInfo;
766s #
766s # typedef struct
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # guint prop_id;
766s # GValue orig_value; /* the value before the change */
766s # } ChangedProperty;
766s #
766s # static void
766s # _changed_property_free (ChangedProperty *data)
766s # {
766s # g_value_unset (&data->orig_value);
766s # g_free (data);
766s # }
766s #
766s # static gboolean
766s # _g_strv_equal0 (gchar **a, gchar **b)
766s # {
766s # gboolean ret = FALSE;
766s # guint n;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # if (g_strv_length (a) != g_strv_length (b))
766s # goto out;
766s # for (n = 0; a[n] != NULL; n++)
766s # if (g_strcmp0 (a[n], b[n]) != 0)
766s # goto out;
766s # ret = TRUE;
766s # out:
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _g_variant_equal0 (GVariant *a, GVariant *b)
766s # {
766s # gboolean ret = FALSE;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # ret = g_variant_equal (a, b);
766s # out:
766s # return ret;
766s # }
766s #
766s # G_GNUC_UNUSED static gboolean
766s # _g_value_equal (const GValue *a, const GValue *b)
766s # {
766s # gboolean ret = FALSE;
766s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
766s # switch (G_VALUE_TYPE (a))
766s # {
766s # case G_TYPE_BOOLEAN:
766s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
766s # break;
766s # case G_TYPE_UCHAR:
766s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
766s # break;
766s # case G_TYPE_INT:
766s # ret = (g_value_get_int (a) == g_value_get_int (b));
766s # break;
766s # case G_TYPE_UINT:
766s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
766s # break;
766s # case G_TYPE_INT64:
766s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
766s # break;
766s # case G_TYPE_UINT64:
766s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
766s # break;
766s # case G_TYPE_DOUBLE:
766s # {
766s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
766s # gdouble da = g_value_get_double (a);
766s # gdouble db = g_value_get_double (b);
766s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
766s # }
766s # break;
766s # case G_TYPE_STRING:
766s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
766s # break;
766s # case G_TYPE_VARIANT:
766s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
766s # break;
766s # default:
766s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
766s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
766s # else
766s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
766s # break;
766s # }
766s # return ret;
766s # }
766s #
766s # /* ------------------------------------------------------------------------
766s # * Code for interface GoodTypes
766s # * ------------------------------------------------------------------------
766s # */
766s #
766s # /**
766s # * SECTION:GoodTypes
766s # * @title: GoodTypes
766s # * @short_description: Generated C code for the GoodTypes D-Bus interface
766s # *
766s # * This section contains code for working with the GoodTypes D-Bus interface in C.
766s # */
766s #
766s # /* ---- Introspection data for GoodTypes ---- */
766s #
766s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
766s # {
766s # {
766s # -1,
766s # (gchar *) "GoodPropertyType",
766s # (gchar *) "si{s{b(ybnqiuxtdh)}}{yv}{nv}{dv}",
766s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
766s # NULL
766s # },
766s # "good-property-type",
766s # FALSE,
766s # TRUE
766s # };
766s #
766s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
766s # {
766s # &_good_types_property_info_good_property_type.parent_struct,
766s # NULL
766s # };
766s #
766s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
766s # {
766s # {
766s # -1,
766s # (gchar *) "GoodTypes",
766s # NULL,
766s # NULL,
766s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
766s # NULL
766s # },
766s # "good-types",
766s # };
766s #
766s #
766s # /**
766s # * good_types_interface_info:
766s # *
766s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
766s # *
766s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
766s # */
766s # GDBusInterfaceInfo *
766s # good_types_interface_info (void)
766s # {
766s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
766s # }
766s #
766s # /**
766s # * good_types_override_properties:
766s # * @klass: The class structure for a #GObject derived class.
766s # * @property_id_begin: The property id to assign to the first overridden property.
766s # *
766s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
766s # * The properties are overridden in the order they are defined.
766s # *
766s # * Returns: The last property id.
766s # */
766s # guint
766s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
766s # {
766s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
766s # return property_id_begin - 1;
766s # }
766s #
766s #
766s #
766s # /**
766s # * GoodTypes:
766s # *
766s # * Abstract interface type for the D-Bus interface GoodTypes.
766s # */
766s #
766s # /**
766s # * GoodTypesIface:
766s # * @parent_iface: The parent interface.
766s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
766s # *
766s # * Virtual table for the D-Bus interface GoodTypes.
766s # */
766s #
766s # typedef GoodTypesIface GoodTypesInterface;
766s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
766s #
766s # static void
766s # good_types_default_init (GoodTypesIface *iface)
766s # {
766s # /* GObject properties for D-Bus properties: */
766s # /**
766s # * GoodTypes:good-property-type:
766s # *
766s # * Represents the D-Bus property "GoodPropertyType".
766s # *
766s # * 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.
766s # */
766s # g_object_interface_install_property (iface,
766s # 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));
766s # }
766s #
766s # /**
766s # * good_types_get_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # *
766s # * Gets the value of the "GoodPropertyType" D-Bus property.
766s # *
766s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
766s # *
766s # * 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.
766s # *
766s # * 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.
766s # */
766s # GVariant *
766s # good_types_get_good_property_type (GoodTypes *object)
766s # {
766s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
766s #
766s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
766s # }
766s #
766s # /**
766s # * good_types_dup_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # *
766s # * Gets a copy of the "GoodPropertyType" D-Bus property.
766s # *
766s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
766s # *
766s # * 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().
766s # */
766s # GVariant *
766s # good_types_dup_good_property_type (GoodTypes *object)
766s # {
766s # GVariant *value;
766s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
766s # return value;
766s # }
766s #
766s # /**
766s # * good_types_set_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # * @value: The value to set.
766s # *
766s # * Sets the "GoodPropertyType" D-Bus property to @value.
766s # *
766s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
766s # */
766s # void
766s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
766s # {
766s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
766s # }
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * GoodTypesProxy:
766s # *
766s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * GoodTypesProxyClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for GoodTypesProxy.
766s # */
766s #
766s # struct _GoodTypesProxyPrivate
766s # {
766s # GData *qdata;
766s # };
766s #
766s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
766s # G_ADD_PRIVATE (GoodTypesProxy)
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
766s #
766s # #endif
766s # static void
766s # good_types_proxy_finalize (GObject *object)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
766s # g_datalist_clear (&proxy->priv->qdata);
766s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # good_types_proxy_get_property (GObject *object,
766s # guint prop_id,
766s # GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GVariant *variant;
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
766s # if (info->use_gvariant)
766s # {
766s # g_value_set_variant (value, variant);
766s # }
766s # else
766s # {
766s # if (variant != NULL)
766s # g_dbus_gvariant_to_gvalue (variant, value);
766s # }
766s # if (variant != NULL)
766s # g_variant_unref (variant);
766s # }
766s #
766s # static void
766s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
766s # GAsyncResult *res,
766s # gpointer user_data)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info = user_data;
766s # GError *error;
766s # GVariant *_ret;
766s # error = NULL;
766s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
766s # if (!_ret)
766s # {
766s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
766s # info->parent_struct.name,
766s # error->message, g_quark_to_string (error->domain), error->code);
766s # g_error_free (error);
766s # }
766s # else
766s # {
766s # g_variant_unref (_ret);
766s # }
766s # }
766s #
766s # static void
766s # good_types_proxy_set_property (GObject *object,
766s # guint prop_id,
766s # const GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GVariant *variant;
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_dbus_proxy_call (G_DBUS_PROXY (object),
766s # "org.freedesktop.DBus.Properties.Set",
766s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
766s # G_DBUS_CALL_FLAGS_NONE,
766s # -1,
766s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
766s # g_variant_unref (variant);
766s # }
766s #
766s # static void
766s # good_types_proxy_g_signal (GDBusProxy *proxy,
766s # const gchar *sender_name G_GNUC_UNUSED,
766s # const gchar *signal_name,
766s # GVariant *parameters)
766s # {
766s # _ExtendedGDBusSignalInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # gsize n;
766s # guint signal_id;
766s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
766s # if (info == NULL)
766s # return;
766s # num_params = g_variant_n_children (parameters);
766s # paramv = g_new0 (GValue, num_params + 1);
766s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
766s # g_value_set_object (¶mv[0], proxy);
766s # g_variant_iter_init (&iter, parameters);
766s # n = 1;
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
766s # g_signal_emitv (paramv, signal_id, 0, NULL);
766s # for (n = 0; n < num_params + 1; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static void
766s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
766s # GVariant *changed_properties,
766s # const gchar *const *invalidated_properties)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
766s # guint n;
766s # const gchar *key;
766s # GVariantIter *iter;
766s # _ExtendedGDBusPropertyInfo *info;
766s # g_variant_get (changed_properties, "a{sv}", &iter);
766s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
766s # g_datalist_remove_data (&proxy->priv->qdata, key);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # g_variant_iter_free (iter);
766s # for (n = 0; invalidated_properties[n] != NULL; n++)
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
766s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # }
766s #
766s # static GVariant *
766s # good_types_proxy_get_good_property_type (GoodTypes *object)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
766s # GVariant *variant;
766s # GVariant *value = NULL;
766s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
766s # value = variant;
766s # if (variant != NULL)
766s # g_variant_unref (variant);
766s # return value;
766s # }
766s #
766s # static void
766s # good_types_proxy_init (GoodTypesProxy *proxy)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # proxy->priv = good_types_proxy_get_instance_private (proxy);
766s # #else
766s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
766s # #endif
766s #
766s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
766s # }
766s #
766s # static void
766s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusProxyClass *proxy_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = good_types_proxy_finalize;
766s # gobject_class->get_property = good_types_proxy_get_property;
766s # gobject_class->set_property = good_types_proxy_set_property;
766s #
766s # proxy_class = G_DBUS_PROXY_CLASS (klass);
766s # proxy_class->g_signal = good_types_proxy_g_signal;
766s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
766s #
766s # good_types_override_properties (gobject_class, 1);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # good_types_proxy_iface_init (GoodTypesIface *iface)
766s # {
766s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
766s # *
766s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # good_types_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with good_types_proxy_new().
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_sync:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See good_types_proxy_new() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /**
766s # * good_types_proxy_new_for_bus:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
766s # *
766s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # good_types_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_for_bus_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with good_types_proxy_new_for_bus().
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_for_bus_sync:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * GoodTypesSkeleton:
766s # *
766s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * GoodTypesSkeletonClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for GoodTypesSkeleton.
766s # */
766s #
766s # struct _GoodTypesSkeletonPrivate
766s # {
766s # GValue *properties;
766s # GList *changed_properties;
766s # GSource *changed_properties_idle_source;
766s # GMainContext *context;
766s # GMutex lock;
766s # };
766s #
766s # static void
766s # _good_types_skeleton_handle_method_call (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name,
766s # const gchar *method_name,
766s # GVariant *parameters,
766s # GDBusMethodInvocation *invocation,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # _ExtendedGDBusMethodInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # guint num_extra;
766s # gsize n;
766s # guint signal_id;
766s # GValue return_value = G_VALUE_INIT;
766s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
766s # g_assert (info != NULL);
766s # num_params = g_variant_n_children (parameters);
766s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
766s # n = 0;
766s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
766s # g_value_set_object (¶mv[n++], skeleton);
766s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
766s # g_value_set_object (¶mv[n++], invocation);
766s # if (info->pass_fdlist)
766s # {
766s # #ifdef G_OS_UNIX
766s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
766s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
766s # #else
766s # g_assert_not_reached ();
766s # #endif
766s # }
766s # g_variant_iter_init (&iter, parameters);
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
766s # g_value_init (&return_value, G_TYPE_BOOLEAN);
766s # g_signal_emitv (paramv, signal_id, 0, &return_value);
766s # if (!g_value_get_boolean (&return_value))
766s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
766s # g_value_unset (&return_value);
766s # for (n = 0; n < num_params + num_extra; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static GVariant *
766s # _good_types_skeleton_handle_get_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # GVariant *ret;
766s # ret = NULL;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # g_value_init (&value, pspec->value_type);
766s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_value_unset (&value);
766s # }
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _good_types_skeleton_handle_set_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GVariant *variant,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # gboolean ret;
766s # ret = FALSE;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # if (info->use_gvariant)
766s # g_value_set_variant (&value, variant);
766s # else
766s # g_dbus_gvariant_to_gvalue (variant, &value);
766s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # g_value_unset (&value);
766s # ret = TRUE;
766s # }
766s # return ret;
766s # }
766s #
766s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
766s # {
766s # _good_types_skeleton_handle_method_call,
766s # _good_types_skeleton_handle_get_property,
766s # _good_types_skeleton_handle_set_property,
766s # {NULL}
766s # };
766s #
766s # static GDBusInterfaceInfo *
766s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return good_types_interface_info ();
766s # }
766s #
766s # static GDBusInterfaceVTable *
766s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
766s # }
766s #
766s # static GVariant *
766s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
766s #
766s # GVariantBuilder builder;
766s # guint n;
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #else
766s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #endif
766s # if (_good_types_interface_info.parent_struct.properties == NULL)
766s # goto out;
766s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
766s # {
766s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
766s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
766s # {
766s # GVariant *value;
766s # 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);
766s # if (value != NULL)
766s # {
766s # g_variant_take_ref (value);
766s # g_variant_builder_add (&builder, "{sv}", info->name, value);
766s # g_variant_unref (value);
766s # }
766s # }
766s # }
766s # out:
766s # return g_variant_builder_end (&builder);
766s # }
766s #
766s # static gboolean _good_types_emit_changed (gpointer user_data);
766s #
766s # static void
766s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
766s # gboolean emit_changed = FALSE;
766s #
766s # g_mutex_lock (&skeleton->priv->lock);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # {
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # skeleton->priv->changed_properties_idle_source = NULL;
766s # emit_changed = TRUE;
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s #
766s # if (emit_changed)
766s # _good_types_emit_changed (skeleton);
766s # }
766s #
766s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_ADD_PRIVATE (GoodTypesSkeleton)
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
766s #
766s # #endif
766s # static void
766s # good_types_skeleton_finalize (GObject *object)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # guint n;
766s # for (n = 0; n < 1; n++)
766s # g_value_unset (&skeleton->priv->properties[n]);
766s # g_free (skeleton->priv->properties);
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # g_main_context_unref (skeleton->priv->context);
766s # g_mutex_clear (&skeleton->priv->lock);
766s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # good_types_skeleton_get_property (GObject *object,
766s # guint prop_id,
766s # GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # g_mutex_lock (&skeleton->priv->lock);
766s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # }
766s #
766s # static gboolean
766s # _good_types_emit_changed (gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GList *l;
766s # GVariantBuilder builder;
766s # GVariantBuilder invalidated_builder;
766s # guint num_changes;
766s #
766s # g_mutex_lock (&skeleton->priv->lock);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
766s # #else
766s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
766s # #endif
766s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
766s # {
766s # ChangedProperty *cp = l->data;
766s # GVariant *variant;
766s # const GValue *cur_value;
766s #
766s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
766s # if (!_g_value_equal (cur_value, &cp->orig_value))
766s # {
766s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
766s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
766s # g_variant_unref (variant);
766s # num_changes++;
766s # }
766s # }
766s # if (num_changes > 0)
766s # {
766s # GList *connections, *ll;
766s # GVariant *signal_variant;
766s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
766s # &builder, &invalidated_builder));
766s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
766s # for (ll = connections; ll != NULL; ll = ll->next)
766s # {
766s # GDBusConnection *connection = ll->data;
766s #
766s # g_dbus_connection_emit_signal (connection,
766s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
766s # "org.freedesktop.DBus.Properties",
766s # "PropertiesChanged",
766s # signal_variant,
766s # NULL);
766s # }
766s # g_variant_unref (signal_variant);
766s # g_list_free_full (connections, g_object_unref);
766s # }
766s # else
766s # {
766s # g_variant_builder_clear (&builder);
766s # g_variant_builder_clear (&invalidated_builder);
766s # }
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # skeleton->priv->changed_properties = NULL;
766s # skeleton->priv->changed_properties_idle_source = NULL;
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # return FALSE;
766s # }
766s #
766s # static void
766s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
766s # {
766s # ChangedProperty *cp;
766s # GList *l;
766s # cp = NULL;
766s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
766s # {
766s # ChangedProperty *i_cp = l->data;
766s # if (i_cp->info == info)
766s # {
766s # cp = i_cp;
766s # break;
766s # }
766s # }
766s # if (cp == NULL)
766s # {
766s # cp = g_new0 (ChangedProperty, 1);
766s # cp->prop_id = prop_id;
766s # cp->info = info;
766s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
766s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
766s # g_value_copy (orig_value, &cp->orig_value);
766s # }
766s # }
766s #
766s # static void
766s # good_types_skeleton_notify (GObject *object,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_mutex_lock (&skeleton->priv->lock);
766s # if (skeleton->priv->changed_properties != NULL &&
766s # skeleton->priv->changed_properties_idle_source == NULL)
766s # {
766s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
766s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
766s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
766s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
766s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
766s # g_source_unref (skeleton->priv->changed_properties_idle_source);
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # }
766s #
766s # static void
766s # good_types_skeleton_set_property (GObject *object,
766s # guint prop_id,
766s # const GValue *value,
766s # GParamSpec *pspec)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # g_mutex_lock (&skeleton->priv->lock);
766s # g_object_freeze_notify (object);
766s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
766s # {
766s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
766s # info->emits_changed_signal)
766s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
766s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
766s # g_object_notify_by_pspec (object, pspec);
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # g_object_thaw_notify (object);
766s # }
766s #
766s # static void
766s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
766s # #else
766s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
766s # #endif
766s #
766s # g_mutex_init (&skeleton->priv->lock);
766s # skeleton->priv->context = g_main_context_ref_thread_default ();
766s # skeleton->priv->properties = g_new0 (GValue, 1);
766s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
766s # }
766s #
766s # static GVariant *
766s # good_types_skeleton_get_good_property_type (GoodTypes *object)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # GVariant *value;
766s # g_mutex_lock (&skeleton->priv->lock);
766s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # return value;
766s # }
766s #
766s # static void
766s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusInterfaceSkeletonClass *skeleton_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = good_types_skeleton_finalize;
766s # gobject_class->get_property = good_types_skeleton_get_property;
766s # gobject_class->set_property = good_types_skeleton_set_property;
766s # gobject_class->notify = good_types_skeleton_notify;
766s #
766s #
766s # good_types_override_properties (gobject_class, 1);
766s #
766s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
766s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
766s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
766s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
766s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # good_types_skeleton_iface_init (GoodTypesIface *iface)
766s # {
766s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
766s # }
766s #
766s # /**
766s # * good_types_skeleton_new:
766s # *
766s # * Creates a skeleton object for the D-Bus interface GoodTypes.
766s # *
766s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
766s # */
766s # GoodTypes *
766s # good_types_skeleton_new (void)
766s # {
766s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
766s # }
766s # Error:
766s #
766s # /tmp/tmpjds0kbzn/tmpc8x7ic28.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmpc8x7ic28.xml', '--output', '-', '--body']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifdef HAVE_CONFIG_H
766s # # include "config.h"
766s # #endif
766s #
766s # #include
766s # #ifdef G_OS_UNIX
766s # # include
766s # #endif
766s #
766s # #ifdef G_ENABLE_DEBUG
766s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
766s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
766s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
766s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
766s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
766s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
766s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
766s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
766s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
766s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
766s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
766s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
766s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
766s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
766s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
766s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
766s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
766s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
766s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
766s # #else /* !G_ENABLE_DEBUG */
766s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
766s # * Do not access GValues directly in your code. Instead, use the
766s # * g_value_get_*() functions
766s # */
766s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
766s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
766s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
766s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
766s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
766s # #endif /* !G_ENABLE_DEBUG */
766s #
766s # typedef struct
766s # {
766s # GDBusArgInfo parent_struct;
766s # gboolean use_gvariant;
766s # } _ExtendedGDBusArgInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusMethodInfo parent_struct;
766s # const gchar *signal_name;
766s # gboolean pass_fdlist;
766s # } _ExtendedGDBusMethodInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusSignalInfo parent_struct;
766s # const gchar *signal_name;
766s # } _ExtendedGDBusSignalInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusPropertyInfo parent_struct;
766s # const gchar *hyphen_name;
766s # guint use_gvariant : 1;
766s # guint emits_changed_signal : 1;
766s # } _ExtendedGDBusPropertyInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusInterfaceInfo parent_struct;
766s # const gchar *hyphen_name;
766s # } _ExtendedGDBusInterfaceInfo;
766s #
766s # typedef struct
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # guint prop_id;
766s # GValue orig_value; /* the value before the change */
766s # } ChangedProperty;
766s #
766s # static void
766s # _changed_property_free (ChangedProperty *data)
766s # {
766s # g_value_unset (&data->orig_value);
766s # g_free (data);
766s # }
766s #
766s # static gboolean
766s # _g_strv_equal0 (gchar **a, gchar **b)
766s # {
766s # gboolean ret = FALSE;
766s # guint n;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # if (g_strv_length (a) != g_strv_length (b))
766s # goto out;
766s # for (n = 0; a[n] != NULL; n++)
766s # if (g_strcmp0 (a[n], b[n]) != 0)
766s # goto out;
766s # ret = TRUE;
766s # out:
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _g_variant_equal0 (GVariant *a, GVariant *b)
766s # {
766s # gboolean ret = FALSE;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # ret = g_variant_equal (a, b);
766s # out:
766s # return ret;
766s # }
766s #
766s # G_GNUC_UNUSED static gboolean
766s # _g_value_equal (const GValue *a, const GValue *b)
766s # {
766s # gboolean ret = FALSE;
766s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
766s # switch (G_VALUE_TYPE (a))
766s # {
766s # case G_TYPE_BOOLEAN:
766s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
766s # break;
766s # case G_TYPE_UCHAR:
766s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
766s # break;
766s # case G_TYPE_INT:
766s # ret = (g_value_get_int (a) == g_value_get_int (b));
766s # break;
766s # case G_TYPE_UINT:
766s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
766s # break;
766s # case G_TYPE_INT64:
766s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
766s # break;
766s # case G_TYPE_UINT64:
766s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
766s # break;
766s # case G_TYPE_DOUBLE:
766s # {
766s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
766s # gdouble da = g_value_get_double (a);
766s # gdouble db = g_value_get_double (b);
766s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
766s # }
766s # break;
766s # case G_TYPE_STRING:
766s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
766s # break;
766s # case G_TYPE_VARIANT:
766s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
766s # break;
766s # default:
766s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
766s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
766s # else
766s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
766s # break;
766s # }
766s # return ret;
766s # }
766s #
766s # /* ------------------------------------------------------------------------
766s # * Code for interface GoodTypes
766s # * ------------------------------------------------------------------------
766s # */
766s #
766s # /**
766s # * SECTION:GoodTypes
766s # * @title: GoodTypes
766s # * @short_description: Generated C code for the GoodTypes D-Bus interface
766s # *
766s # * This section contains code for working with the GoodTypes D-Bus interface in C.
766s # */
766s #
766s # /* ---- Introspection data for GoodTypes ---- */
766s #
766s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
766s # {
766s # {
766s # -1,
766s # (gchar *) "GoodPropertyType",
766s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas",
766s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
766s # NULL
766s # },
766s # "good-property-type",
766s # FALSE,
766s # TRUE
766s # };
766s #
766s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
766s # {
766s # &_good_types_property_info_good_property_type.parent_struct,
766s # NULL
766s # };
766s #
766s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
766s # {
766s # {
766s # -1,
766s # (gchar *) "GoodTypes",
766s # NULL,
766s # NULL,
766s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
766s # NULL
766s # },
766s # "good-types",
766s # };
766s #
766s #
766s # /**
766s # * good_types_interface_info:
766s # *
766s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
766s # *
766s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
766s # */
766s # GDBusInterfaceInfo *
766s # good_types_interface_info (void)
766s # {
766s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
766s # }
766s #
766s # /**
766s # * good_types_override_properties:
766s # * @klass: The class structure for a #GObject derived class.
766s # * @property_id_begin: The property id to assign to the first overridden property.
766s # *
766s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
766s # * The properties are overridden in the order they are defined.
766s # *
766s # * Returns: The last property id.
766s # */
766s # guint
766s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
766s # {
766s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
766s # return property_id_begin - 1;
766s # }
766s #
766s #
766s #
766s # /**
766s # * GoodTypes:
766s # *
766s # * Abstract interface type for the D-Bus interface GoodTypes.
766s # */
766s #
766s # /**
766s # * GoodTypesIface:
766s # * @parent_iface: The parent interface.
766s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
766s # *
766s # * Virtual table for the D-Bus interface GoodTypes.
766s # */
766s #
766s # typedef GoodTypesIface GoodTypesInterface;
766s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
766s #
766s # static void
766s # good_types_default_init (GoodTypesIface *iface)
766s # {
766s # /* GObject properties for D-Bus properties: */
766s # /**
766s # * GoodTypes:good-property-type:
766s # *
766s # * Represents the D-Bus property "GoodPropertyType".
766s # *
766s # * 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.
766s # */
766s # g_object_interface_install_property (iface,
766s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaas"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
766s # }
766s #
766s # /**
766s # * good_types_get_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # *
766s # * Gets the value of the "GoodPropertyType" D-Bus property.
766s # *
766s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
766s # *
766s # * 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.
766s # *
766s # * 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.
766s # */
766s # GVariant *
766s # good_types_get_good_property_type (GoodTypes *object)
766s # {
766s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
766s #
766s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
766s # }
766s #
766s # /**
766s # * good_types_dup_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # *
766s # * Gets a copy of the "GoodPropertyType" D-Bus property.
766s # *
766s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
766s # *
766s # * 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().
766s # */
766s # GVariant *
766s # good_types_dup_good_property_type (GoodTypes *object)
766s # {
766s # GVariant *value;
766s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
766s # return value;
766s # }
766s #
766s # /**
766s # * good_types_set_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # * @value: The value to set.
766s # *
766s # * Sets the "GoodPropertyType" D-Bus property to @value.
766s # *
766s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
766s # */
766s # void
766s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
766s # {
766s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
766s # }
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * GoodTypesProxy:
766s # *
766s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * GoodTypesProxyClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for GoodTypesProxy.
766s # */
766s #
766s # struct _GoodTypesProxyPrivate
766s # {
766s # GData *qdata;
766s # };
766s #
766s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
766s # G_ADD_PRIVATE (GoodTypesProxy)
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
766s #
766s # #endif
766s # static void
766s # good_types_proxy_finalize (GObject *object)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
766s # g_datalist_clear (&proxy->priv->qdata);
766s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # good_types_proxy_get_property (GObject *object,
766s # guint prop_id,
766s # GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GVariant *variant;
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
766s # if (info->use_gvariant)
766s # {
766s # g_value_set_variant (value, variant);
766s # }
766s # else
766s # {
766s # if (variant != NULL)
766s # g_dbus_gvariant_to_gvalue (variant, value);
766s # }
766s # if (variant != NULL)
766s # g_variant_unref (variant);
766s # }
766s #
766s # static void
766s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
766s # GAsyncResult *res,
766s # gpointer user_data)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info = user_data;
766s # GError *error;
766s # GVariant *_ret;
766s # error = NULL;
766s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
766s # if (!_ret)
766s # {
766s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
766s # info->parent_struct.name,
766s # error->message, g_quark_to_string (error->domain), error->code);
766s # g_error_free (error);
766s # }
766s # else
766s # {
766s # g_variant_unref (_ret);
766s # }
766s # }
766s #
766s # static void
766s # good_types_proxy_set_property (GObject *object,
766s # guint prop_id,
766s # const GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GVariant *variant;
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_dbus_proxy_call (G_DBUS_PROXY (object),
766s # "org.freedesktop.DBus.Properties.Set",
766s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
766s # G_DBUS_CALL_FLAGS_NONE,
766s # -1,
766s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
766s # g_variant_unref (variant);
766s # }
766s #
766s # static void
766s # good_types_proxy_g_signal (GDBusProxy *proxy,
766s # const gchar *sender_name G_GNUC_UNUSED,
766s # const gchar *signal_name,
766s # GVariant *parameters)
766s # {
766s # _ExtendedGDBusSignalInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # gsize n;
766s # guint signal_id;
766s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
766s # if (info == NULL)
766s # return;
766s # num_params = g_variant_n_children (parameters);
766s # paramv = g_new0 (GValue, num_params + 1);
766s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
766s # g_value_set_object (¶mv[0], proxy);
766s # g_variant_iter_init (&iter, parameters);
766s # n = 1;
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
766s # g_signal_emitv (paramv, signal_id, 0, NULL);
766s # for (n = 0; n < num_params + 1; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static void
766s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
766s # GVariant *changed_properties,
766s # const gchar *const *invalidated_properties)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
766s # guint n;
766s # const gchar *key;
766s # GVariantIter *iter;
766s # _ExtendedGDBusPropertyInfo *info;
766s # g_variant_get (changed_properties, "a{sv}", &iter);
766s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
766s # g_datalist_remove_data (&proxy->priv->qdata, key);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # g_variant_iter_free (iter);
766s # for (n = 0; invalidated_properties[n] != NULL; n++)
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
766s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # }
766s #
766s # static GVariant *
766s # good_types_proxy_get_good_property_type (GoodTypes *object)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
766s # GVariant *variant;
766s # GVariant *value = NULL;
766s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
766s # value = variant;
766s # if (variant != NULL)
766s # g_variant_unref (variant);
766s # return value;
766s # }
766s #
766s # static void
766s # good_types_proxy_init (GoodTypesProxy *proxy)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # proxy->priv = good_types_proxy_get_instance_private (proxy);
766s # #else
766s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
766s # #endif
766s #
766s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
766s # }
766s #
766s # static void
766s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusProxyClass *proxy_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = good_types_proxy_finalize;
766s # gobject_class->get_property = good_types_proxy_get_property;
766s # gobject_class->set_property = good_types_proxy_set_property;
766s #
766s # proxy_class = G_DBUS_PROXY_CLASS (klass);
766s # proxy_class->g_signal = good_types_proxy_g_signal;
766s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
766s #
766s # good_types_override_properties (gobject_class, 1);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # good_types_proxy_iface_init (GoodTypesIface *iface)
766s # {
766s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
766s # *
766s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # good_types_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with good_types_proxy_new().
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_sync:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See good_types_proxy_new() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /**
766s # * good_types_proxy_new_for_bus:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
766s # *
766s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # good_types_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_for_bus_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with good_types_proxy_new_for_bus().
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_for_bus_sync:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * GoodTypesSkeleton:
766s # *
766s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * GoodTypesSkeletonClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for GoodTypesSkeleton.
766s # */
766s #
766s # struct _GoodTypesSkeletonPrivate
766s # {
766s # GValue *properties;
766s # GList *changed_properties;
766s # GSource *changed_properties_idle_source;
766s # GMainContext *context;
766s # GMutex lock;
766s # };
766s #
766s # static void
766s # _good_types_skeleton_handle_method_call (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name,
766s # const gchar *method_name,
766s # GVariant *parameters,
766s # GDBusMethodInvocation *invocation,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # _ExtendedGDBusMethodInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # guint num_extra;
766s # gsize n;
766s # guint signal_id;
766s # GValue return_value = G_VALUE_INIT;
766s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
766s # g_assert (info != NULL);
766s # num_params = g_variant_n_children (parameters);
766s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
766s # n = 0;
766s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
766s # g_value_set_object (¶mv[n++], skeleton);
766s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
766s # g_value_set_object (¶mv[n++], invocation);
766s # if (info->pass_fdlist)
766s # {
766s # #ifdef G_OS_UNIX
766s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
766s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
766s # #else
766s # g_assert_not_reached ();
766s # #endif
766s # }
766s # g_variant_iter_init (&iter, parameters);
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
766s # g_value_init (&return_value, G_TYPE_BOOLEAN);
766s # g_signal_emitv (paramv, signal_id, 0, &return_value);
766s # if (!g_value_get_boolean (&return_value))
766s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
766s # g_value_unset (&return_value);
766s # for (n = 0; n < num_params + num_extra; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static GVariant *
766s # _good_types_skeleton_handle_get_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # GVariant *ret;
766s # ret = NULL;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # g_value_init (&value, pspec->value_type);
766s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_value_unset (&value);
766s # }
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _good_types_skeleton_handle_set_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GVariant *variant,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # gboolean ret;
766s # ret = FALSE;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # if (info->use_gvariant)
766s # g_value_set_variant (&value, variant);
766s # else
766s # g_dbus_gvariant_to_gvalue (variant, &value);
766s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # g_value_unset (&value);
766s # ret = TRUE;
766s # }
766s # return ret;
766s # }
766s #
766s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
766s # {
766s # _good_types_skeleton_handle_method_call,
766s # _good_types_skeleton_handle_get_property,
766s # _good_types_skeleton_handle_set_property,
766s # {NULL}
766s # };
766s #
766s # static GDBusInterfaceInfo *
766s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return good_types_interface_info ();
766s # }
766s #
766s # static GDBusInterfaceVTable *
766s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
766s # }
766s #
766s # static GVariant *
766s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
766s #
766s # GVariantBuilder builder;
766s # guint n;
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #else
766s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #endif
766s # if (_good_types_interface_info.parent_struct.properties == NULL)
766s # goto out;
766s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
766s # {
766s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
766s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
766s # {
766s # GVariant *value;
766s # 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);
766s # if (value != NULL)
766s # {
766s # g_variant_take_ref (value);
766s # g_variant_builder_add (&builder, "{sv}", info->name, value);
766s # g_variant_unref (value);
766s # }
766s # }
766s # }
766s # out:
766s # return g_variant_builder_end (&builder);
766s # }
766s #
766s # static gboolean _good_types_emit_changed (gpointer user_data);
766s #
766s # static void
766s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
766s # gboolean emit_changed = FALSE;
766s #
766s # g_mutex_lock (&skeleton->priv->lock);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # {
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # skeleton->priv->changed_properties_idle_source = NULL;
766s # emit_changed = TRUE;
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s #
766s # if (emit_changed)
766s # _good_types_emit_changed (skeleton);
766s # }
766s #
766s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_ADD_PRIVATE (GoodTypesSkeleton)
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
766s #
766s # #endif
766s # static void
766s # good_types_skeleton_finalize (GObject *object)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # guint n;
766s # for (n = 0; n < 1; n++)
766s # g_value_unset (&skeleton->priv->properties[n]);
766s # g_free (skeleton->priv->properties);
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # g_main_context_unref (skeleton->priv->context);
766s # g_mutex_clear (&skeleton->priv->lock);
766s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # good_types_skeleton_get_property (GObject *object,
766s # guint prop_id,
766s # GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # g_mutex_lock (&skeleton->priv->lock);
766s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # }
766s #
766s # static gboolean
766s # _good_types_emit_changed (gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GList *l;
766s # GVariantBuilder builder;
766s # GVariantBuilder invalidated_builder;
766s # guint num_changes;
766s #
766s # g_mutex_lock (&skeleton->priv->lock);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
766s # #else
766s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
766s # #endif
766s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
766s # {
766s # ChangedProperty *cp = l->data;
766s # GVariant *variant;
766s # const GValue *cur_value;
766s #
766s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
766s # if (!_g_value_equal (cur_value, &cp->orig_value))
766s # {
766s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
766s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
766s # g_variant_unref (variant);
766s # num_changes++;
766s # }
766s # }
766s # if (num_changes > 0)
766s # {
766s # GList *connections, *ll;
766s # GVariant *signal_variant;
766s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
766s # &builder, &invalidated_builder));
766s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
766s # for (ll = connections; ll != NULL; ll = ll->next)
766s # {
766s # GDBusConnection *connection = ll->data;
766s #
766s # g_dbus_connection_emit_signal (connection,
766s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
766s # "org.freedesktop.DBus.Properties",
766s # "PropertiesChanged",
766s # signal_variant,
766s # NULL);
766s # }
766s # g_variant_unref (signal_variant);
766s # g_list_free_full (connections, g_object_unref);
766s # }
766s # else
766s # {
766s # g_variant_builder_clear (&builder);
766s # g_variant_builder_clear (&invalidated_builder);
766s # }
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # skeleton->priv->changed_properties = NULL;
766s # skeleton->priv->changed_properties_idle_source = NULL;
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # return FALSE;
766s # }
766s #
766s # static void
766s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
766s # {
766s # ChangedProperty *cp;
766s # GList *l;
766s # cp = NULL;
766s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
766s # {
766s # ChangedProperty *i_cp = l->data;
766s # if (i_cp->info == info)
766s # {
766s # cp = i_cp;
766s # break;
766s # }
766s # }
766s # if (cp == NULL)
766s # {
766s # cp = g_new0 (ChangedProperty, 1);
766s # cp->prop_id = prop_id;
766s # cp->info = info;
766s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
766s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
766s # g_value_copy (orig_value, &cp->orig_value);
766s # }
766s # }
766s #
766s # static void
766s # good_types_skeleton_notify (GObject *object,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_mutex_lock (&skeleton->priv->lock);
766s # if (skeleton->priv->changed_properties != NULL &&
766s # skeleton->priv->changed_properties_idle_source == NULL)
766s # {
766s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
766s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
766s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
766s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
766s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
766s # g_source_unref (skeleton->priv->changed_properties_idle_source);
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # }
766s #
766s # static void
766s # good_types_skeleton_set_property (GObject *object,
766s # guint prop_id,
766s # const GValue *value,
766s # GParamSpec *pspec)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # g_mutex_lock (&skeleton->priv->lock);
766s # g_object_freeze_notify (object);
766s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
766s # {
766s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
766s # info->emits_changed_signal)
766s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
766s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
766s # g_object_notify_by_pspec (object, pspec);
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # g_object_thaw_notify (object);
766s # }
766s #
766s # static void
766s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
766s # #else
766s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
766s # #endif
766s #
766s # g_mutex_init (&skeleton->priv->lock);
766s # skeleton->priv->context = g_main_context_ref_thread_default ();
766s # skeleton->priv->properties = g_new0 (GValue, 1);
766s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
766s # }
766s #
766s # static GVariant *
766s # good_types_skeleton_get_good_property_type (GoodTypes *object)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # GVariant *value;
766s # g_mutex_lock (&skeleton->priv->lock);
766s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # return value;
766s # }
766s #
766s # static void
766s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusInterfaceSkeletonClass *skeleton_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = good_types_skeleton_finalize;
766s # gobject_class->get_property = good_types_skeleton_get_property;
766s # gobject_class->set_property = good_types_skeleton_set_property;
766s # gobject_class->notify = good_types_skeleton_notify;
766s #
766s #
766s # good_types_override_properties (gobject_class, 1);
766s #
766s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
766s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
766s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
766s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
766s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # good_types_skeleton_iface_init (GoodTypesIface *iface)
766s # {
766s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
766s # }
766s #
766s # /**
766s # * good_types_skeleton_new:
766s # *
766s # * Creates a skeleton object for the D-Bus interface GoodTypes.
766s # *
766s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
766s # */
766s # GoodTypes *
766s # good_types_skeleton_new (void)
766s # {
766s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
766s # }
766s # Error:
766s #
766s # /tmp/tmpjds0kbzn/tmp215rgu3a.xml:
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjds0kbzn/tmp215rgu3a.xml', '--output', '-', '--body']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifdef HAVE_CONFIG_H
766s # # include "config.h"
766s # #endif
766s #
766s # #include
766s # #ifdef G_OS_UNIX
766s # # include
766s # #endif
766s #
766s # #ifdef G_ENABLE_DEBUG
766s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
766s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
766s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
766s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
766s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
766s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
766s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
766s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
766s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
766s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
766s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
766s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
766s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
766s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
766s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
766s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
766s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
766s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
766s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
766s # #else /* !G_ENABLE_DEBUG */
766s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
766s # * Do not access GValues directly in your code. Instead, use the
766s # * g_value_get_*() functions
766s # */
766s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
766s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
766s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
766s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
766s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
766s # #endif /* !G_ENABLE_DEBUG */
766s #
766s # typedef struct
766s # {
766s # GDBusArgInfo parent_struct;
766s # gboolean use_gvariant;
766s # } _ExtendedGDBusArgInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusMethodInfo parent_struct;
766s # const gchar *signal_name;
766s # gboolean pass_fdlist;
766s # } _ExtendedGDBusMethodInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusSignalInfo parent_struct;
766s # const gchar *signal_name;
766s # } _ExtendedGDBusSignalInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusPropertyInfo parent_struct;
766s # const gchar *hyphen_name;
766s # guint use_gvariant : 1;
766s # guint emits_changed_signal : 1;
766s # } _ExtendedGDBusPropertyInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusInterfaceInfo parent_struct;
766s # const gchar *hyphen_name;
766s # } _ExtendedGDBusInterfaceInfo;
766s #
766s # typedef struct
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # guint prop_id;
766s # GValue orig_value; /* the value before the change */
766s # } ChangedProperty;
766s #
766s # static void
766s # _changed_property_free (ChangedProperty *data)
766s # {
766s # g_value_unset (&data->orig_value);
766s # g_free (data);
766s # }
766s #
766s # static gboolean
766s # _g_strv_equal0 (gchar **a, gchar **b)
766s # {
766s # gboolean ret = FALSE;
766s # guint n;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # if (g_strv_length (a) != g_strv_length (b))
766s # goto out;
766s # for (n = 0; a[n] != NULL; n++)
766s # if (g_strcmp0 (a[n], b[n]) != 0)
766s # goto out;
766s # ret = TRUE;
766s # out:
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _g_variant_equal0 (GVariant *a, GVariant *b)
766s # {
766s # gboolean ret = FALSE;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # ret = g_variant_equal (a, b);
766s # out:
766s # return ret;
766s # }
766s #
766s # G_GNUC_UNUSED static gboolean
766s # _g_value_equal (const GValue *a, const GValue *b)
766s # {
766s # gboolean ret = FALSE;
766s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
766s # switch (G_VALUE_TYPE (a))
766s # {
766s # case G_TYPE_BOOLEAN:
766s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
766s # break;
766s # case G_TYPE_UCHAR:
766s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
766s # break;
766s # case G_TYPE_INT:
766s # ret = (g_value_get_int (a) == g_value_get_int (b));
766s # break;
766s # case G_TYPE_UINT:
766s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
766s # break;
766s # case G_TYPE_INT64:
766s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
766s # break;
766s # case G_TYPE_UINT64:
766s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
766s # break;
766s # case G_TYPE_DOUBLE:
766s # {
766s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
766s # gdouble da = g_value_get_double (a);
766s # gdouble db = g_value_get_double (b);
766s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
766s # }
766s # break;
766s # case G_TYPE_STRING:
766s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
766s # break;
766s # case G_TYPE_VARIANT:
766s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
766s # break;
766s # default:
766s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
766s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
766s # else
766s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
766s # break;
766s # }
766s # return ret;
766s # }
766s #
766s # /* ------------------------------------------------------------------------
766s # * Code for interface GoodTypes
766s # * ------------------------------------------------------------------------
766s # */
766s #
766s # /**
766s # * SECTION:GoodTypes
766s # * @title: GoodTypes
766s # * @short_description: Generated C code for the GoodTypes D-Bus interface
766s # *
766s # * This section contains code for working with the GoodTypes D-Bus interface in C.
766s # */
766s #
766s # /* ---- Introspection data for GoodTypes ---- */
766s #
766s # static const _ExtendedGDBusPropertyInfo _good_types_property_info_good_property_type =
766s # {
766s # {
766s # -1,
766s # (gchar *) "GoodPropertyType",
766s # (gchar *) "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})",
766s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
766s # NULL
766s # },
766s # "good-property-type",
766s # FALSE,
766s # TRUE
766s # };
766s #
766s # static const GDBusPropertyInfo * const _good_types_property_info_pointers[] =
766s # {
766s # &_good_types_property_info_good_property_type.parent_struct,
766s # NULL
766s # };
766s #
766s # static const _ExtendedGDBusInterfaceInfo _good_types_interface_info =
766s # {
766s # {
766s # -1,
766s # (gchar *) "GoodTypes",
766s # NULL,
766s # NULL,
766s # (GDBusPropertyInfo **) &_good_types_property_info_pointers,
766s # NULL
766s # },
766s # "good-types",
766s # };
766s #
766s #
766s # /**
766s # * good_types_interface_info:
766s # *
766s # * Gets a machine-readable description of the GoodTypes D-Bus interface.
766s # *
766s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
766s # */
766s # GDBusInterfaceInfo *
766s # good_types_interface_info (void)
766s # {
766s # return (GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct;
766s # }
766s #
766s # /**
766s # * good_types_override_properties:
766s # * @klass: The class structure for a #GObject derived class.
766s # * @property_id_begin: The property id to assign to the first overridden property.
766s # *
766s # * Overrides all #GObject properties in the GoodTypes interface for a concrete class.
766s # * The properties are overridden in the order they are defined.
766s # *
766s # * Returns: The last property id.
766s # */
766s # guint
766s # good_types_override_properties (GObjectClass *klass, guint property_id_begin)
766s # {
766s # g_object_class_override_property (klass, property_id_begin++, "good-property-type");
766s # return property_id_begin - 1;
766s # }
766s #
766s #
766s #
766s # /**
766s # * GoodTypes:
766s # *
766s # * Abstract interface type for the D-Bus interface GoodTypes.
766s # */
766s #
766s # /**
766s # * GoodTypesIface:
766s # * @parent_iface: The parent interface.
766s # * @get_good_property_type: Getter for the #GoodTypes:good-property-type property.
766s # *
766s # * Virtual table for the D-Bus interface GoodTypes.
766s # */
766s #
766s # typedef GoodTypesIface GoodTypesInterface;
766s # G_DEFINE_INTERFACE (GoodTypes, good_types, G_TYPE_OBJECT)
766s #
766s # static void
766s # good_types_default_init (GoodTypesIface *iface)
766s # {
766s # /* GObject properties for D-Bus properties: */
766s # /**
766s # * GoodTypes:good-property-type:
766s # *
766s # * Represents the D-Bus property "GoodPropertyType".
766s # *
766s # * 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.
766s # */
766s # g_object_interface_install_property (iface,
766s # g_param_spec_variant ("good-property-type", "GoodPropertyType", "GoodPropertyType", G_VARIANT_TYPE ("aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaa{sv})"), NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
766s # }
766s #
766s # /**
766s # * good_types_get_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # *
766s # * Gets the value of the "GoodPropertyType" D-Bus property.
766s # *
766s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
766s # *
766s # * 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.
766s # *
766s # * 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.
766s # */
766s # GVariant *
766s # good_types_get_good_property_type (GoodTypes *object)
766s # {
766s # g_return_val_if_fail (IS_GOOD_TYPES (object), NULL);
766s #
766s # return GOOD_TYPES_GET_IFACE (object)->get_good_property_type (object);
766s # }
766s #
766s # /**
766s # * good_types_dup_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # *
766s # * Gets a copy of the "GoodPropertyType" D-Bus property.
766s # *
766s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
766s # *
766s # * 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().
766s # */
766s # GVariant *
766s # good_types_dup_good_property_type (GoodTypes *object)
766s # {
766s # GVariant *value;
766s # g_object_get (G_OBJECT (object), "good-property-type", &value, NULL);
766s # return value;
766s # }
766s #
766s # /**
766s # * good_types_set_good_property_type: (skip)
766s # * @object: A GoodTypes.
766s # * @value: The value to set.
766s # *
766s # * Sets the "GoodPropertyType" D-Bus property to @value.
766s # *
766s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
766s # */
766s # void
766s # good_types_set_good_property_type (GoodTypes *object, GVariant *value)
766s # {
766s # g_object_set (G_OBJECT (object), "good-property-type", value, NULL);
766s # }
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * GoodTypesProxy:
766s # *
766s # * The GoodTypesProxy structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * GoodTypesProxyClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for GoodTypesProxy.
766s # */
766s #
766s # struct _GoodTypesProxyPrivate
766s # {
766s # GData *qdata;
766s # };
766s #
766s # static void good_types_proxy_iface_init (GoodTypesIface *iface);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
766s # G_ADD_PRIVATE (GoodTypesProxy)
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesProxy, good_types_proxy, G_TYPE_DBUS_PROXY,
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_proxy_iface_init))
766s #
766s # #endif
766s # static void
766s # good_types_proxy_finalize (GObject *object)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
766s # g_datalist_clear (&proxy->priv->qdata);
766s # G_OBJECT_CLASS (good_types_proxy_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # good_types_proxy_get_property (GObject *object,
766s # guint prop_id,
766s # GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GVariant *variant;
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
766s # if (info->use_gvariant)
766s # {
766s # g_value_set_variant (value, variant);
766s # }
766s # else
766s # {
766s # if (variant != NULL)
766s # g_dbus_gvariant_to_gvalue (variant, value);
766s # }
766s # if (variant != NULL)
766s # g_variant_unref (variant);
766s # }
766s #
766s # static void
766s # good_types_proxy_set_property_cb (GDBusProxy *proxy,
766s # GAsyncResult *res,
766s # gpointer user_data)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info = user_data;
766s # GError *error;
766s # GVariant *_ret;
766s # error = NULL;
766s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
766s # if (!_ret)
766s # {
766s # g_warning ("Error setting property '%s' on interface GoodTypes: %s (%s, %d)",
766s # info->parent_struct.name,
766s # error->message, g_quark_to_string (error->domain), error->code);
766s # g_error_free (error);
766s # }
766s # else
766s # {
766s # g_variant_unref (_ret);
766s # }
766s # }
766s #
766s # static void
766s # good_types_proxy_set_property (GObject *object,
766s # guint prop_id,
766s # const GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GVariant *variant;
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_dbus_proxy_call (G_DBUS_PROXY (object),
766s # "org.freedesktop.DBus.Properties.Set",
766s # g_variant_new ("(ssv)", "GoodTypes", info->parent_struct.name, variant),
766s # G_DBUS_CALL_FLAGS_NONE,
766s # -1,
766s # NULL, (GAsyncReadyCallback) good_types_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
766s # g_variant_unref (variant);
766s # }
766s #
766s # static void
766s # good_types_proxy_g_signal (GDBusProxy *proxy,
766s # const gchar *sender_name G_GNUC_UNUSED,
766s # const gchar *signal_name,
766s # GVariant *parameters)
766s # {
766s # _ExtendedGDBusSignalInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # gsize n;
766s # guint signal_id;
766s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, signal_name);
766s # if (info == NULL)
766s # return;
766s # num_params = g_variant_n_children (parameters);
766s # paramv = g_new0 (GValue, num_params + 1);
766s # g_value_init (¶mv[0], TYPE_GOOD_TYPES);
766s # g_value_set_object (¶mv[0], proxy);
766s # g_variant_iter_init (&iter, parameters);
766s # n = 1;
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
766s # g_signal_emitv (paramv, signal_id, 0, NULL);
766s # for (n = 0; n < num_params + 1; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static void
766s # good_types_proxy_g_properties_changed (GDBusProxy *_proxy,
766s # GVariant *changed_properties,
766s # const gchar *const *invalidated_properties)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (_proxy);
766s # guint n;
766s # const gchar *key;
766s # GVariantIter *iter;
766s # _ExtendedGDBusPropertyInfo *info;
766s # g_variant_get (changed_properties, "a{sv}", &iter);
766s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, key);
766s # g_datalist_remove_data (&proxy->priv->qdata, key);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # g_variant_iter_free (iter);
766s # for (n = 0; invalidated_properties[n] != NULL; n++)
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, invalidated_properties[n]);
766s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # }
766s #
766s # static GVariant *
766s # good_types_proxy_get_good_property_type (GoodTypes *object)
766s # {
766s # GoodTypesProxy *proxy = GOOD_TYPES_PROXY (object);
766s # GVariant *variant;
766s # GVariant *value = NULL;
766s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "GoodPropertyType");
766s # value = variant;
766s # if (variant != NULL)
766s # g_variant_unref (variant);
766s # return value;
766s # }
766s #
766s # static void
766s # good_types_proxy_init (GoodTypesProxy *proxy)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # proxy->priv = good_types_proxy_get_instance_private (proxy);
766s # #else
766s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_GOOD_TYPES_PROXY, GoodTypesProxyPrivate);
766s # #endif
766s #
766s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), good_types_interface_info ());
766s # }
766s #
766s # static void
766s # good_types_proxy_class_init (GoodTypesProxyClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusProxyClass *proxy_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = good_types_proxy_finalize;
766s # gobject_class->get_property = good_types_proxy_get_property;
766s # gobject_class->set_property = good_types_proxy_set_property;
766s #
766s # proxy_class = G_DBUS_PROXY_CLASS (klass);
766s # proxy_class->g_signal = good_types_proxy_g_signal;
766s # proxy_class->g_properties_changed = good_types_proxy_g_properties_changed;
766s #
766s # good_types_override_properties (gobject_class, 1);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (GoodTypesProxyPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # good_types_proxy_iface_init (GoodTypesIface *iface)
766s # {
766s # iface->get_good_property_type = good_types_proxy_get_good_property_type;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Asynchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new() for more details.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call good_types_proxy_new_finish() to get the result of the operation.
766s # *
766s # * See good_types_proxy_new_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # good_types_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with good_types_proxy_new().
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_sync:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Synchronously creates a proxy for the D-Bus interface GoodTypes. See g_dbus_proxy_new_sync() for more details.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See good_types_proxy_new() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /**
766s # * good_types_proxy_new_for_bus:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Like good_types_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call good_types_proxy_new_for_bus_finish() to get the result of the operation.
766s # *
766s # * See good_types_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # good_types_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_for_bus_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to good_types_proxy_new_for_bus().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with good_types_proxy_new_for_bus().
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * good_types_proxy_new_for_bus_sync:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Like good_types_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See good_types_proxy_new_for_bus() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type GoodTypesProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # GoodTypes *
766s # good_types_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return GOOD_TYPES (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * GoodTypesSkeleton:
766s # *
766s # * The GoodTypesSkeleton structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * GoodTypesSkeletonClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for GoodTypesSkeleton.
766s # */
766s #
766s # struct _GoodTypesSkeletonPrivate
766s # {
766s # GValue *properties;
766s # GList *changed_properties;
766s # GSource *changed_properties_idle_source;
766s # GMainContext *context;
766s # GMutex lock;
766s # };
766s #
766s # static void
766s # _good_types_skeleton_handle_method_call (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name,
766s # const gchar *method_name,
766s # GVariant *parameters,
766s # GDBusMethodInvocation *invocation,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # _ExtendedGDBusMethodInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # guint num_extra;
766s # gsize n;
766s # guint signal_id;
766s # GValue return_value = G_VALUE_INIT;
766s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
766s # g_assert (info != NULL);
766s # num_params = g_variant_n_children (parameters);
766s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
766s # n = 0;
766s # g_value_init (¶mv[n], TYPE_GOOD_TYPES);
766s # g_value_set_object (¶mv[n++], skeleton);
766s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
766s # g_value_set_object (¶mv[n++], invocation);
766s # if (info->pass_fdlist)
766s # {
766s # #ifdef G_OS_UNIX
766s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
766s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
766s # #else
766s # g_assert_not_reached ();
766s # #endif
766s # }
766s # g_variant_iter_init (&iter, parameters);
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_GOOD_TYPES);
766s # g_value_init (&return_value, G_TYPE_BOOLEAN);
766s # g_signal_emitv (paramv, signal_id, 0, &return_value);
766s # if (!g_value_get_boolean (&return_value))
766s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
766s # g_value_unset (&return_value);
766s # for (n = 0; n < num_params + num_extra; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static GVariant *
766s # _good_types_skeleton_handle_get_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # GVariant *ret;
766s # ret = NULL;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # g_value_init (&value, pspec->value_type);
766s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_value_unset (&value);
766s # }
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _good_types_skeleton_handle_set_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GVariant *variant,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # gboolean ret;
766s # ret = FALSE;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_good_types_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # if (info->use_gvariant)
766s # g_value_set_variant (&value, variant);
766s # else
766s # g_dbus_gvariant_to_gvalue (variant, &value);
766s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # g_value_unset (&value);
766s # ret = TRUE;
766s # }
766s # return ret;
766s # }
766s #
766s # static const GDBusInterfaceVTable _good_types_skeleton_vtable =
766s # {
766s # _good_types_skeleton_handle_method_call,
766s # _good_types_skeleton_handle_get_property,
766s # _good_types_skeleton_handle_set_property,
766s # {NULL}
766s # };
766s #
766s # static GDBusInterfaceInfo *
766s # good_types_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return good_types_interface_info ();
766s # }
766s #
766s # static GDBusInterfaceVTable *
766s # good_types_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return (GDBusInterfaceVTable *) &_good_types_skeleton_vtable;
766s # }
766s #
766s # static GVariant *
766s # good_types_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
766s #
766s # GVariantBuilder builder;
766s # guint n;
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #else
766s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #endif
766s # if (_good_types_interface_info.parent_struct.properties == NULL)
766s # goto out;
766s # for (n = 0; _good_types_interface_info.parent_struct.properties[n] != NULL; n++)
766s # {
766s # GDBusPropertyInfo *info = _good_types_interface_info.parent_struct.properties[n];
766s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
766s # {
766s # GVariant *value;
766s # 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);
766s # if (value != NULL)
766s # {
766s # g_variant_take_ref (value);
766s # g_variant_builder_add (&builder, "{sv}", info->name, value);
766s # g_variant_unref (value);
766s # }
766s # }
766s # }
766s # out:
766s # return g_variant_builder_end (&builder);
766s # }
766s #
766s # static gboolean _good_types_emit_changed (gpointer user_data);
766s #
766s # static void
766s # good_types_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (_skeleton);
766s # gboolean emit_changed = FALSE;
766s #
766s # g_mutex_lock (&skeleton->priv->lock);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # {
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # skeleton->priv->changed_properties_idle_source = NULL;
766s # emit_changed = TRUE;
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s #
766s # if (emit_changed)
766s # _good_types_emit_changed (skeleton);
766s # }
766s #
766s # static void good_types_skeleton_iface_init (GoodTypesIface *iface);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_ADD_PRIVATE (GoodTypesSkeleton)
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (GoodTypesSkeleton, good_types_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_IMPLEMENT_INTERFACE (TYPE_GOOD_TYPES, good_types_skeleton_iface_init))
766s #
766s # #endif
766s # static void
766s # good_types_skeleton_finalize (GObject *object)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # guint n;
766s # for (n = 0; n < 1; n++)
766s # g_value_unset (&skeleton->priv->properties[n]);
766s # g_free (skeleton->priv->properties);
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # g_main_context_unref (skeleton->priv->context);
766s # g_mutex_clear (&skeleton->priv->lock);
766s # G_OBJECT_CLASS (good_types_skeleton_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # good_types_skeleton_get_property (GObject *object,
766s # guint prop_id,
766s # GValue *value,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # g_mutex_lock (&skeleton->priv->lock);
766s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # }
766s #
766s # static gboolean
766s # _good_types_emit_changed (gpointer user_data)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (user_data);
766s # GList *l;
766s # GVariantBuilder builder;
766s # GVariantBuilder invalidated_builder;
766s # guint num_changes;
766s #
766s # g_mutex_lock (&skeleton->priv->lock);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
766s # #else
766s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
766s # #endif
766s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
766s # {
766s # ChangedProperty *cp = l->data;
766s # GVariant *variant;
766s # const GValue *cur_value;
766s #
766s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
766s # if (!_g_value_equal (cur_value, &cp->orig_value))
766s # {
766s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
766s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
766s # g_variant_unref (variant);
766s # num_changes++;
766s # }
766s # }
766s # if (num_changes > 0)
766s # {
766s # GList *connections, *ll;
766s # GVariant *signal_variant;
766s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "GoodTypes",
766s # &builder, &invalidated_builder));
766s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
766s # for (ll = connections; ll != NULL; ll = ll->next)
766s # {
766s # GDBusConnection *connection = ll->data;
766s #
766s # g_dbus_connection_emit_signal (connection,
766s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
766s # "org.freedesktop.DBus.Properties",
766s # "PropertiesChanged",
766s # signal_variant,
766s # NULL);
766s # }
766s # g_variant_unref (signal_variant);
766s # g_list_free_full (connections, g_object_unref);
766s # }
766s # else
766s # {
766s # g_variant_builder_clear (&builder);
766s # g_variant_builder_clear (&invalidated_builder);
766s # }
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # skeleton->priv->changed_properties = NULL;
766s # skeleton->priv->changed_properties_idle_source = NULL;
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # return FALSE;
766s # }
766s #
766s # static void
766s # _good_types_schedule_emit_changed (GoodTypesSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
766s # {
766s # ChangedProperty *cp;
766s # GList *l;
766s # cp = NULL;
766s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
766s # {
766s # ChangedProperty *i_cp = l->data;
766s # if (i_cp->info == info)
766s # {
766s # cp = i_cp;
766s # break;
766s # }
766s # }
766s # if (cp == NULL)
766s # {
766s # cp = g_new0 (ChangedProperty, 1);
766s # cp->prop_id = prop_id;
766s # cp->info = info;
766s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
766s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
766s # g_value_copy (orig_value, &cp->orig_value);
766s # }
766s # }
766s #
766s # static void
766s # good_types_skeleton_notify (GObject *object,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_mutex_lock (&skeleton->priv->lock);
766s # if (skeleton->priv->changed_properties != NULL &&
766s # skeleton->priv->changed_properties_idle_source == NULL)
766s # {
766s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
766s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
766s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _good_types_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
766s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _good_types_emit_changed");
766s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
766s # g_source_unref (skeleton->priv->changed_properties_idle_source);
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # }
766s #
766s # static void
766s # good_types_skeleton_set_property (GObject *object,
766s # guint prop_id,
766s # const GValue *value,
766s # GParamSpec *pspec)
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # g_assert (prop_id != 0 && prop_id - 1 < 1);
766s # info = (const _ExtendedGDBusPropertyInfo *) _good_types_property_info_pointers[prop_id - 1];
766s # g_mutex_lock (&skeleton->priv->lock);
766s # g_object_freeze_notify (object);
766s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
766s # {
766s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
766s # info->emits_changed_signal)
766s # _good_types_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
766s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
766s # g_object_notify_by_pspec (object, pspec);
766s # }
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # g_object_thaw_notify (object);
766s # }
766s #
766s # static void
766s # good_types_skeleton_init (GoodTypesSkeleton *skeleton)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # skeleton->priv = good_types_skeleton_get_instance_private (skeleton);
766s # #else
766s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_GOOD_TYPES_SKELETON, GoodTypesSkeletonPrivate);
766s # #endif
766s #
766s # g_mutex_init (&skeleton->priv->lock);
766s # skeleton->priv->context = g_main_context_ref_thread_default ();
766s # skeleton->priv->properties = g_new0 (GValue, 1);
766s # g_value_init (&skeleton->priv->properties[0], G_TYPE_VARIANT);
766s # }
766s #
766s # static GVariant *
766s # good_types_skeleton_get_good_property_type (GoodTypes *object)
766s # {
766s # GoodTypesSkeleton *skeleton = GOOD_TYPES_SKELETON (object);
766s # GVariant *value;
766s # g_mutex_lock (&skeleton->priv->lock);
766s # value = g_marshal_value_peek_variant (&(skeleton->priv->properties[0]));
766s # g_mutex_unlock (&skeleton->priv->lock);
766s # return value;
766s # }
766s #
766s # static void
766s # good_types_skeleton_class_init (GoodTypesSkeletonClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusInterfaceSkeletonClass *skeleton_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = good_types_skeleton_finalize;
766s # gobject_class->get_property = good_types_skeleton_get_property;
766s # gobject_class->set_property = good_types_skeleton_set_property;
766s # gobject_class->notify = good_types_skeleton_notify;
766s #
766s #
766s # good_types_override_properties (gobject_class, 1);
766s #
766s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
766s # skeleton_class->get_info = good_types_skeleton_dbus_interface_get_info;
766s # skeleton_class->get_properties = good_types_skeleton_dbus_interface_get_properties;
766s # skeleton_class->flush = good_types_skeleton_dbus_interface_flush;
766s # skeleton_class->get_vtable = good_types_skeleton_dbus_interface_get_vtable;
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (GoodTypesSkeletonPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # good_types_skeleton_iface_init (GoodTypesIface *iface)
766s # {
766s # iface->get_good_property_type = good_types_skeleton_get_good_property_type;
766s # }
766s #
766s # /**
766s # * good_types_skeleton_new:
766s # *
766s # * Creates a skeleton object for the D-Bus interface GoodTypes.
766s # *
766s # * Returns: (transfer full) (type GoodTypesSkeleton): The skeleton object.
766s # */
766s # GoodTypes *
766s # good_types_skeleton_new (void)
766s # {
766s # return GOOD_TYPES (g_object_new (TYPE_GOOD_TYPES_SKELETON, NULL));
766s # }
766s # Error:
766s ok 3 __main__.TestCodegen.test_empty_interface_body
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmppl1qhr76
766s # /tmp/tmppl1qhr76/tmpjb09bz0_.xml:
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppl1qhr76/tmpjb09bz0_.xml', '--output', '-', '--body']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifdef HAVE_CONFIG_H
766s # # include "config.h"
766s # #endif
766s #
766s # #include
766s # #ifdef G_OS_UNIX
766s # # include
766s # #endif
766s #
766s # #ifdef G_ENABLE_DEBUG
766s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
766s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
766s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
766s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
766s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
766s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
766s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
766s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
766s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
766s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
766s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
766s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
766s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
766s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
766s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
766s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
766s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
766s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
766s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
766s # #else /* !G_ENABLE_DEBUG */
766s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
766s # * Do not access GValues directly in your code. Instead, use the
766s # * g_value_get_*() functions
766s # */
766s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
766s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
766s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
766s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
766s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
766s # #endif /* !G_ENABLE_DEBUG */
766s #
766s # typedef struct
766s # {
766s # GDBusArgInfo parent_struct;
766s # gboolean use_gvariant;
766s # } _ExtendedGDBusArgInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusMethodInfo parent_struct;
766s # const gchar *signal_name;
766s # gboolean pass_fdlist;
766s # } _ExtendedGDBusMethodInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusSignalInfo parent_struct;
766s # const gchar *signal_name;
766s # } _ExtendedGDBusSignalInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusPropertyInfo parent_struct;
766s # const gchar *hyphen_name;
766s # guint use_gvariant : 1;
766s # guint emits_changed_signal : 1;
766s # } _ExtendedGDBusPropertyInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusInterfaceInfo parent_struct;
766s # const gchar *hyphen_name;
766s # } _ExtendedGDBusInterfaceInfo;
766s #
766s # typedef struct
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # guint prop_id;
766s # GValue orig_value; /* the value before the change */
766s # } ChangedProperty;
766s #
766s # static void
766s # _changed_property_free (ChangedProperty *data)
766s # {
766s # g_value_unset (&data->orig_value);
766s # g_free (data);
766s # }
766s #
766s # static gboolean
766s # _g_strv_equal0 (gchar **a, gchar **b)
766s # {
766s # gboolean ret = FALSE;
766s # guint n;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # if (g_strv_length (a) != g_strv_length (b))
766s # goto out;
766s # for (n = 0; a[n] != NULL; n++)
766s # if (g_strcmp0 (a[n], b[n]) != 0)
766s # goto out;
766s # ret = TRUE;
766s # out:
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _g_variant_equal0 (GVariant *a, GVariant *b)
766s # {
766s # gboolean ret = FALSE;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # ret = g_variant_equal (a, b);
766s # out:
766s # return ret;
766s # }
766s #
766s # G_GNUC_UNUSED static gboolean
766s # _g_value_equal (const GValue *a, const GValue *b)
766s # {
766s # gboolean ret = FALSE;
766s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
766s # switch (G_VALUE_TYPE (a))
766s # {
766s # case G_TYPE_BOOLEAN:
766s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
766s # break;
766s # case G_TYPE_UCHAR:
766s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
766s # break;
766s # case G_TYPE_INT:
766s # ret = (g_value_get_int (a) == g_value_get_int (b));
766s # break;
766s # case G_TYPE_UINT:
766s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
766s # break;
766s # case G_TYPE_INT64:
766s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
766s # break;
766s # case G_TYPE_UINT64:
766s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
766s # break;
766s # case G_TYPE_DOUBLE:
766s # {
766s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
766s # gdouble da = g_value_get_double (a);
766s # gdouble db = g_value_get_double (b);
766s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
766s # }
766s # break;
766s # case G_TYPE_STRING:
766s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
766s # break;
766s # case G_TYPE_VARIANT:
766s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
766s # break;
766s # default:
766s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
766s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
766s # else
766s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
766s # break;
766s # }
766s # return ret;
766s # }
766s # Error:
766s ok 4 __main__.TestCodegen.test_empty_interface_header
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmppeow2ea4
766s # /tmp/tmppeow2ea4/tmpvnkjiuqw.xml:
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppeow2ea4/tmpvnkjiuqw.xml', '--output', '-', '--header']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifndef __STDOUT__
766s # #define __STDOUT__
766s #
766s # #include
766s #
766s # G_BEGIN_DECLS
766s #
766s #
766s # G_END_DECLS
766s #
766s # #endif /* __STDOUT__ */
766s # Error:
766s ok 5 __main__.TestCodegen.test_empty_interface_info_body
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmpgb9d9mpq
766s # /tmp/tmpgb9d9mpq/tmpadvtxw3e.xml:
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgb9d9mpq/tmpadvtxw3e.xml', '--output', '-', '--interface-info-body']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifdef HAVE_CONFIG_H
766s # # include "config.h"
766s # #endif
766s #
766s # #include
766s # Error:
766s ok 6 __main__.TestCodegen.test_empty_interface_info_header
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmpvilvh90q
766s # /tmp/tmpvilvh90q/tmprpgzr655.xml:
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpvilvh90q/tmprpgzr655.xml', '--output', '-', '--interface-info-header']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifndef __STDOUT__
766s # #define __STDOUT__
766s #
766s # #include
766s #
766s # G_BEGIN_DECLS
766s #
766s #
766s # G_END_DECLS
766s #
766s # #endif /* __STDOUT__ */
766s # Error:
766s ok 7 __main__.TestCodegen.test_generate_docbook
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmpjn8a6uup
766s # /tmp/tmpjn8a6uup/tmp9jei9s5e.xml:
766s #
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpjn8a6uup/tmp9jei9s5e.xml', '--generate-docbook', 'test']
766s # Return code: 0
766s # Output:
766s #
766s # Error:
766s ok 8 __main__.TestCodegen.test_generate_md
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmpgddxu9p6
766s # /tmp/tmpgddxu9p6/tmpxxomhn6a.xml:
766s #
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpgddxu9p6/tmpxxomhn6a.xml', '--generate-md', 'test']
766s # Return code: 0
766s # Output:
766s #
766s # Error:
766s ok 9 __main__.TestCodegen.test_generate_methods_marshaller_simple_method
766s # gdbus-codegen: /usr/bin/gdbus-codegen
766s # tmpdir: /tmp/tmp9jqodyeh
766s # /tmp/tmp9jqodyeh/tmppyd3a57k.xml:
766s #
766s #
766s #
766s #
766s #
766s #
766s #
766s #
766s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9jqodyeh/tmppyd3a57k.xml', '--output', '-', '--body']
766s # Return code: 0
766s # Output:
766s # /*
766s # * This file is generated by gdbus-codegen, do not modify it.
766s # *
766s # * The license of this code is the same as for the D-Bus interface description
766s # * it was derived from. Note that it links to GLib, so must comply with the
766s # * LGPL linking clauses.
766s # */
766s #
766s # #ifdef HAVE_CONFIG_H
766s # # include "config.h"
766s # #endif
766s #
766s # #include
766s # #ifdef G_OS_UNIX
766s # # include
766s # #endif
766s #
766s # #ifdef G_ENABLE_DEBUG
766s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
766s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
766s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
766s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
766s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
766s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
766s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
766s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
766s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
766s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
766s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
766s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
766s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
766s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
766s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
766s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
766s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
766s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
766s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
766s # #else /* !G_ENABLE_DEBUG */
766s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
766s # * Do not access GValues directly in your code. Instead, use the
766s # * g_value_get_*() functions
766s # */
766s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
766s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
766s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
766s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
766s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
766s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
766s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
766s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
766s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
766s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
766s # #endif /* !G_ENABLE_DEBUG */
766s #
766s # typedef struct
766s # {
766s # GDBusArgInfo parent_struct;
766s # gboolean use_gvariant;
766s # } _ExtendedGDBusArgInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusMethodInfo parent_struct;
766s # const gchar *signal_name;
766s # gboolean pass_fdlist;
766s # } _ExtendedGDBusMethodInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusSignalInfo parent_struct;
766s # const gchar *signal_name;
766s # } _ExtendedGDBusSignalInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusPropertyInfo parent_struct;
766s # const gchar *hyphen_name;
766s # guint use_gvariant : 1;
766s # guint emits_changed_signal : 1;
766s # } _ExtendedGDBusPropertyInfo;
766s #
766s # typedef struct
766s # {
766s # GDBusInterfaceInfo parent_struct;
766s # const gchar *hyphen_name;
766s # } _ExtendedGDBusInterfaceInfo;
766s #
766s # typedef struct
766s # {
766s # const _ExtendedGDBusPropertyInfo *info;
766s # guint prop_id;
766s # GValue orig_value; /* the value before the change */
766s # } ChangedProperty;
766s #
766s # static void
766s # _changed_property_free (ChangedProperty *data)
766s # {
766s # g_value_unset (&data->orig_value);
766s # g_free (data);
766s # }
766s #
766s # static gboolean
766s # _g_strv_equal0 (gchar **a, gchar **b)
766s # {
766s # gboolean ret = FALSE;
766s # guint n;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # if (g_strv_length (a) != g_strv_length (b))
766s # goto out;
766s # for (n = 0; a[n] != NULL; n++)
766s # if (g_strcmp0 (a[n], b[n]) != 0)
766s # goto out;
766s # ret = TRUE;
766s # out:
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _g_variant_equal0 (GVariant *a, GVariant *b)
766s # {
766s # gboolean ret = FALSE;
766s # if (a == NULL && b == NULL)
766s # {
766s # ret = TRUE;
766s # goto out;
766s # }
766s # if (a == NULL || b == NULL)
766s # goto out;
766s # ret = g_variant_equal (a, b);
766s # out:
766s # return ret;
766s # }
766s #
766s # G_GNUC_UNUSED static gboolean
766s # _g_value_equal (const GValue *a, const GValue *b)
766s # {
766s # gboolean ret = FALSE;
766s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
766s # switch (G_VALUE_TYPE (a))
766s # {
766s # case G_TYPE_BOOLEAN:
766s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
766s # break;
766s # case G_TYPE_UCHAR:
766s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
766s # break;
766s # case G_TYPE_INT:
766s # ret = (g_value_get_int (a) == g_value_get_int (b));
766s # break;
766s # case G_TYPE_UINT:
766s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
766s # break;
766s # case G_TYPE_INT64:
766s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
766s # break;
766s # case G_TYPE_UINT64:
766s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
766s # break;
766s # case G_TYPE_DOUBLE:
766s # {
766s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
766s # gdouble da = g_value_get_double (a);
766s # gdouble db = g_value_get_double (b);
766s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
766s # }
766s # break;
766s # case G_TYPE_STRING:
766s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
766s # break;
766s # case G_TYPE_VARIANT:
766s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
766s # break;
766s # default:
766s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
766s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
766s # else
766s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
766s # break;
766s # }
766s # return ret;
766s # }
766s #
766s # static void
766s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
766s # GClosure *closure,
766s # GValue *return_value,
766s # unsigned int n_param_values,
766s # const GValue *param_values,
766s # void *invocation_hint G_GNUC_UNUSED,
766s # void *marshal_data)
766s # {
766s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
766s # (void *data1,
766s # GDBusMethodInvocation *arg_method_invocation,
766s # void *data2);
766s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
766s # GCClosure *cc = (GCClosure*) closure;
766s # void *data1, *data2;
766s # gboolean v_return;
766s #
766s # g_return_if_fail (return_value != NULL);
766s # g_return_if_fail (n_param_values == 2);
766s #
766s # if (G_CCLOSURE_SWAP_DATA (closure))
766s # {
766s # data1 = closure->data;
766s # data2 = g_value_peek_pointer (param_values + 0);
766s # }
766s # else
766s # {
766s # data1 = g_value_peek_pointer (param_values + 0);
766s # data2 = closure->data;
766s # }
766s #
766s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
766s # (marshal_data ? marshal_data : cc->callback);
766s #
766s # v_return =
766s # callback (data1,
766s # g_marshal_value_peek_object (param_values + 1),
766s # data2);
766s #
766s # g_value_set_boolean (return_value, v_return);
766s # }
766s #
766s # /* ------------------------------------------------------------------------
766s # * Code for interface org.project.CallableIface
766s # * ------------------------------------------------------------------------
766s # */
766s #
766s # /**
766s # * SECTION:OrgProjectCallableIface
766s # * @title: OrgProjectCallableIface
766s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
766s # *
766s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
766s # */
766s #
766s # /* ---- Introspection data for org.project.CallableIface ---- */
766s #
766s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_simple_method =
766s # {
766s # {
766s # -1,
766s # (gchar *) "SimpleMethod",
766s # NULL,
766s # NULL,
766s # NULL
766s # },
766s # "handle-simple-method",
766s # FALSE
766s # };
766s #
766s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
766s # {
766s # &_org_project_callable_iface_method_info_simple_method.parent_struct,
766s # NULL
766s # };
766s #
766s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
766s # {
766s # {
766s # -1,
766s # (gchar *) "org.project.CallableIface",
766s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
766s # NULL,
766s # NULL,
766s # NULL
766s # },
766s # "org-project-callable-iface",
766s # };
766s #
766s #
766s # /**
766s # * org_project_callable_iface_interface_info:
766s # *
766s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
766s # *
766s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
766s # */
766s # GDBusInterfaceInfo *
766s # org_project_callable_iface_interface_info (void)
766s # {
766s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_override_properties:
766s # * @klass: The class structure for a #GObject derived class.
766s # * @property_id_begin: The property id to assign to the first overridden property.
766s # *
766s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
766s # * The properties are overridden in the order they are defined.
766s # *
766s # * Returns: The last property id.
766s # */
766s # guint
766s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
766s # {
766s # return property_id_begin - 1;
766s # }
766s #
766s #
766s # inline static void
766s # org_project_callable_iface_method_marshal_simple_method (
766s # GClosure *closure,
766s # GValue *return_value,
766s # unsigned int n_param_values,
766s # const GValue *param_values,
766s # void *invocation_hint,
766s # void *marshal_data)
766s # {
766s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
766s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
766s # }
766s #
766s #
766s # /**
766s # * OrgProjectCallableIface:
766s # *
766s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
766s # */
766s #
766s # /**
766s # * OrgProjectCallableIfaceIface:
766s # * @parent_iface: The parent interface.
766s # * @handle_simple_method: Handler for the #OrgProjectCallableIface::handle-simple-method signal.
766s # *
766s # * Virtual table for the D-Bus interface org.project.CallableIface.
766s # */
766s #
766s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
766s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
766s #
766s # static void
766s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
766s # {
766s # /* GObject signals for incoming D-Bus method calls: */
766s # /**
766s # * OrgProjectCallableIface::handle-simple-method:
766s # * @object: A #OrgProjectCallableIface.
766s # * @invocation: A #GDBusMethodInvocation.
766s # *
766s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
766s # *
766s # * 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.
766s # *
766s # * 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.
766s # */
766s # g_signal_new ("handle-simple-method",
766s # G_TYPE_FROM_INTERFACE (iface),
766s # G_SIGNAL_RUN_LAST,
766s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_simple_method),
766s # g_signal_accumulator_true_handled,
766s # NULL,
766s # org_project_callable_iface_method_marshal_simple_method,
766s # G_TYPE_BOOLEAN,
766s # 1,
766s # G_TYPE_DBUS_METHOD_INVOCATION);
766s #
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_call_simple_method:
766s # * @proxy: A #OrgProjectCallableIfaceProxy.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call org_project_callable_iface_call_simple_method_finish() to get the result of the operation.
766s # *
766s # * See org_project_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
766s # */
766s # void
766s # org_project_callable_iface_call_simple_method (
766s # OrgProjectCallableIface *proxy,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
766s # "SimpleMethod",
766s # g_variant_new ("()"),
766s # G_DBUS_CALL_FLAGS_NONE,
766s # -1,
766s # cancellable,
766s # callback,
766s # user_data);
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_call_simple_method_finish:
766s # * @proxy: A #OrgProjectCallableIfaceProxy.
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_simple_method().
766s # * @error: Return location for error or %NULL.
766s # *
766s # * Finishes an operation started with org_project_callable_iface_call_simple_method().
766s # *
766s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
766s # */
766s # gboolean
766s # org_project_callable_iface_call_simple_method_finish (
766s # OrgProjectCallableIface *proxy,
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GVariant *_ret;
766s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
766s # if (_ret == NULL)
766s # goto _out;
766s # g_variant_get (_ret,
766s # "()");
766s # g_variant_unref (_ret);
766s # _out:
766s # return _ret != NULL;
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_call_simple_method_sync:
766s # * @proxy: A #OrgProjectCallableIfaceProxy.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL.
766s # *
766s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
766s # *
766s # * See org_project_callable_iface_call_simple_method() for the asynchronous version of this method.
766s # *
766s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
766s # */
766s # gboolean
766s # org_project_callable_iface_call_simple_method_sync (
766s # OrgProjectCallableIface *proxy,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GVariant *_ret;
766s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
766s # "SimpleMethod",
766s # g_variant_new ("()"),
766s # G_DBUS_CALL_FLAGS_NONE,
766s # -1,
766s # cancellable,
766s # error);
766s # if (_ret == NULL)
766s # goto _out;
766s # g_variant_get (_ret,
766s # "()");
766s # g_variant_unref (_ret);
766s # _out:
766s # return _ret != NULL;
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_complete_simple_method:
766s # * @object: A #OrgProjectCallableIface.
766s # * @invocation: (transfer full): A #GDBusMethodInvocation.
766s # *
766s # * 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.
766s # *
766s # * This method will free @invocation, you cannot use it afterwards.
766s # */
766s # void
766s # org_project_callable_iface_complete_simple_method (
766s # OrgProjectCallableIface *object G_GNUC_UNUSED,
766s # GDBusMethodInvocation *invocation)
766s # {
766s # g_dbus_method_invocation_return_value (invocation,
766s # g_variant_new ("()"));
766s # }
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * OrgProjectCallableIfaceProxy:
766s # *
766s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * OrgProjectCallableIfaceProxyClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for #OrgProjectCallableIfaceProxy.
766s # */
766s #
766s # struct _OrgProjectCallableIfaceProxyPrivate
766s # {
766s # GData *qdata;
766s # };
766s #
766s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
766s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
766s #
766s # #endif
766s # static void
766s # org_project_callable_iface_proxy_finalize (GObject *object)
766s # {
766s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
766s # g_datalist_clear (&proxy->priv->qdata);
766s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
766s # guint prop_id G_GNUC_UNUSED,
766s # GValue *value G_GNUC_UNUSED,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # static void
766s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
766s # guint prop_id G_GNUC_UNUSED,
766s # const GValue *value G_GNUC_UNUSED,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # static void
766s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
766s # const gchar *sender_name G_GNUC_UNUSED,
766s # const gchar *signal_name,
766s # GVariant *parameters)
766s # {
766s # _ExtendedGDBusSignalInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # gsize n;
766s # guint signal_id;
766s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
766s # if (info == NULL)
766s # return;
766s # num_params = g_variant_n_children (parameters);
766s # paramv = g_new0 (GValue, num_params + 1);
766s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
766s # g_value_set_object (¶mv[0], proxy);
766s # g_variant_iter_init (&iter, parameters);
766s # n = 1;
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
766s # g_signal_emitv (paramv, signal_id, 0, NULL);
766s # for (n = 0; n < num_params + 1; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static void
766s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
766s # GVariant *changed_properties,
766s # const gchar *const *invalidated_properties)
766s # {
766s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
766s # guint n;
766s # const gchar *key;
766s # GVariantIter *iter;
766s # _ExtendedGDBusPropertyInfo *info;
766s # g_variant_get (changed_properties, "a{sv}", &iter);
766s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
766s # g_datalist_remove_data (&proxy->priv->qdata, key);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # g_variant_iter_free (iter);
766s # for (n = 0; invalidated_properties[n] != NULL; n++)
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
766s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # }
766s #
766s # static void
766s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
766s # #else
766s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
766s # #endif
766s #
766s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
766s # }
766s #
766s # static void
766s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusProxyClass *proxy_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
766s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
766s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
766s #
766s # proxy_class = G_DBUS_PROXY_CLASS (klass);
766s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
766s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_proxy_new:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
766s # *
766s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # org_project_callable_iface_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_proxy_new_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with org_project_callable_iface_proxy_new().
766s # *
766s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectCallableIface *
766s # org_project_callable_iface_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return ORG_PROJECT_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_proxy_new_sync:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectCallableIface *
766s # org_project_callable_iface_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return ORG_PROJECT_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /**
766s # * org_project_callable_iface_proxy_new_for_bus:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
766s # *
766s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # org_project_callable_iface_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_proxy_new_for_bus_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
766s # *
766s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectCallableIface *
766s # org_project_callable_iface_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return ORG_PROJECT_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_proxy_new_for_bus_sync:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectCallableIface *
766s # org_project_callable_iface_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return ORG_PROJECT_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * OrgProjectCallableIfaceSkeleton:
766s # *
766s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * OrgProjectCallableIfaceSkeletonClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for #OrgProjectCallableIfaceSkeleton.
766s # */
766s #
766s # struct _OrgProjectCallableIfaceSkeletonPrivate
766s # {
766s # GValue *properties;
766s # GList *changed_properties;
766s # GSource *changed_properties_idle_source;
766s # GMainContext *context;
766s # GMutex lock;
766s # };
766s #
766s # static void
766s # _org_project_callable_iface_skeleton_handle_method_call (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name,
766s # const gchar *method_name,
766s # GVariant *parameters,
766s # GDBusMethodInvocation *invocation,
766s # gpointer user_data)
766s # {
766s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
766s # _ExtendedGDBusMethodInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # guint num_extra;
766s # gsize n;
766s # guint signal_id;
766s # GValue return_value = G_VALUE_INIT;
766s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
766s # g_assert (info != NULL);
766s # num_params = g_variant_n_children (parameters);
766s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
766s # n = 0;
766s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
766s # g_value_set_object (¶mv[n++], skeleton);
766s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
766s # g_value_set_object (¶mv[n++], invocation);
766s # if (info->pass_fdlist)
766s # {
766s # #ifdef G_OS_UNIX
766s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
766s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
766s # #else
766s # g_assert_not_reached ();
766s # #endif
766s # }
766s # g_variant_iter_init (&iter, parameters);
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
766s # g_value_init (&return_value, G_TYPE_BOOLEAN);
766s # g_signal_emitv (paramv, signal_id, 0, &return_value);
766s # if (!g_value_get_boolean (&return_value))
766s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
766s # g_value_unset (&return_value);
766s # for (n = 0; n < num_params + num_extra; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static GVariant *
766s # _org_project_callable_iface_skeleton_handle_get_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # GVariant *ret;
766s # ret = NULL;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # g_value_init (&value, pspec->value_type);
766s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_value_unset (&value);
766s # }
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _org_project_callable_iface_skeleton_handle_set_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GVariant *variant,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # gboolean ret;
766s # ret = FALSE;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # if (info->use_gvariant)
766s # g_value_set_variant (&value, variant);
766s # else
766s # g_dbus_gvariant_to_gvalue (variant, &value);
766s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # g_value_unset (&value);
766s # ret = TRUE;
766s # }
766s # return ret;
766s # }
766s #
766s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
766s # {
766s # _org_project_callable_iface_skeleton_handle_method_call,
766s # _org_project_callable_iface_skeleton_handle_get_property,
766s # _org_project_callable_iface_skeleton_handle_set_property,
766s # {NULL}
766s # };
766s #
766s # static GDBusInterfaceInfo *
766s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return org_project_callable_iface_interface_info ();
766s # }
766s #
766s # static GDBusInterfaceVTable *
766s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
766s # }
766s #
766s # static GVariant *
766s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
766s #
766s # GVariantBuilder builder;
766s # guint n;
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #else
766s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #endif
766s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
766s # goto out;
766s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
766s # {
766s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
766s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
766s # {
766s # GVariant *value;
766s # 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);
766s # if (value != NULL)
766s # {
766s # g_variant_take_ref (value);
766s # g_variant_builder_add (&builder, "{sv}", info->name, value);
766s # g_variant_unref (value);
766s # }
766s # }
766s # }
766s # out:
766s # return g_variant_builder_end (&builder);
766s # }
766s #
766s # static void
766s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
766s #
766s # #endif
766s # static void
766s # org_project_callable_iface_skeleton_finalize (GObject *object)
766s # {
766s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # g_main_context_unref (skeleton->priv->context);
766s # g_mutex_clear (&skeleton->priv->lock);
766s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
766s # #else
766s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
766s # #endif
766s #
766s # g_mutex_init (&skeleton->priv->lock);
766s # skeleton->priv->context = g_main_context_ref_thread_default ();
766s # }
766s #
766s # static void
766s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusInterfaceSkeletonClass *skeleton_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
766s #
766s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
766s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
766s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
766s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
766s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # /**
766s # * org_project_callable_iface_skeleton_new:
766s # *
766s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
766s # *
766s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
766s # */
766s # OrgProjectCallableIface *
766s # org_project_callable_iface_skeleton_new (void)
766s # {
766s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
766s # }
766s #
766s # /* ------------------------------------------------------------------------
766s # * Code for interface org.project.OtherCallableIface
766s # * ------------------------------------------------------------------------
766s # */
766s #
766s # /**
766s # * SECTION:OrgProjectOtherCallableIface
766s # * @title: OrgProjectOtherCallableIface
766s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
766s # *
766s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
766s # */
766s #
766s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
766s #
766s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_simple_method =
766s # {
766s # {
766s # -1,
766s # (gchar *) "SimpleMethod",
766s # NULL,
766s # NULL,
766s # NULL
766s # },
766s # "handle-simple-method",
766s # FALSE
766s # };
766s #
766s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
766s # {
766s # &_org_project_other_callable_iface_method_info_simple_method.parent_struct,
766s # NULL
766s # };
766s #
766s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
766s # {
766s # {
766s # -1,
766s # (gchar *) "org.project.OtherCallableIface",
766s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
766s # NULL,
766s # NULL,
766s # NULL
766s # },
766s # "org-project-other-callable-iface",
766s # };
766s #
766s #
766s # /**
766s # * org_project_other_callable_iface_interface_info:
766s # *
766s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
766s # *
766s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
766s # */
766s # GDBusInterfaceInfo *
766s # org_project_other_callable_iface_interface_info (void)
766s # {
766s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_override_properties:
766s # * @klass: The class structure for a #GObject derived class.
766s # * @property_id_begin: The property id to assign to the first overridden property.
766s # *
766s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
766s # * The properties are overridden in the order they are defined.
766s # *
766s # * Returns: The last property id.
766s # */
766s # guint
766s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
766s # {
766s # return property_id_begin - 1;
766s # }
766s #
766s #
766s # inline static void
766s # org_project_other_callable_iface_method_marshal_simple_method (
766s # GClosure *closure,
766s # GValue *return_value,
766s # unsigned int n_param_values,
766s # const GValue *param_values,
766s # void *invocation_hint,
766s # void *marshal_data)
766s # {
766s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
766s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
766s # }
766s #
766s #
766s # /**
766s # * OrgProjectOtherCallableIface:
766s # *
766s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
766s # */
766s #
766s # /**
766s # * OrgProjectOtherCallableIfaceIface:
766s # * @parent_iface: The parent interface.
766s # * @handle_simple_method: Handler for the #OrgProjectOtherCallableIface::handle-simple-method signal.
766s # *
766s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
766s # */
766s #
766s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
766s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
766s #
766s # static void
766s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
766s # {
766s # /* GObject signals for incoming D-Bus method calls: */
766s # /**
766s # * OrgProjectOtherCallableIface::handle-simple-method:
766s # * @object: A #OrgProjectOtherCallableIface.
766s # * @invocation: A #GDBusMethodInvocation.
766s # *
766s # * Signal emitted when a remote caller is invoking the SimpleMethod() D-Bus method.
766s # *
766s # * 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.
766s # *
766s # * 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.
766s # */
766s # g_signal_new ("handle-simple-method",
766s # G_TYPE_FROM_INTERFACE (iface),
766s # G_SIGNAL_RUN_LAST,
766s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_simple_method),
766s # g_signal_accumulator_true_handled,
766s # NULL,
766s # org_project_other_callable_iface_method_marshal_simple_method,
766s # G_TYPE_BOOLEAN,
766s # 1,
766s # G_TYPE_DBUS_METHOD_INVOCATION);
766s #
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_call_simple_method:
766s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Asynchronously invokes the SimpleMethod() D-Bus method on @proxy.
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call org_project_other_callable_iface_call_simple_method_finish() to get the result of the operation.
766s # *
766s # * See org_project_other_callable_iface_call_simple_method_sync() for the synchronous, blocking version of this method.
766s # */
766s # void
766s # org_project_other_callable_iface_call_simple_method (
766s # OrgProjectOtherCallableIface *proxy,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
766s # "SimpleMethod",
766s # g_variant_new ("()"),
766s # G_DBUS_CALL_FLAGS_NONE,
766s # -1,
766s # cancellable,
766s # callback,
766s # user_data);
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_call_simple_method_finish:
766s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_simple_method().
766s # * @error: Return location for error or %NULL.
766s # *
766s # * Finishes an operation started with org_project_other_callable_iface_call_simple_method().
766s # *
766s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
766s # */
766s # gboolean
766s # org_project_other_callable_iface_call_simple_method_finish (
766s # OrgProjectOtherCallableIface *proxy,
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GVariant *_ret;
766s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
766s # if (_ret == NULL)
766s # goto _out;
766s # g_variant_get (_ret,
766s # "()");
766s # g_variant_unref (_ret);
766s # _out:
766s # return _ret != NULL;
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_call_simple_method_sync:
766s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL.
766s # *
766s # * Synchronously invokes the SimpleMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
766s # *
766s # * See org_project_other_callable_iface_call_simple_method() for the asynchronous version of this method.
766s # *
766s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
766s # */
766s # gboolean
766s # org_project_other_callable_iface_call_simple_method_sync (
766s # OrgProjectOtherCallableIface *proxy,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GVariant *_ret;
766s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
766s # "SimpleMethod",
766s # g_variant_new ("()"),
766s # G_DBUS_CALL_FLAGS_NONE,
766s # -1,
766s # cancellable,
766s # error);
766s # if (_ret == NULL)
766s # goto _out;
766s # g_variant_get (_ret,
766s # "()");
766s # g_variant_unref (_ret);
766s # _out:
766s # return _ret != NULL;
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_complete_simple_method:
766s # * @object: A #OrgProjectOtherCallableIface.
766s # * @invocation: (transfer full): A #GDBusMethodInvocation.
766s # *
766s # * 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.
766s # *
766s # * This method will free @invocation, you cannot use it afterwards.
766s # */
766s # void
766s # org_project_other_callable_iface_complete_simple_method (
766s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
766s # GDBusMethodInvocation *invocation)
766s # {
766s # g_dbus_method_invocation_return_value (invocation,
766s # g_variant_new ("()"));
766s # }
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * OrgProjectOtherCallableIfaceProxy:
766s # *
766s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * OrgProjectOtherCallableIfaceProxyClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
766s # */
766s #
766s # struct _OrgProjectOtherCallableIfaceProxyPrivate
766s # {
766s # GData *qdata;
766s # };
766s #
766s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
766s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
766s #
766s # #endif
766s # static void
766s # org_project_other_callable_iface_proxy_finalize (GObject *object)
766s # {
766s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
766s # g_datalist_clear (&proxy->priv->qdata);
766s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
766s # guint prop_id G_GNUC_UNUSED,
766s # GValue *value G_GNUC_UNUSED,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
766s # guint prop_id G_GNUC_UNUSED,
766s # const GValue *value G_GNUC_UNUSED,
766s # GParamSpec *pspec G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
766s # const gchar *sender_name G_GNUC_UNUSED,
766s # const gchar *signal_name,
766s # GVariant *parameters)
766s # {
766s # _ExtendedGDBusSignalInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # gsize n;
766s # guint signal_id;
766s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
766s # if (info == NULL)
766s # return;
766s # num_params = g_variant_n_children (parameters);
766s # paramv = g_new0 (GValue, num_params + 1);
766s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
766s # g_value_set_object (¶mv[0], proxy);
766s # g_variant_iter_init (&iter, parameters);
766s # n = 1;
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
766s # g_signal_emitv (paramv, signal_id, 0, NULL);
766s # for (n = 0; n < num_params + 1; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
766s # GVariant *changed_properties,
766s # const gchar *const *invalidated_properties)
766s # {
766s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
766s # guint n;
766s # const gchar *key;
766s # GVariantIter *iter;
766s # _ExtendedGDBusPropertyInfo *info;
766s # g_variant_get (changed_properties, "a{sv}", &iter);
766s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
766s # g_datalist_remove_data (&proxy->priv->qdata, key);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # g_variant_iter_free (iter);
766s # for (n = 0; invalidated_properties[n] != NULL; n++)
766s # {
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
766s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
766s # if (info != NULL)
766s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
766s # }
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
766s # #else
766s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
766s # #endif
766s #
766s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusProxyClass *proxy_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
766s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
766s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
766s #
766s # proxy_class = G_DBUS_PROXY_CLASS (klass);
766s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
766s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_proxy_new:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
766s # *
766s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # org_project_other_callable_iface_proxy_new (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_proxy_new_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
766s # *
766s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectOtherCallableIface *
766s # org_project_other_callable_iface_proxy_new_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_proxy_new_sync:
766s # * @connection: A #GDBusConnection.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectOtherCallableIface *
766s # org_project_other_callable_iface_proxy_new_sync (
766s # GDBusConnection *connection,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /**
766s # * org_project_other_callable_iface_proxy_new_for_bus:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
766s # * @user_data: User data to pass to @callback.
766s # *
766s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
766s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
766s # *
766s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
766s # */
766s # void
766s # org_project_other_callable_iface_proxy_new_for_bus (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GAsyncReadyCallback callback,
766s # gpointer user_data)
766s # {
766s # 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);
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
766s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
766s # * @error: Return location for error or %NULL
766s # *
766s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
766s # *
766s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectOtherCallableIface *
766s # org_project_other_callable_iface_proxy_new_for_bus_finish (
766s # GAsyncResult *res,
766s # GError **error)
766s # {
766s # GObject *ret;
766s # GObject *source_object;
766s # source_object = g_async_result_get_source_object (res);
766s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
766s # g_object_unref (source_object);
766s # if (ret != NULL)
766s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
766s # * @bus_type: A #GBusType.
766s # * @flags: Flags from the #GDBusProxyFlags enumeration.
766s # * @name: A bus name (well-known or unique).
766s # * @object_path: An object path.
766s # * @cancellable: (nullable): A #GCancellable or %NULL.
766s # * @error: Return location for error or %NULL
766s # *
766s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
766s # *
766s # * The calling thread is blocked until a reply is received.
766s # *
766s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
766s # *
766s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
766s # */
766s # OrgProjectOtherCallableIface *
766s # org_project_other_callable_iface_proxy_new_for_bus_sync (
766s # GBusType bus_type,
766s # GDBusProxyFlags flags,
766s # const gchar *name,
766s # const gchar *object_path,
766s # GCancellable *cancellable,
766s # GError **error)
766s # {
766s # GInitable *ret;
766s # 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);
766s # if (ret != NULL)
766s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
766s # else
766s # return NULL;
766s # }
766s #
766s #
766s # /* ------------------------------------------------------------------------ */
766s #
766s # /**
766s # * OrgProjectOtherCallableIfaceSkeleton:
766s # *
766s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
766s # */
766s #
766s # /**
766s # * OrgProjectOtherCallableIfaceSkeletonClass:
766s # * @parent_class: The parent class.
766s # *
766s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
766s # */
766s #
766s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
766s # {
766s # GValue *properties;
766s # GList *changed_properties;
766s # GSource *changed_properties_idle_source;
766s # GMainContext *context;
766s # GMutex lock;
766s # };
766s #
766s # static void
766s # _org_project_other_callable_iface_skeleton_handle_method_call (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name,
766s # const gchar *method_name,
766s # GVariant *parameters,
766s # GDBusMethodInvocation *invocation,
766s # gpointer user_data)
766s # {
766s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
766s # _ExtendedGDBusMethodInfo *info;
766s # GVariantIter iter;
766s # GVariant *child;
766s # GValue *paramv;
766s # gsize num_params;
766s # guint num_extra;
766s # gsize n;
766s # guint signal_id;
766s # GValue return_value = G_VALUE_INIT;
766s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
766s # g_assert (info != NULL);
766s # num_params = g_variant_n_children (parameters);
766s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
766s # n = 0;
766s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
766s # g_value_set_object (¶mv[n++], skeleton);
766s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
766s # g_value_set_object (¶mv[n++], invocation);
766s # if (info->pass_fdlist)
766s # {
766s # #ifdef G_OS_UNIX
766s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
766s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
766s # #else
766s # g_assert_not_reached ();
766s # #endif
766s # }
766s # g_variant_iter_init (&iter, parameters);
766s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
766s # {
766s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
766s # if (arg_info->use_gvariant)
766s # {
766s # g_value_init (¶mv[n], G_TYPE_VARIANT);
766s # g_value_set_variant (¶mv[n], child);
766s # n++;
766s # }
766s # else
766s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
766s # g_variant_unref (child);
766s # }
766s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
766s # g_value_init (&return_value, G_TYPE_BOOLEAN);
766s # g_signal_emitv (paramv, signal_id, 0, &return_value);
766s # if (!g_value_get_boolean (&return_value))
766s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
766s # g_value_unset (&return_value);
766s # for (n = 0; n < num_params + num_extra; n++)
766s # g_value_unset (¶mv[n]);
766s # g_free (paramv);
766s # }
766s #
766s # static GVariant *
766s # _org_project_other_callable_iface_skeleton_handle_get_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # GVariant *ret;
766s # ret = NULL;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # g_value_init (&value, pspec->value_type);
766s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
766s # g_value_unset (&value);
766s # }
766s # return ret;
766s # }
766s #
766s # static gboolean
766s # _org_project_other_callable_iface_skeleton_handle_set_property (
766s # GDBusConnection *connection G_GNUC_UNUSED,
766s # const gchar *sender G_GNUC_UNUSED,
766s # const gchar *object_path G_GNUC_UNUSED,
766s # const gchar *interface_name G_GNUC_UNUSED,
766s # const gchar *property_name,
766s # GVariant *variant,
766s # GError **error,
766s # gpointer user_data)
766s # {
766s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
766s # GValue value = G_VALUE_INIT;
766s # GParamSpec *pspec;
766s # _ExtendedGDBusPropertyInfo *info;
766s # gboolean ret;
766s # ret = FALSE;
766s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
766s # g_assert (info != NULL);
766s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
766s # if (pspec == NULL)
766s # {
766s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
766s # }
766s # else
766s # {
766s # if (info->use_gvariant)
766s # g_value_set_variant (&value, variant);
766s # else
766s # g_dbus_gvariant_to_gvalue (variant, &value);
766s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
766s # g_value_unset (&value);
766s # ret = TRUE;
766s # }
766s # return ret;
766s # }
766s #
766s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
766s # {
766s # _org_project_other_callable_iface_skeleton_handle_method_call,
766s # _org_project_other_callable_iface_skeleton_handle_get_property,
766s # _org_project_other_callable_iface_skeleton_handle_set_property,
766s # {NULL}
766s # };
766s #
766s # static GDBusInterfaceInfo *
766s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return org_project_other_callable_iface_interface_info ();
766s # }
766s #
766s # static GDBusInterfaceVTable *
766s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
766s # {
766s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
766s # }
766s #
766s # static GVariant *
766s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
766s # {
766s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
766s #
766s # GVariantBuilder builder;
766s # guint n;
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
766s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #else
766s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
766s # #endif
766s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
766s # goto out;
766s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
766s # {
766s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
766s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
766s # {
766s # GVariant *value;
766s # 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);
766s # if (value != NULL)
766s # {
766s # g_variant_take_ref (value);
766s # g_variant_builder_add (&builder, "{sv}", info->name, value);
766s # g_variant_unref (value);
766s # }
766s # }
766s # }
766s # out:
766s # return g_variant_builder_end (&builder);
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
766s #
766s # #else
766s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
766s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
766s #
766s # #endif
766s # static void
766s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
766s # {
766s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
766s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
766s # if (skeleton->priv->changed_properties_idle_source != NULL)
766s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
766s # g_main_context_unref (skeleton->priv->context);
766s # g_mutex_clear (&skeleton->priv->lock);
766s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
766s # {
766s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
766s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
766s # #else
766s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
766s # #endif
766s #
766s # g_mutex_init (&skeleton->priv->lock);
766s # skeleton->priv->context = g_main_context_ref_thread_default ();
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
766s # {
766s # GObjectClass *gobject_class;
766s # GDBusInterfaceSkeletonClass *skeleton_class;
766s #
766s # gobject_class = G_OBJECT_CLASS (klass);
766s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
766s #
766s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
766s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
766s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
766s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
766s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
766s #
766s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
766s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
766s # #endif
766s # }
766s #
766s # static void
766s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
766s # {
766s # }
766s #
766s # /**
766s # * org_project_other_callable_iface_skeleton_new:
766s # *
766s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
766s # *
766s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
766s # */
766s # OrgProjectOtherCallableIface *
766s # org_project_other_callable_iface_skeleton_new (void)
766s # {
766s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
766s # }
766s # Error:
766s # Executing: glib/codegen.py.test
767s ok 10 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_in_args
767s # gdbus-codegen: /usr/bin/gdbus-codegen
767s # tmpdir: /tmp/tmp0hcv7a58
767s # /tmp/tmp0hcv7a58/tmp_bq03uha.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmp_bq03uha.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # gboolean arg_arg_b,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectBooleanFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_boolean (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_b",
767s # (gchar *) "b",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_arg_b.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodB",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-b",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_b (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_b: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-b",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_b,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_BOOLEAN);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_b:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_b: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_b (
767s # OrgProjectUsefulInterface *proxy,
767s # gboolean arg_arg_b,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodB",
767s # g_variant_new ("(b)",
767s # arg_arg_b),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_b_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_b_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_b_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_b: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_b_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # gboolean arg_arg_b,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodB",
767s # g_variant_new ("(b)",
767s # arg_arg_b),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_b:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_b (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpbquljy3y.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpbquljy3y.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # guchar arg_arg_y,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectUcharFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectUcharFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_uchar (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_y",
767s # (gchar *) "y",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_arg_y.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodY",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-y",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_y (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UCHAR (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_y: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-y",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_y,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UCHAR);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_y:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_y: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_y (
767s # OrgProjectUsefulInterface *proxy,
767s # guchar arg_arg_y,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodY",
767s # g_variant_new ("(y)",
767s # arg_arg_y),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_y_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_y_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_y_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_y: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_y_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # guchar arg_arg_y,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodY",
767s # g_variant_new ("(y)",
767s # arg_arg_y),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_y:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_y (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpy_xjmc3w.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpy_xjmc3w.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # gint16 arg_arg_n,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_int (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_n",
767s # (gchar *) "n",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_arg_n.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodN",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-n",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_n (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_n: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-n",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_n,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_n:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_n: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_n (
767s # OrgProjectUsefulInterface *proxy,
767s # gint16 arg_arg_n,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodN",
767s # g_variant_new ("(n)",
767s # arg_arg_n),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_n_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_n_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_n_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_n: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_n_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # gint16 arg_arg_n,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodN",
767s # g_variant_new ("(n)",
767s # arg_arg_n),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_n:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_n (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmp0xbn8qtw.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmp0xbn8qtw.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # guint16 arg_arg_q,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_uint (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_q",
767s # (gchar *) "q",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_arg_q.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodQ",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-q",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_q (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_q: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-q",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_q,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_q:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_q: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_q (
767s # OrgProjectUsefulInterface *proxy,
767s # guint16 arg_arg_q,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodQ",
767s # g_variant_new ("(q)",
767s # arg_arg_q),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_q_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_q_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_q_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_q: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_q_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # guint16 arg_arg_q,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodQ",
767s # g_variant_new ("(q)",
767s # arg_arg_q),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_q:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_q (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmphd22gf9u.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmphd22gf9u.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectIntFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # gint arg_arg_i,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectIntFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectIntFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_int (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_i",
767s # (gchar *) "i",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_arg_i.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodI",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-i",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_i (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_i: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-i",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_i,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_i:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_i: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_i (
767s # OrgProjectUsefulInterface *proxy,
767s # gint arg_arg_i,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodI",
767s # g_variant_new ("(i)",
767s # arg_arg_i),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_i_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_i_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_i_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_i: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_i_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # gint arg_arg_i,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodI",
767s # g_variant_new ("(i)",
767s # arg_arg_i),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_i:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_i (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmp0b6u6690.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmp0b6u6690.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUintFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # guint arg_arg_u,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectUintFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectUintFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_uint (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_u",
767s # (gchar *) "u",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_arg_u.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodU",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-u",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_u (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_u: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-u",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_u,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_u:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_u: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_u (
767s # OrgProjectUsefulInterface *proxy,
767s # guint arg_arg_u,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodU",
767s # g_variant_new ("(u)",
767s # arg_arg_u),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_u_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_u_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_u_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_u: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_u_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # guint arg_arg_u,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodU",
767s # g_variant_new ("(u)",
767s # arg_arg_u),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_u:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_u (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmplz4fjkzs.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmplz4fjkzs.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectInt64Func)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # gint64 arg_arg_x,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectInt64Func callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectInt64Func)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_int64 (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_x",
767s # (gchar *) "x",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_arg_x.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodX",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-x",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_x (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_INT64 (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_x: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-x",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_x,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_INT64);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_x:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_x: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_x (
767s # OrgProjectUsefulInterface *proxy,
767s # gint64 arg_arg_x,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodX",
767s # g_variant_new ("(x)",
767s # arg_arg_x),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_x_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_x_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_x_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_x: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_x_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # gint64 arg_arg_x,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodX",
767s # g_variant_new ("(x)",
767s # arg_arg_x),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_x:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_x (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpjxch21a2.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpjxch21a2.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectUint64Func)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # guint64 arg_arg_t,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectUint64Func callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectUint64Func)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_uint64 (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_t",
767s # (gchar *) "t",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_arg_t.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodT",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-t",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_t (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_UINT64 (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_t: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-t",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_t,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UINT64);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_t:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_t: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_t (
767s # OrgProjectUsefulInterface *proxy,
767s # guint64 arg_arg_t,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodT",
767s # g_variant_new ("(t)",
767s # arg_arg_t),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_t_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_t_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_t_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_t: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_t_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # guint64 arg_arg_t,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodT",
767s # g_variant_new ("(t)",
767s # arg_arg_t),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_t:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_t (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpnm_873h5.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpnm_873h5.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # gdouble arg_arg_d,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectDoubleFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectDoubleFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_double (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_d",
767s # (gchar *) "d",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_arg_d.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodD",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-d",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_d (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_DOUBLE (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_d: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-d",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_d,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_DOUBLE);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_d:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_d: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_d (
767s # OrgProjectUsefulInterface *proxy,
767s # gdouble arg_arg_d,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodD",
767s # g_variant_new ("(d)",
767s # arg_arg_d),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_d_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_d_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_d_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_d: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_d_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # gdouble arg_arg_d,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodD",
767s # g_variant_new ("(d)",
767s # arg_arg_d),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_d:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_d (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpg8tu80yy.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpg8tu80yy.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # const gchar *arg_arg_s,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_string (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_s",
767s # (gchar *) "s",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_arg_s.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodS",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-s",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_s (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_s: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-s",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_s,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_s:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_s: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_s (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_s,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodS",
767s # g_variant_new ("(s)",
767s # arg_arg_s),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_s_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_s_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_s_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_s: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_s_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_s,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodS",
767s # g_variant_new ("(s)",
767s # arg_arg_s),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_s:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_s (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpjg1z9dov.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpjg1z9dov.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # const gchar *arg_arg_o,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_string (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_o",
767s # (gchar *) "o",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_arg_o.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodO",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-o",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_o (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_o: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-o",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_o,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_o:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_o: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_o (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_o,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodO",
767s # g_variant_new ("(o)",
767s # arg_arg_o),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_o_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_o_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_o_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_o: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_o_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_o,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodO",
767s # g_variant_new ("(o)",
767s # arg_arg_o),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_o:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_o (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpb2w6j28q.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpb2w6j28q.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # const gchar *arg_arg_g,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_string (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_g",
767s # (gchar *) "g",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_arg_g.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodG",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-g",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_g (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_g: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-g",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_g,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_g:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_g: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_g (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_g,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodG",
767s # g_variant_new ("(g)",
767s # arg_arg_g),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_g_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_g_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_g_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_g: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_g_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_g,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodG",
767s # g_variant_new ("(g)",
767s # arg_arg_g),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_g:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_g (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpsszeskqw.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpsszeskqw.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # GVariant *arg_arg_h,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_variant (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_h",
767s # (gchar *) "h",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_arg_h.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodH",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-h",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_h (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_h: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-h",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_h,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_h:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_h: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_h (
767s # OrgProjectUsefulInterface *proxy,
767s # GVariant *arg_arg_h,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodH",
767s # g_variant_new ("(@h)",
767s # arg_arg_h),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_h_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_h_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_h_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_h: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_h_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # GVariant *arg_arg_h,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodH",
767s # g_variant_new ("(@h)",
767s # arg_arg_h),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_h:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_h (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpyijnvi2t.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpyijnvi2t.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # const gchar *arg_arg_ay,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectStringFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectStringFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_string (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_ay",
767s # (gchar *) "ay",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_arg_ay.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodAy",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-ay",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_ay (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_STRING (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_ay: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-ay",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_ay,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRING);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_ay:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_ay: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_ay (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_ay,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAy",
767s # g_variant_new ("(^ay)",
767s # arg_arg_ay),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_ay_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_ay_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_ay_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_ay: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_ay_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *arg_arg_ay,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAy",
767s # g_variant_new ("(^ay)",
767s # arg_arg_ay),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_ay:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_ay (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpi4mqyzc7.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpi4mqyzc7.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # const gchar *const *arg_arg_as,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_boxed (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_as",
767s # (gchar *) "as",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_arg_as.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodAs",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-as",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_as (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_as: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-as",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_as,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_as:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_as: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_as (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *const *arg_arg_as,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAs",
767s # g_variant_new ("(^as)",
767s # arg_arg_as),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_as_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_as_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_as_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_as: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_as_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *const *arg_arg_as,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAs",
767s # g_variant_new ("(^as)",
767s # arg_arg_as),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_as:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_as (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmp204prdk6.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmp204prdk6.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # const gchar *const *arg_arg_ao,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_boxed (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_ao",
767s # (gchar *) "ao",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_arg_ao.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodAo",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-ao",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_ao (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_ao: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-ao",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_ao,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_ao:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_ao: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_ao (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *const *arg_arg_ao,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAo",
767s # g_variant_new ("(^ao)",
767s # arg_arg_ao),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_ao_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_ao_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_ao_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_ao: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_ao_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *const *arg_arg_ao,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAo",
767s # g_variant_new ("(^ao)",
767s # arg_arg_ao),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_ao:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_ao (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmp3in6us7k.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmp3in6us7k.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # const gchar *const *arg_arg_aay,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectBoxedFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectBoxedFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_boxed (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_aay",
767s # (gchar *) "aay",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_arg_aay.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodAay",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-aay",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_aay (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOXED (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_aay: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-aay",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_aay,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_STRV);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_aay:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_aay: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_aay (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *const *arg_arg_aay,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAay",
767s # g_variant_new ("(^aay)",
767s # arg_arg_aay),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_aay_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_aay_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_aay_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_aay: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_aay_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # const gchar *const *arg_arg_aay,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAay",
767s # g_variant_new ("(^aay)",
767s # arg_arg_aay),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_aay:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_aay (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
767s #
767s # /tmp/tmp0hcv7a58/tmpl5e6sx57.xml:
767s #
767s #
767s #
767s #
767s #
767s #
767s #
767s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp0hcv7a58/tmpl5e6sx57.xml', '--output', '-', '--body']
767s # Return code: 0
767s # Output:
767s # /*
767s # * This file is generated by gdbus-codegen, do not modify it.
767s # *
767s # * The license of this code is the same as for the D-Bus interface description
767s # * it was derived from. Note that it links to GLib, so must comply with the
767s # * LGPL linking clauses.
767s # */
767s #
767s # #ifdef HAVE_CONFIG_H
767s # # include "config.h"
767s # #endif
767s #
767s # #include
767s # #ifdef G_OS_UNIX
767s # # include
767s # #endif
767s #
767s # #ifdef G_ENABLE_DEBUG
767s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
767s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
767s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
767s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
767s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
767s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
767s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
767s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
767s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
767s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
767s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
767s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
767s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
767s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
767s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
767s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
767s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
767s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
767s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
767s # #else /* !G_ENABLE_DEBUG */
767s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
767s # * Do not access GValues directly in your code. Instead, use the
767s # * g_value_get_*() functions
767s # */
767s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
767s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
767s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
767s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
767s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
767s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
767s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
767s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
767s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
767s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
767s # #endif /* !G_ENABLE_DEBUG */
767s #
767s # typedef struct
767s # {
767s # GDBusArgInfo parent_struct;
767s # gboolean use_gvariant;
767s # } _ExtendedGDBusArgInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusMethodInfo parent_struct;
767s # const gchar *signal_name;
767s # gboolean pass_fdlist;
767s # } _ExtendedGDBusMethodInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusSignalInfo parent_struct;
767s # const gchar *signal_name;
767s # } _ExtendedGDBusSignalInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusPropertyInfo parent_struct;
767s # const gchar *hyphen_name;
767s # guint use_gvariant : 1;
767s # guint emits_changed_signal : 1;
767s # } _ExtendedGDBusPropertyInfo;
767s #
767s # typedef struct
767s # {
767s # GDBusInterfaceInfo parent_struct;
767s # const gchar *hyphen_name;
767s # } _ExtendedGDBusInterfaceInfo;
767s #
767s # typedef struct
767s # {
767s # const _ExtendedGDBusPropertyInfo *info;
767s # guint prop_id;
767s # GValue orig_value; /* the value before the change */
767s # } ChangedProperty;
767s #
767s # static void
767s # _changed_property_free (ChangedProperty *data)
767s # {
767s # g_value_unset (&data->orig_value);
767s # g_free (data);
767s # }
767s #
767s # static gboolean
767s # _g_strv_equal0 (gchar **a, gchar **b)
767s # {
767s # gboolean ret = FALSE;
767s # guint n;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # if (g_strv_length (a) != g_strv_length (b))
767s # goto out;
767s # for (n = 0; a[n] != NULL; n++)
767s # if (g_strcmp0 (a[n], b[n]) != 0)
767s # goto out;
767s # ret = TRUE;
767s # out:
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _g_variant_equal0 (GVariant *a, GVariant *b)
767s # {
767s # gboolean ret = FALSE;
767s # if (a == NULL && b == NULL)
767s # {
767s # ret = TRUE;
767s # goto out;
767s # }
767s # if (a == NULL || b == NULL)
767s # goto out;
767s # ret = g_variant_equal (a, b);
767s # out:
767s # return ret;
767s # }
767s #
767s # G_GNUC_UNUSED static gboolean
767s # _g_value_equal (const GValue *a, const GValue *b)
767s # {
767s # gboolean ret = FALSE;
767s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
767s # switch (G_VALUE_TYPE (a))
767s # {
767s # case G_TYPE_BOOLEAN:
767s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
767s # break;
767s # case G_TYPE_UCHAR:
767s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
767s # break;
767s # case G_TYPE_INT:
767s # ret = (g_value_get_int (a) == g_value_get_int (b));
767s # break;
767s # case G_TYPE_UINT:
767s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
767s # break;
767s # case G_TYPE_INT64:
767s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
767s # break;
767s # case G_TYPE_UINT64:
767s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
767s # break;
767s # case G_TYPE_DOUBLE:
767s # {
767s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
767s # gdouble da = g_value_get_double (a);
767s # gdouble db = g_value_get_double (b);
767s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
767s # }
767s # break;
767s # case G_TYPE_STRING:
767s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
767s # break;
767s # case G_TYPE_VARIANT:
767s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
767s # break;
767s # default:
767s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
767s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
767s # else
767s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
767s # break;
767s # }
767s # return ret;
767s # }
767s #
767s # static void
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint G_GNUC_UNUSED,
767s # void *marshal_data)
767s # {
767s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
767s # (void *data1,
767s # GDBusMethodInvocation *arg_method_invocation,
767s # GVariant *arg_arg_asv,
767s # void *data2);
767s # _GDbusCodegenMarshalBoolean_ObjectVariantFunc callback;
767s # GCClosure *cc = (GCClosure*) closure;
767s # void *data1, *data2;
767s # gboolean v_return;
767s #
767s # g_return_if_fail (return_value != NULL);
767s # g_return_if_fail (n_param_values == 3);
767s #
767s # if (G_CCLOSURE_SWAP_DATA (closure))
767s # {
767s # data1 = closure->data;
767s # data2 = g_value_peek_pointer (param_values + 0);
767s # }
767s # else
767s # {
767s # data1 = g_value_peek_pointer (param_values + 0);
767s # data2 = closure->data;
767s # }
767s #
767s # callback = (_GDbusCodegenMarshalBoolean_ObjectVariantFunc)
767s # (marshal_data ? marshal_data : cc->callback);
767s #
767s # v_return =
767s # callback (data1,
767s # g_marshal_value_peek_object (param_values + 1),
767s # g_marshal_value_peek_variant (param_values + 2),
767s # data2);
767s #
767s # g_value_set_boolean (return_value, v_return);
767s # }
767s #
767s # /* ------------------------------------------------------------------------
767s # * Code for interface org.project.UsefulInterface
767s # * ------------------------------------------------------------------------
767s # */
767s #
767s # /**
767s # * SECTION:OrgProjectUsefulInterface
767s # * @title: OrgProjectUsefulInterface
767s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
767s # *
767s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
767s # */
767s #
767s # /* ---- Introspection data for org.project.UsefulInterface ---- */
767s #
767s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv =
767s # {
767s # {
767s # -1,
767s # (gchar *) "arg_asv",
767s # (gchar *) "a{sv}",
767s # NULL
767s # },
767s # FALSE
767s # };
767s #
767s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_arg_asv.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
767s # {
767s # {
767s # -1,
767s # (gchar *) "SingleArgMethodAsv",
767s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_IN_ARG_pointers,
767s # NULL,
767s # NULL
767s # },
767s # "handle-single-arg-method-asv",
767s # FALSE
767s # };
767s #
767s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
767s # {
767s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
767s # NULL
767s # };
767s #
767s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
767s # {
767s # {
767s # -1,
767s # (gchar *) "org.project.UsefulInterface",
767s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
767s # NULL,
767s # NULL,
767s # NULL
767s # },
767s # "org-project-useful-interface",
767s # };
767s #
767s #
767s # /**
767s # * org_project_useful_interface_interface_info:
767s # *
767s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
767s # *
767s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
767s # */
767s # GDBusInterfaceInfo *
767s # org_project_useful_interface_interface_info (void)
767s # {
767s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_override_properties:
767s # * @klass: The class structure for a #GObject derived class.
767s # * @property_id_begin: The property id to assign to the first overridden property.
767s # *
767s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
767s # * The properties are overridden in the order they are defined.
767s # *
767s # * Returns: The last property id.
767s # */
767s # guint
767s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
767s # {
767s # return property_id_begin - 1;
767s # }
767s #
767s #
767s # inline static void
767s # org_project_useful_interface_method_marshal_single_arg_method_asv (
767s # GClosure *closure,
767s # GValue *return_value,
767s # unsigned int n_param_values,
767s # const GValue *param_values,
767s # void *invocation_hint,
767s # void *marshal_data)
767s # {
767s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_VARIANT (closure,
767s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
767s # }
767s #
767s #
767s # /**
767s # * OrgProjectUsefulInterface:
767s # *
767s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceIface:
767s # * @parent_iface: The parent interface.
767s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
767s # *
767s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
767s # */
767s #
767s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
767s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
767s #
767s # static void
767s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
767s # {
767s # /* GObject signals for incoming D-Bus method calls: */
767s # /**
767s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: A #GDBusMethodInvocation.
767s # * @arg_arg_asv: Argument passed by remote caller.
767s # *
767s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
767s # *
767s # * 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.
767s # *
767s # * 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.
767s # */
767s # g_signal_new ("handle-single-arg-method-asv",
767s # G_TYPE_FROM_INTERFACE (iface),
767s # G_SIGNAL_RUN_LAST,
767s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
767s # g_signal_accumulator_true_handled,
767s # NULL,
767s # org_project_useful_interface_method_marshal_single_arg_method_asv,
767s # G_TYPE_BOOLEAN,
767s # 2,
767s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_VARIANT);
767s #
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_asv:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_asv: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
767s # */
767s # void
767s # org_project_useful_interface_call_single_arg_method_asv (
767s # OrgProjectUsefulInterface *proxy,
767s # GVariant *arg_arg_asv,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAsv",
767s # g_variant_new ("(@a{sv})",
767s # arg_arg_asv),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # callback,
767s # user_data);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_asv_finish:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_asv_finish (
767s # OrgProjectUsefulInterface *proxy,
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_call_single_arg_method_asv_sync:
767s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
767s # * @arg_arg_asv: Argument to pass with the method invocation.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL.
767s # *
767s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
767s # *
767s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
767s # */
767s # gboolean
767s # org_project_useful_interface_call_single_arg_method_asv_sync (
767s # OrgProjectUsefulInterface *proxy,
767s # GVariant *arg_arg_asv,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GVariant *_ret;
767s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
767s # "SingleArgMethodAsv",
767s # g_variant_new ("(@a{sv})",
767s # arg_arg_asv),
767s # G_DBUS_CALL_FLAGS_NONE,
767s # -1,
767s # cancellable,
767s # error);
767s # if (_ret == NULL)
767s # goto _out;
767s # g_variant_get (_ret,
767s # "()");
767s # g_variant_unref (_ret);
767s # _out:
767s # return _ret != NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_complete_single_arg_method_asv:
767s # * @object: A #OrgProjectUsefulInterface.
767s # * @invocation: (transfer full): A #GDBusMethodInvocation.
767s # *
767s # * 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.
767s # *
767s # * This method will free @invocation, you cannot use it afterwards.
767s # */
767s # void
767s # org_project_useful_interface_complete_single_arg_method_asv (
767s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
767s # GDBusMethodInvocation *invocation)
767s # {
767s # g_dbus_method_invocation_return_value (invocation,
767s # g_variant_new ("()"));
767s # }
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxy:
767s # *
767s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceProxyClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceProxy.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceProxyPrivate
767s # {
767s # GData *qdata;
767s # };
767s #
767s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_proxy_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
767s # g_datalist_clear (&proxy->priv->qdata);
767s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
767s # guint prop_id G_GNUC_UNUSED,
767s # const GValue *value G_GNUC_UNUSED,
767s # GParamSpec *pspec G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
767s # const gchar *sender_name G_GNUC_UNUSED,
767s # const gchar *signal_name,
767s # GVariant *parameters)
767s # {
767s # _ExtendedGDBusSignalInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # gsize n;
767s # guint signal_id;
767s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
767s # if (info == NULL)
767s # return;
767s # num_params = g_variant_n_children (parameters);
767s # paramv = g_new0 (GValue, num_params + 1);
767s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[0], proxy);
767s # g_variant_iter_init (&iter, parameters);
767s # n = 1;
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_signal_emitv (paramv, signal_id, 0, NULL);
767s # for (n = 0; n < num_params + 1; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
767s # GVariant *changed_properties,
767s # const gchar *const *invalidated_properties)
767s # {
767s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
767s # guint n;
767s # const gchar *key;
767s # GVariantIter *iter;
767s # _ExtendedGDBusPropertyInfo *info;
767s # g_variant_get (changed_properties, "a{sv}", &iter);
767s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
767s # g_datalist_remove_data (&proxy->priv->qdata, key);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # g_variant_iter_free (iter);
767s # for (n = 0; invalidated_properties[n] != NULL; n++)
767s # {
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
767s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
767s # if (info != NULL)
767s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
767s # }
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
767s # #else
767s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
767s # #endif
767s #
767s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusProxyClass *proxy_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
767s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
767s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
767s #
767s # proxy_class = G_DBUS_PROXY_CLASS (klass);
767s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
767s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_sync:
767s # * @connection: A #GDBusConnection.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_sync (
767s # GDBusConnection *connection,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
767s # * @user_data: User data to pass to @callback.
767s # *
767s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
767s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
767s # */
767s # void
767s # org_project_useful_interface_proxy_new_for_bus (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GAsyncReadyCallback callback,
767s # gpointer user_data)
767s # {
767s # g_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);
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_finish:
767s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
767s # * @error: Return location for error or %NULL
767s # *
767s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_finish (
767s # GAsyncResult *res,
767s # GError **error)
767s # {
767s # GObject *ret;
767s # GObject *source_object;
767s # source_object = g_async_result_get_source_object (res);
767s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
767s # g_object_unref (source_object);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_proxy_new_for_bus_sync:
767s # * @bus_type: A #GBusType.
767s # * @flags: Flags from the #GDBusProxyFlags enumeration.
767s # * @name: A bus name (well-known or unique).
767s # * @object_path: An object path.
767s # * @cancellable: (nullable): A #GCancellable or %NULL.
767s # * @error: Return location for error or %NULL
767s # *
767s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
767s # *
767s # * The calling thread is blocked until a reply is received.
767s # *
767s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_proxy_new_for_bus_sync (
767s # GBusType bus_type,
767s # GDBusProxyFlags flags,
767s # const gchar *name,
767s # const gchar *object_path,
767s # GCancellable *cancellable,
767s # GError **error)
767s # {
767s # GInitable *ret;
767s # 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);
767s # if (ret != NULL)
767s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
767s # else
767s # return NULL;
767s # }
767s #
767s #
767s # /* ------------------------------------------------------------------------ */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeleton:
767s # *
767s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
767s # */
767s #
767s # /**
767s # * OrgProjectUsefulInterfaceSkeletonClass:
767s # * @parent_class: The parent class.
767s # *
767s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
767s # */
767s #
767s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
767s # {
767s # GValue *properties;
767s # GList *changed_properties;
767s # GSource *changed_properties_idle_source;
767s # GMainContext *context;
767s # GMutex lock;
767s # };
767s #
767s # static void
767s # _org_project_useful_interface_skeleton_handle_method_call (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name,
767s # const gchar *method_name,
767s # GVariant *parameters,
767s # GDBusMethodInvocation *invocation,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # _ExtendedGDBusMethodInfo *info;
767s # GVariantIter iter;
767s # GVariant *child;
767s # GValue *paramv;
767s # gsize num_params;
767s # guint num_extra;
767s # gsize n;
767s # guint signal_id;
767s # GValue return_value = G_VALUE_INIT;
767s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
767s # g_assert (info != NULL);
767s # num_params = g_variant_n_children (parameters);
767s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
767s # n = 0;
767s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_set_object (¶mv[n++], skeleton);
767s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
767s # g_value_set_object (¶mv[n++], invocation);
767s # if (info->pass_fdlist)
767s # {
767s # #ifdef G_OS_UNIX
767s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
767s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
767s # #else
767s # g_assert_not_reached ();
767s # #endif
767s # }
767s # g_variant_iter_init (&iter, parameters);
767s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
767s # {
767s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
767s # if (arg_info->use_gvariant)
767s # {
767s # g_value_init (¶mv[n], G_TYPE_VARIANT);
767s # g_value_set_variant (¶mv[n], child);
767s # n++;
767s # }
767s # else
767s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
767s # g_variant_unref (child);
767s # }
767s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
767s # g_value_init (&return_value, G_TYPE_BOOLEAN);
767s # g_signal_emitv (paramv, signal_id, 0, &return_value);
767s # if (!g_value_get_boolean (&return_value))
767s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
767s # g_value_unset (&return_value);
767s # for (n = 0; n < num_params + num_extra; n++)
767s # g_value_unset (¶mv[n]);
767s # g_free (paramv);
767s # }
767s #
767s # static GVariant *
767s # _org_project_useful_interface_skeleton_handle_get_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # GVariant *ret;
767s # ret = NULL;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # g_value_init (&value, pspec->value_type);
767s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
767s # g_value_unset (&value);
767s # }
767s # return ret;
767s # }
767s #
767s # static gboolean
767s # _org_project_useful_interface_skeleton_handle_set_property (
767s # GDBusConnection *connection G_GNUC_UNUSED,
767s # const gchar *sender G_GNUC_UNUSED,
767s # const gchar *object_path G_GNUC_UNUSED,
767s # const gchar *interface_name G_GNUC_UNUSED,
767s # const gchar *property_name,
767s # GVariant *variant,
767s # GError **error,
767s # gpointer user_data)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
767s # GValue value = G_VALUE_INIT;
767s # GParamSpec *pspec;
767s # _ExtendedGDBusPropertyInfo *info;
767s # gboolean ret;
767s # ret = FALSE;
767s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
767s # g_assert (info != NULL);
767s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
767s # if (pspec == NULL)
767s # {
767s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
767s # }
767s # else
767s # {
767s # if (info->use_gvariant)
767s # g_value_set_variant (&value, variant);
767s # else
767s # g_dbus_gvariant_to_gvalue (variant, &value);
767s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
767s # g_value_unset (&value);
767s # ret = TRUE;
767s # }
767s # return ret;
767s # }
767s #
767s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
767s # {
767s # _org_project_useful_interface_skeleton_handle_method_call,
767s # _org_project_useful_interface_skeleton_handle_get_property,
767s # _org_project_useful_interface_skeleton_handle_set_property,
767s # {NULL}
767s # };
767s #
767s # static GDBusInterfaceInfo *
767s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return org_project_useful_interface_interface_info ();
767s # }
767s #
767s # static GDBusInterfaceVTable *
767s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
767s # {
767s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
767s # }
767s #
767s # static GVariant *
767s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
767s #
767s # GVariantBuilder builder;
767s # guint n;
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
767s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #else
767s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
767s # #endif
767s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
767s # goto out;
767s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
767s # {
767s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
767s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
767s # {
767s # GVariant *value;
767s # 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);
767s # if (value != NULL)
767s # {
767s # g_variant_take_ref (value);
767s # g_variant_builder_add (&builder, "{sv}", info->name, value);
767s # g_variant_unref (value);
767s # }
767s # }
767s # }
767s # out:
767s # return g_variant_builder_end (&builder);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #else
767s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
767s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
767s #
767s # #endif
767s # static void
767s # org_project_useful_interface_skeleton_finalize (GObject *object)
767s # {
767s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
767s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
767s # if (skeleton->priv->changed_properties_idle_source != NULL)
767s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
767s # g_main_context_unref (skeleton->priv->context);
767s # g_mutex_clear (&skeleton->priv->lock);
767s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
767s # {
767s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
767s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
767s # #else
767s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
767s # #endif
767s #
767s # g_mutex_init (&skeleton->priv->lock);
767s # skeleton->priv->context = g_main_context_ref_thread_default ();
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
767s # {
767s # GObjectClass *gobject_class;
767s # GDBusInterfaceSkeletonClass *skeleton_class;
767s #
767s # gobject_class = G_OBJECT_CLASS (klass);
767s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
767s #
767s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
767s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
767s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
767s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
767s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
767s #
767s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
767s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
767s # #endif
767s # }
767s #
767s # static void
767s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
767s # {
767s # }
767s #
767s # /**
767s # * org_project_useful_interface_skeleton_new:
767s # *
767s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
767s # *
767s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
767s # */
767s # OrgProjectUsefulInterface *
767s # org_project_useful_interface_skeleton_new (void)
767s # {
767s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
767s # }
767s # Error:
768s ok 11 __main__.TestCodegen.test_generate_methods_marshaller_single_typed_out_args
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmpafk9gctx
768s # /tmp/tmpafk9gctx/tmpw64d0vah.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpw64d0vah.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_b",
768s # (gchar *) "b",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_arg_b.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodB",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_b_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-b",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_b.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_b (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_b: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-b signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-b:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodB() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-b",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_b),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_b,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_b:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodB() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_b_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_b_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_b (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodB",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_b_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_b().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_b().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_b_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gboolean *out_arg_b,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(b)",
768s # out_arg_b);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_b_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_b: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodB() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_b() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_b_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gboolean *out_arg_b,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodB",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(b)",
768s # out_arg_b);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_b:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_b: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_b (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # gboolean arg_b)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(b)",
768s # arg_b));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpdmcdr689.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpdmcdr689.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_y",
768s # (gchar *) "y",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_arg_y.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodY",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_y_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-y",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_y.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_y (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_y: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-y signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-y:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodY() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-y",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_y),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_y,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_y:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodY() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_y_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_y_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_y (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodY",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_y_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_y().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_y().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_y_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # guchar *out_arg_y,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(y)",
768s # out_arg_y);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_y_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_y: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodY() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_y() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_y_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # guchar *out_arg_y,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodY",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(y)",
768s # out_arg_y);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_y:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_y: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_y (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # guchar arg_y)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(y)",
768s # arg_y));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpajql74dn.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpajql74dn.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_n",
768s # (gchar *) "n",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_arg_n.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodN",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_n_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-n",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_n.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_n (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_n: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-n signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-n:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodN() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-n",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_n),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_n,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_n:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodN() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_n_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_n_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_n (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodN",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_n_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_n().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_n().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_n_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gint16 *out_arg_n,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(n)",
768s # out_arg_n);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_n_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_n: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodN() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_n() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_n_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gint16 *out_arg_n,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodN",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(n)",
768s # out_arg_n);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_n:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_n: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_n (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # gint16 arg_n)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(n)",
768s # arg_n));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmp6wcydw0f.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmp6wcydw0f.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_q",
768s # (gchar *) "q",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_arg_q.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodQ",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_q_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-q",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_q.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_q (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_q: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-q signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-q:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodQ() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-q",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_q),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_q,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_q:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodQ() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_q_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_q_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_q (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodQ",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_q_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_q().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_q().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_q_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # guint16 *out_arg_q,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(q)",
768s # out_arg_q);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_q_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_q: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodQ() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_q() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_q_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # guint16 *out_arg_q,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodQ",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(q)",
768s # out_arg_q);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_q:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_q: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_q (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # guint16 arg_q)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(q)",
768s # arg_q));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmptb5t0vfa.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmptb5t0vfa.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_i",
768s # (gchar *) "i",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_arg_i.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodI",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_i_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-i",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_i.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_i (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_i: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-i signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-i:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodI() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-i",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_i),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_i,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_i:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodI() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_i_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_i_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_i (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodI",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_i_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_i().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_i().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_i_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gint *out_arg_i,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(i)",
768s # out_arg_i);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_i_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_i: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodI() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_i() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_i_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gint *out_arg_i,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodI",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(i)",
768s # out_arg_i);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_i:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_i: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_i (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # gint arg_i)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(i)",
768s # arg_i));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpd303e2q4.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpd303e2q4.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_u",
768s # (gchar *) "u",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_arg_u.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodU",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_u_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-u",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_u.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_u (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_u: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-u signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-u:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodU() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-u",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_u),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_u,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_u:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodU() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_u_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_u_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_u (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodU",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_u_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_u().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_u().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_u_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # guint *out_arg_u,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(u)",
768s # out_arg_u);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_u_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_u: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodU() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_u() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_u_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # guint *out_arg_u,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodU",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(u)",
768s # out_arg_u);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_u:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_u: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_u (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # guint arg_u)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(u)",
768s # arg_u));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmp_h46coft.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmp_h46coft.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_x",
768s # (gchar *) "x",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_arg_x.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodX",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_x_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-x",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_x.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_x (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_x: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-x signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-x:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodX() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-x",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_x),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_x,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_x:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodX() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_x_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_x_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_x (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodX",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_x_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_x().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_x().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_x_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gint64 *out_arg_x,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(x)",
768s # out_arg_x);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_x_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_x: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodX() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_x() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_x_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gint64 *out_arg_x,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodX",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(x)",
768s # out_arg_x);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_x:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_x: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_x (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # gint64 arg_x)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(x)",
768s # arg_x));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpuni5_wfa.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpuni5_wfa.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_t",
768s # (gchar *) "t",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_arg_t.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodT",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_t_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-t",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_t.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_t (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_t: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-t signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-t:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodT() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-t",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_t),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_t,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_t:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodT() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_t_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_t_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_t (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodT",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_t_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_t().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_t().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_t_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # guint64 *out_arg_t,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(t)",
768s # out_arg_t);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_t_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_t: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodT() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_t() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_t_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # guint64 *out_arg_t,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodT",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(t)",
768s # out_arg_t);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_t:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_t: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_t (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # guint64 arg_t)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(t)",
768s # arg_t));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpqwcmsur_.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpqwcmsur_.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_d",
768s # (gchar *) "d",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_arg_d.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodD",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_d_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-d",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_d.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_d (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_d: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-d signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-d:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodD() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-d",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_d),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_d,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_d:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodD() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_d_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_d_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_d (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodD",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_d_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_d().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_d().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_d_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gdouble *out_arg_d,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(d)",
768s # out_arg_d);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_d_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_d: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_d() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_d_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gdouble *out_arg_d,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodD",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(d)",
768s # out_arg_d);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_d:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_d: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_d (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # gdouble arg_d)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(d)",
768s # arg_d));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpc0s9_rmb.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpc0s9_rmb.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_s",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_arg_s.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodS",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_s_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-s",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_s.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_s (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_s: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-s signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-s:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodS() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-s",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_s),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_s,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_s:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodS() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_s_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_s_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_s (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodS",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_s_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_s().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_s().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_s_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_s,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(s)",
768s # out_arg_s);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_s_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_s: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodS() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_s() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_s_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_s,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodS",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(s)",
768s # out_arg_s);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_s:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_s: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_s (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # const gchar *arg_s)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(s)",
768s # arg_s));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmp_y5_bewc.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmp_y5_bewc.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_o",
768s # (gchar *) "o",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_arg_o.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodO",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_o_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-o",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_o.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_o (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_o: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-o signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-o:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodO() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-o",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_o),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_o,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_o:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodO() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_o_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_o_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_o (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodO",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_o_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_o().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_o().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_o_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_o,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(o)",
768s # out_arg_o);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_o_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_o: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodO() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_o() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_o_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_o,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodO",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(o)",
768s # out_arg_o);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_o:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_o: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_o (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # const gchar *arg_o)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(o)",
768s # arg_o));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpvf2iqmvb.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpvf2iqmvb.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_g",
768s # (gchar *) "g",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_arg_g.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodG",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_g_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-g",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_g.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_g (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_g: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-g signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-g:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodG() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-g",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_g),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_g,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_g:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodG() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_g_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_g_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_g (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodG",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_g_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_g().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_g().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_g_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_g,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(g)",
768s # out_arg_g);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_g_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_g: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodG() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_g() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_g_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_g,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodG",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(g)",
768s # out_arg_g);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_g:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_g: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_g (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # const gchar *arg_g)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(g)",
768s # arg_g));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpz9rcjmv4.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpz9rcjmv4.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_h",
768s # (gchar *) "h",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_arg_h.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodH",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_h_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-h",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_h.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_h (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_h: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-h signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-h:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodH() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-h",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_h),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_h,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_h:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodH() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_h_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_h_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_h (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodH",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_h_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_h().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_h().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_h_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # GVariant **out_arg_h,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(@h)",
768s # out_arg_h);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_h_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_h: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodH() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_h() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_h_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # GVariant **out_arg_h,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodH",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(@h)",
768s # out_arg_h);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_h:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_h: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_h (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # GVariant *arg_h)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(@h)",
768s # arg_h));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmp6l2jbg4h.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmp6l2jbg4h.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_ay",
768s # (gchar *) "ay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_arg_ay.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodAy",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ay_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-ay",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_ay.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_ay (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_ay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ay signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-ay:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodAy() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-ay",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ay),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_ay,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_ay:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodAy() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_ay_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_ay_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_ay (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAy",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_ay_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ay().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ay().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_ay_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_ay,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^ay)",
768s # out_arg_ay);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_ay_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodAy() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_ay() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_ay_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar **out_arg_ay,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAy",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^ay)",
768s # out_arg_ay);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_ay:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_ay: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_ay (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # const gchar *arg_ay)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(^ay)",
768s # arg_ay));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpkxxvxlvp.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpkxxvxlvp.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_as",
768s # (gchar *) "as",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_arg_as.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodAs",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_as_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-as",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_as.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_as (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_as: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-as signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-as:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodAs() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-as",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_as),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_as,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_as:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodAs() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_as_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_as_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_as (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAs",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_as_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_as().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_as().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_as_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar ***out_arg_as,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^as)",
768s # out_arg_as);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_as_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodAs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_as() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_as_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar ***out_arg_as,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAs",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^as)",
768s # out_arg_as);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_as:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_as: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_as (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # const gchar *const *arg_as)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(^as)",
768s # arg_as));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmp41jwdjg4.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmp41jwdjg4.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_ao",
768s # (gchar *) "ao",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_arg_ao.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodAo",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_ao_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-ao",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_ao.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_ao (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_ao: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-ao signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-ao:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodAo() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-ao",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_ao),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_ao,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_ao:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodAo() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_ao_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_ao_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_ao (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAo",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_ao_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_ao().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_ao().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_ao_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar ***out_arg_ao,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^ao)",
768s # out_arg_ao);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_ao_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodAo() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_ao() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_ao_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar ***out_arg_ao,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAo",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^ao)",
768s # out_arg_ao);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_ao:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_ao: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_ao (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # const gchar *const *arg_ao)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(^ao)",
768s # arg_ao));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmpbnu7zo8w.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmpbnu7zo8w.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_aay",
768s # (gchar *) "aay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_arg_aay.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodAay",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_aay_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-aay",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_aay.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_aay (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_aay: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-aay signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-aay:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodAay() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-aay",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_aay),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_aay,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_aay:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodAay() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_aay_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_aay_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_aay (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAay",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_aay_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_aay().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_aay().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_aay_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar ***out_arg_aay,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^aay)",
768s # out_arg_aay);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_aay_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodAay() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_aay() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_aay_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # gchar ***out_arg_aay,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAay",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(^aay)",
768s # out_arg_aay);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_aay:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_aay: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_aay (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # const gchar *const *arg_aay)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(^aay)",
768s # arg_aay));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s #
768s # /tmp/tmpafk9gctx/tmp6jy4566n.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpafk9gctx/tmp6jy4566n.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "arg_asv",
768s # (gchar *) "a{sv}",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_arg_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_useful_interface_method_info_single_arg_method_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgMethodAsv",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_useful_interface_method_info_single_arg_method_asv_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-single-arg-method-asv",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_useful_interface_method_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_method_info_single_arg_method_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # (GDBusMethodInfo **) &_org_project_useful_interface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_method_marshal_single_arg_method_asv (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_single_arg_method_asv: Handler for the #OrgProjectUsefulInterface::handle-single-arg-method-asv signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectUsefulInterface::handle-single-arg-method-asv:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the SingleArgMethodAsv() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-single-arg-method-asv",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, handle_single_arg_method_asv),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_useful_interface_method_marshal_single_arg_method_asv,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_asv:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_call_single_arg_method_asv_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_asv_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_useful_interface_call_single_arg_method_asv (
768s # OrgProjectUsefulInterface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAsv",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_asv_finish:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_call_single_arg_method_asv().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_useful_interface_call_single_arg_method_asv().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_asv_finish (
768s # OrgProjectUsefulInterface *proxy,
768s # GVariant **out_arg_asv,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(@a{sv})",
768s # out_arg_asv);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_call_single_arg_method_asv_sync:
768s # * @proxy: A #OrgProjectUsefulInterfaceProxy.
768s # * @out_arg_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SingleArgMethodAsv() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_call_single_arg_method_asv() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_useful_interface_call_single_arg_method_asv_sync (
768s # OrgProjectUsefulInterface *proxy,
768s # GVariant **out_arg_asv,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SingleArgMethodAsv",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(@a{sv})",
768s # out_arg_asv);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_complete_single_arg_method_asv:
768s # * @object: A #OrgProjectUsefulInterface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @arg_asv: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_useful_interface_complete_single_arg_method_asv (
768s # OrgProjectUsefulInterface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # GVariant *arg_asv)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(@a{sv})",
768s # arg_asv));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s # Error:
768s ok 12 __main__.TestCodegen.test_generate_methods_marshallers_multiple_in_args
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmpf2bcsupx
768s # /tmp/tmpf2bcsupx/tmp9klny_9v.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpf2bcsupx/tmp9klny_9v.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 20);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectBooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # g_marshal_value_peek_boolean (param_values + 2),
768s # g_marshal_value_peek_uchar (param_values + 3),
768s # g_marshal_value_peek_int (param_values + 4),
768s # g_marshal_value_peek_uint (param_values + 5),
768s # g_marshal_value_peek_int (param_values + 6),
768s # g_marshal_value_peek_uint (param_values + 7),
768s # g_marshal_value_peek_int64 (param_values + 8),
768s # g_marshal_value_peek_uint64 (param_values + 9),
768s # g_marshal_value_peek_double (param_values + 10),
768s # g_marshal_value_peek_string (param_values + 11),
768s # g_marshal_value_peek_string (param_values + 12),
768s # g_marshal_value_peek_string (param_values + 13),
768s # g_marshal_value_peek_variant (param_values + 14),
768s # g_marshal_value_peek_string (param_values + 15),
768s # g_marshal_value_peek_boxed (param_values + 16),
768s # g_marshal_value_peek_boxed (param_values + 17),
768s # g_marshal_value_peek_boxed (param_values + 18),
768s # g_marshal_value_peek_variant (param_values + 19),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.CallableIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectCallableIface
768s # * @title: OrgProjectCallableIface
768s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.CallableIface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_b",
768s # (gchar *) "b",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_y",
768s # (gchar *) "y",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_n",
768s # (gchar *) "n",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_q",
768s # (gchar *) "q",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_i",
768s # (gchar *) "i",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_u",
768s # (gchar *) "u",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_x",
768s # (gchar *) "x",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_t",
768s # (gchar *) "t",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_d",
768s # (gchar *) "d",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_s",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_o",
768s # (gchar *) "o",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_g",
768s # (gchar *) "g",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_h",
768s # (gchar *) "h",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ay",
768s # (gchar *) "ay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_as",
768s # (gchar *) "as",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ao",
768s # (gchar *) "ao",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_aay",
768s # (gchar *) "aay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_asv",
768s # (gchar *) "a{sv}",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
768s # {
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
768s # {
768s # {
768s # -1,
768s # (gchar *) "MethodWithManyArgs",
768s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "handle-method-with-many-args",
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_b",
768s # (gchar *) "b",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_y",
768s # (gchar *) "y",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_n",
768s # (gchar *) "n",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_q",
768s # (gchar *) "q",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_i",
768s # (gchar *) "i",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_u",
768s # (gchar *) "u",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_x",
768s # (gchar *) "x",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_t",
768s # (gchar *) "t",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_d",
768s # (gchar *) "d",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_s",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_o",
768s # (gchar *) "o",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_g",
768s # (gchar *) "g",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_h",
768s # (gchar *) "h",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ay",
768s # (gchar *) "ay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_as",
768s # (gchar *) "as",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ao",
768s # (gchar *) "ao",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_aay",
768s # (gchar *) "aay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_asv",
768s # (gchar *) "a{sv}",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers[] =
768s # {
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_b.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_y.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_n.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_q.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_i.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_u.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_x.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_t.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_d.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_s.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_o.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_g.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_h.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ay.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_as.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_ao.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_aay.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_an_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_same_method_with_many_args =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SameMethodWithManyArgs",
768s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_same_method_with_many_args_IN_ARG_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "handle-same-method-with-many-args",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
768s # {
768s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
768s # &_org_project_callable_iface_method_info_same_method_with_many_args.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.CallableIface",
768s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-callable-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_callable_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_callable_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_callable_iface_method_marshal_method_with_many_args (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _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,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_callable_iface_method_marshal_same_method_with_many_args (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _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,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectCallableIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
768s # */
768s #
768s # /**
768s # * OrgProjectCallableIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
768s # * @handle_same_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-same-method-with-many-args signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.CallableIface.
768s # */
768s #
768s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectCallableIface::handle-method-with-many-args:
768s # * @object: A #OrgProjectCallableIface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # * @arg_an_b: Argument passed by remote caller.
768s # * @arg_an_y: Argument passed by remote caller.
768s # * @arg_an_n: Argument passed by remote caller.
768s # * @arg_an_q: Argument passed by remote caller.
768s # * @arg_an_i: Argument passed by remote caller.
768s # * @arg_an_u: Argument passed by remote caller.
768s # * @arg_an_x: Argument passed by remote caller.
768s # * @arg_an_t: Argument passed by remote caller.
768s # * @arg_an_d: Argument passed by remote caller.
768s # * @arg_an_s: Argument passed by remote caller.
768s # * @arg_an_o: Argument passed by remote caller.
768s # * @arg_an_g: Argument passed by remote caller.
768s # * @arg_an_h: Argument passed by remote caller.
768s # * @arg_an_ay: Argument passed by remote caller.
768s # * @arg_an_as: Argument passed by remote caller.
768s # * @arg_an_ao: Argument passed by remote caller.
768s # * @arg_an_aay: Argument passed by remote caller.
768s # * @arg_an_asv: Argument passed by remote caller.
768s # *
768s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-method-with-many-args",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_callable_iface_method_marshal_method_with_many_args,
768s # G_TYPE_BOOLEAN,
768s # 19,
768s # 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);
768s #
768s # /**
768s # * OrgProjectCallableIface::handle-same-method-with-many-args:
768s # * @object: A #OrgProjectCallableIface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # * @arg_an_b: Argument passed by remote caller.
768s # * @arg_an_y: Argument passed by remote caller.
768s # * @arg_an_n: Argument passed by remote caller.
768s # * @arg_an_q: Argument passed by remote caller.
768s # * @arg_an_i: Argument passed by remote caller.
768s # * @arg_an_u: Argument passed by remote caller.
768s # * @arg_an_x: Argument passed by remote caller.
768s # * @arg_an_t: Argument passed by remote caller.
768s # * @arg_an_d: Argument passed by remote caller.
768s # * @arg_an_s: Argument passed by remote caller.
768s # * @arg_an_o: Argument passed by remote caller.
768s # * @arg_an_g: Argument passed by remote caller.
768s # * @arg_an_h: Argument passed by remote caller.
768s # * @arg_an_ay: Argument passed by remote caller.
768s # * @arg_an_as: Argument passed by remote caller.
768s # * @arg_an_ao: Argument passed by remote caller.
768s # * @arg_an_aay: Argument passed by remote caller.
768s # * @arg_an_asv: Argument passed by remote caller.
768s # *
768s # * Signal emitted when a remote caller is invoking the SameMethodWithManyArgs() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-same-method-with-many-args",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_same_method_with_many_args),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_callable_iface_method_marshal_same_method_with_many_args,
768s # G_TYPE_BOOLEAN,
768s # 19,
768s # 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);
768s #
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_method_with_many_args:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @arg_an_b: Argument to pass with the method invocation.
768s # * @arg_an_y: Argument to pass with the method invocation.
768s # * @arg_an_n: Argument to pass with the method invocation.
768s # * @arg_an_q: Argument to pass with the method invocation.
768s # * @arg_an_i: Argument to pass with the method invocation.
768s # * @arg_an_u: Argument to pass with the method invocation.
768s # * @arg_an_x: Argument to pass with the method invocation.
768s # * @arg_an_t: Argument to pass with the method invocation.
768s # * @arg_an_d: Argument to pass with the method invocation.
768s # * @arg_an_s: Argument to pass with the method invocation.
768s # * @arg_an_o: Argument to pass with the method invocation.
768s # * @arg_an_g: Argument to pass with the method invocation.
768s # * @arg_an_h: Argument to pass with the method invocation.
768s # * @arg_an_ay: Argument to pass with the method invocation.
768s # * @arg_an_as: Argument to pass with the method invocation.
768s # * @arg_an_ao: Argument to pass with the method invocation.
768s # * @arg_an_aay: Argument to pass with the method invocation.
768s # * @arg_an_asv: Argument to pass with the method invocation.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
768s # *
768s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_callable_iface_call_method_with_many_args (
768s # OrgProjectCallableIface *proxy,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "MethodWithManyArgs",
768s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # arg_an_b,
768s # arg_an_y,
768s # arg_an_n,
768s # arg_an_q,
768s # arg_an_i,
768s # arg_an_u,
768s # arg_an_x,
768s # arg_an_t,
768s # arg_an_d,
768s # arg_an_s,
768s # arg_an_o,
768s # arg_an_g,
768s # arg_an_h,
768s # arg_an_ay,
768s # arg_an_as,
768s # arg_an_ao,
768s # arg_an_aay,
768s # arg_an_asv),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_method_with_many_args_finish:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_callable_iface_call_method_with_many_args_finish (
768s # OrgProjectCallableIface *proxy,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "()");
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_method_with_many_args_sync:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @arg_an_b: Argument to pass with the method invocation.
768s # * @arg_an_y: Argument to pass with the method invocation.
768s # * @arg_an_n: Argument to pass with the method invocation.
768s # * @arg_an_q: Argument to pass with the method invocation.
768s # * @arg_an_i: Argument to pass with the method invocation.
768s # * @arg_an_u: Argument to pass with the method invocation.
768s # * @arg_an_x: Argument to pass with the method invocation.
768s # * @arg_an_t: Argument to pass with the method invocation.
768s # * @arg_an_d: Argument to pass with the method invocation.
768s # * @arg_an_s: Argument to pass with the method invocation.
768s # * @arg_an_o: Argument to pass with the method invocation.
768s # * @arg_an_g: Argument to pass with the method invocation.
768s # * @arg_an_h: Argument to pass with the method invocation.
768s # * @arg_an_ay: Argument to pass with the method invocation.
768s # * @arg_an_as: Argument to pass with the method invocation.
768s # * @arg_an_ao: Argument to pass with the method invocation.
768s # * @arg_an_aay: Argument to pass with the method invocation.
768s # * @arg_an_asv: Argument to pass with the method invocation.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_callable_iface_call_method_with_many_args_sync (
768s # OrgProjectCallableIface *proxy,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "MethodWithManyArgs",
768s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # arg_an_b,
768s # arg_an_y,
768s # arg_an_n,
768s # arg_an_q,
768s # arg_an_i,
768s # arg_an_u,
768s # arg_an_x,
768s # arg_an_t,
768s # arg_an_d,
768s # arg_an_s,
768s # arg_an_o,
768s # arg_an_g,
768s # arg_an_h,
768s # arg_an_ay,
768s # arg_an_as,
768s # arg_an_ao,
768s # arg_an_aay,
768s # arg_an_asv),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "()");
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_same_method_with_many_args:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @arg_an_b: Argument to pass with the method invocation.
768s # * @arg_an_y: Argument to pass with the method invocation.
768s # * @arg_an_n: Argument to pass with the method invocation.
768s # * @arg_an_q: Argument to pass with the method invocation.
768s # * @arg_an_i: Argument to pass with the method invocation.
768s # * @arg_an_u: Argument to pass with the method invocation.
768s # * @arg_an_x: Argument to pass with the method invocation.
768s # * @arg_an_t: Argument to pass with the method invocation.
768s # * @arg_an_d: Argument to pass with the method invocation.
768s # * @arg_an_s: Argument to pass with the method invocation.
768s # * @arg_an_o: Argument to pass with the method invocation.
768s # * @arg_an_g: Argument to pass with the method invocation.
768s # * @arg_an_h: Argument to pass with the method invocation.
768s # * @arg_an_ay: Argument to pass with the method invocation.
768s # * @arg_an_as: Argument to pass with the method invocation.
768s # * @arg_an_ao: Argument to pass with the method invocation.
768s # * @arg_an_aay: Argument to pass with the method invocation.
768s # * @arg_an_asv: Argument to pass with the method invocation.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_callable_iface_call_same_method_with_many_args_finish() to get the result of the operation.
768s # *
768s # * See org_project_callable_iface_call_same_method_with_many_args_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_callable_iface_call_same_method_with_many_args (
768s # OrgProjectCallableIface *proxy,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "SameMethodWithManyArgs",
768s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # arg_an_b,
768s # arg_an_y,
768s # arg_an_n,
768s # arg_an_q,
768s # arg_an_i,
768s # arg_an_u,
768s # arg_an_x,
768s # arg_an_t,
768s # arg_an_d,
768s # arg_an_s,
768s # arg_an_o,
768s # arg_an_g,
768s # arg_an_h,
768s # arg_an_ay,
768s # arg_an_as,
768s # arg_an_ao,
768s # arg_an_aay,
768s # arg_an_asv),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_same_method_with_many_args_finish:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_same_method_with_many_args().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_callable_iface_call_same_method_with_many_args().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_callable_iface_call_same_method_with_many_args_finish (
768s # OrgProjectCallableIface *proxy,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "()");
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_same_method_with_many_args_sync:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @arg_an_b: Argument to pass with the method invocation.
768s # * @arg_an_y: Argument to pass with the method invocation.
768s # * @arg_an_n: Argument to pass with the method invocation.
768s # * @arg_an_q: Argument to pass with the method invocation.
768s # * @arg_an_i: Argument to pass with the method invocation.
768s # * @arg_an_u: Argument to pass with the method invocation.
768s # * @arg_an_x: Argument to pass with the method invocation.
768s # * @arg_an_t: Argument to pass with the method invocation.
768s # * @arg_an_d: Argument to pass with the method invocation.
768s # * @arg_an_s: Argument to pass with the method invocation.
768s # * @arg_an_o: Argument to pass with the method invocation.
768s # * @arg_an_g: Argument to pass with the method invocation.
768s # * @arg_an_h: Argument to pass with the method invocation.
768s # * @arg_an_ay: Argument to pass with the method invocation.
768s # * @arg_an_as: Argument to pass with the method invocation.
768s # * @arg_an_ao: Argument to pass with the method invocation.
768s # * @arg_an_aay: Argument to pass with the method invocation.
768s # * @arg_an_asv: Argument to pass with the method invocation.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the SameMethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_callable_iface_call_same_method_with_many_args() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_callable_iface_call_same_method_with_many_args_sync (
768s # OrgProjectCallableIface *proxy,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "SameMethodWithManyArgs",
768s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # arg_an_b,
768s # arg_an_y,
768s # arg_an_n,
768s # arg_an_q,
768s # arg_an_i,
768s # arg_an_u,
768s # arg_an_x,
768s # arg_an_t,
768s # arg_an_d,
768s # arg_an_s,
768s # arg_an_o,
768s # arg_an_g,
768s # arg_an_h,
768s # arg_an_ay,
768s # arg_an_as,
768s # arg_an_ao,
768s # arg_an_aay,
768s # arg_an_asv),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "()");
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_complete_method_with_many_args:
768s # * @object: A #OrgProjectCallableIface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_callable_iface_complete_method_with_many_args (
768s # OrgProjectCallableIface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("()"));
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_complete_same_method_with_many_args:
768s # * @object: A #OrgProjectCallableIface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_callable_iface_complete_same_method_with_many_args (
768s # OrgProjectCallableIface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("()"));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectCallableIfaceProxy:
768s # *
768s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectCallableIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectCallableIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectCallableIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_callable_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_callable_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_callable_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_callable_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectCallableIfaceSkeleton:
768s # *
768s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectCallableIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectCallableIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectCallableIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_callable_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_callable_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_callable_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
768s # {
768s # _org_project_callable_iface_skeleton_handle_method_call,
768s # _org_project_callable_iface_skeleton_handle_get_property,
768s # _org_project_callable_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_callable_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_callable_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.OtherCallableIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectOtherCallableIface
768s # * @title: OrgProjectOtherCallableIface
768s # * @short_description: Generated C code for the org.project.OtherCallableIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.OtherCallableIface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.OtherCallableIface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_b",
768s # (gchar *) "b",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_y",
768s # (gchar *) "y",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_n",
768s # (gchar *) "n",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_q",
768s # (gchar *) "q",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_i",
768s # (gchar *) "i",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_u",
768s # (gchar *) "u",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_x",
768s # (gchar *) "x",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_t",
768s # (gchar *) "t",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_d",
768s # (gchar *) "d",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_s",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_o",
768s # (gchar *) "o",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_g",
768s # (gchar *) "g",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_h",
768s # (gchar *) "h",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ay",
768s # (gchar *) "ay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_as",
768s # (gchar *) "as",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ao",
768s # (gchar *) "ao",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_aay",
768s # (gchar *) "aay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_asv",
768s # (gchar *) "a{sv}",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers[] =
768s # {
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_b.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_y.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_n.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_q.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_i.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_u.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_x.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_t.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_d.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_s.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_o.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_g.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_h.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ay.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_as.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_ao.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_aay.parent_struct,
768s # &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_an_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_other_callable_iface_method_info_method_with_many_args =
768s # {
768s # {
768s # -1,
768s # (gchar *) "MethodWithManyArgs",
768s # (GDBusArgInfo **) &_org_project_other_callable_iface_method_info_method_with_many_args_IN_ARG_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "handle-method-with-many-args",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_other_callable_iface_method_info_pointers[] =
768s # {
768s # &_org_project_other_callable_iface_method_info_method_with_many_args.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_other_callable_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.OtherCallableIface",
768s # (GDBusMethodInfo **) &_org_project_other_callable_iface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-other-callable-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_other_callable_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.OtherCallableIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_other_callable_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectOtherCallableIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_other_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_other_callable_iface_method_marshal_method_with_many_args (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _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,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectOtherCallableIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.OtherCallableIface.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherCallableIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_method_with_many_args: Handler for the #OrgProjectOtherCallableIface::handle-method-with-many-args signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.OtherCallableIface.
768s # */
768s #
768s # typedef OrgProjectOtherCallableIfaceIface OrgProjectOtherCallableIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectOtherCallableIface, org_project_other_callable_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_other_callable_iface_default_init (OrgProjectOtherCallableIfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectOtherCallableIface::handle-method-with-many-args:
768s # * @object: A #OrgProjectOtherCallableIface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # * @arg_an_b: Argument passed by remote caller.
768s # * @arg_an_y: Argument passed by remote caller.
768s # * @arg_an_n: Argument passed by remote caller.
768s # * @arg_an_q: Argument passed by remote caller.
768s # * @arg_an_i: Argument passed by remote caller.
768s # * @arg_an_u: Argument passed by remote caller.
768s # * @arg_an_x: Argument passed by remote caller.
768s # * @arg_an_t: Argument passed by remote caller.
768s # * @arg_an_d: Argument passed by remote caller.
768s # * @arg_an_s: Argument passed by remote caller.
768s # * @arg_an_o: Argument passed by remote caller.
768s # * @arg_an_g: Argument passed by remote caller.
768s # * @arg_an_h: Argument passed by remote caller.
768s # * @arg_an_ay: Argument passed by remote caller.
768s # * @arg_an_as: Argument passed by remote caller.
768s # * @arg_an_ao: Argument passed by remote caller.
768s # * @arg_an_aay: Argument passed by remote caller.
768s # * @arg_an_asv: Argument passed by remote caller.
768s # *
768s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-method-with-many-args",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectOtherCallableIfaceIface, handle_method_with_many_args),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_other_callable_iface_method_marshal_method_with_many_args,
768s # G_TYPE_BOOLEAN,
768s # 19,
768s # 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);
768s #
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_call_method_with_many_args:
768s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
768s # * @arg_an_b: Argument to pass with the method invocation.
768s # * @arg_an_y: Argument to pass with the method invocation.
768s # * @arg_an_n: Argument to pass with the method invocation.
768s # * @arg_an_q: Argument to pass with the method invocation.
768s # * @arg_an_i: Argument to pass with the method invocation.
768s # * @arg_an_u: Argument to pass with the method invocation.
768s # * @arg_an_x: Argument to pass with the method invocation.
768s # * @arg_an_t: Argument to pass with the method invocation.
768s # * @arg_an_d: Argument to pass with the method invocation.
768s # * @arg_an_s: Argument to pass with the method invocation.
768s # * @arg_an_o: Argument to pass with the method invocation.
768s # * @arg_an_g: Argument to pass with the method invocation.
768s # * @arg_an_h: Argument to pass with the method invocation.
768s # * @arg_an_ay: Argument to pass with the method invocation.
768s # * @arg_an_as: Argument to pass with the method invocation.
768s # * @arg_an_ao: Argument to pass with the method invocation.
768s # * @arg_an_aay: Argument to pass with the method invocation.
768s # * @arg_an_asv: Argument to pass with the method invocation.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_other_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
768s # *
768s # * See org_project_other_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_other_callable_iface_call_method_with_many_args (
768s # OrgProjectOtherCallableIface *proxy,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "MethodWithManyArgs",
768s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # arg_an_b,
768s # arg_an_y,
768s # arg_an_n,
768s # arg_an_q,
768s # arg_an_i,
768s # arg_an_u,
768s # arg_an_x,
768s # arg_an_t,
768s # arg_an_d,
768s # arg_an_s,
768s # arg_an_o,
768s # arg_an_g,
768s # arg_an_h,
768s # arg_an_ay,
768s # arg_an_as,
768s # arg_an_ao,
768s # arg_an_aay,
768s # arg_an_asv),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_call_method_with_many_args_finish:
768s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_call_method_with_many_args().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_other_callable_iface_call_method_with_many_args().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_other_callable_iface_call_method_with_many_args_finish (
768s # OrgProjectOtherCallableIface *proxy,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "()");
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_call_method_with_many_args_sync:
768s # * @proxy: A #OrgProjectOtherCallableIfaceProxy.
768s # * @arg_an_b: Argument to pass with the method invocation.
768s # * @arg_an_y: Argument to pass with the method invocation.
768s # * @arg_an_n: Argument to pass with the method invocation.
768s # * @arg_an_q: Argument to pass with the method invocation.
768s # * @arg_an_i: Argument to pass with the method invocation.
768s # * @arg_an_u: Argument to pass with the method invocation.
768s # * @arg_an_x: Argument to pass with the method invocation.
768s # * @arg_an_t: Argument to pass with the method invocation.
768s # * @arg_an_d: Argument to pass with the method invocation.
768s # * @arg_an_s: Argument to pass with the method invocation.
768s # * @arg_an_o: Argument to pass with the method invocation.
768s # * @arg_an_g: Argument to pass with the method invocation.
768s # * @arg_an_h: Argument to pass with the method invocation.
768s # * @arg_an_ay: Argument to pass with the method invocation.
768s # * @arg_an_as: Argument to pass with the method invocation.
768s # * @arg_an_ao: Argument to pass with the method invocation.
768s # * @arg_an_aay: Argument to pass with the method invocation.
768s # * @arg_an_asv: Argument to pass with the method invocation.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_other_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_other_callable_iface_call_method_with_many_args_sync (
768s # OrgProjectOtherCallableIface *proxy,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "MethodWithManyArgs",
768s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # arg_an_b,
768s # arg_an_y,
768s # arg_an_n,
768s # arg_an_q,
768s # arg_an_i,
768s # arg_an_u,
768s # arg_an_x,
768s # arg_an_t,
768s # arg_an_d,
768s # arg_an_s,
768s # arg_an_o,
768s # arg_an_g,
768s # arg_an_h,
768s # arg_an_ay,
768s # arg_an_as,
768s # arg_an_ao,
768s # arg_an_aay,
768s # arg_an_asv),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "()");
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_complete_method_with_many_args:
768s # * @object: A #OrgProjectOtherCallableIface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_other_callable_iface_complete_method_with_many_args (
768s # OrgProjectOtherCallableIface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("()"));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectOtherCallableIfaceProxy:
768s # *
768s # * The #OrgProjectOtherCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherCallableIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectOtherCallableIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectOtherCallableIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceProxy, org_project_other_callable_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_other_callable_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_other_callable_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectOtherCallableIfaceProxy *proxy = ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_proxy_init (OrgProjectOtherCallableIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_other_callable_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_PROXY, OrgProjectOtherCallableIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_callable_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_proxy_class_init (OrgProjectOtherCallableIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_other_callable_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_other_callable_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_other_callable_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_other_callable_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_other_callable_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_proxy_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_other_callable_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_other_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_other_callable_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_other_callable_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherCallableIface *
768s # org_project_other_callable_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherCallableIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_other_callable_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherCallableIface *
768s # org_project_other_callable_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_other_callable_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_other_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_other_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_other_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_other_callable_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_callable_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_other_callable_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherCallableIface *
768s # org_project_other_callable_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_other_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_other_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherCallableIface *
768s # org_project_other_callable_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectOtherCallableIfaceSkeleton:
768s # *
768s # * The #OrgProjectOtherCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherCallableIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectOtherCallableIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectOtherCallableIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_other_callable_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_other_callable_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_other_callable_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_callable_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_other_callable_iface_skeleton_vtable =
768s # {
768s # _org_project_other_callable_iface_skeleton_handle_method_call,
768s # _org_project_other_callable_iface_skeleton_handle_get_property,
768s # _org_project_other_callable_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_other_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_other_callable_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_other_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_other_callable_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_other_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_other_callable_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_other_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_other_callable_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectOtherCallableIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherCallableIfaceSkeleton, org_project_other_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE, org_project_other_callable_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_other_callable_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectOtherCallableIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_other_callable_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_skeleton_init (OrgProjectOtherCallableIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_other_callable_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, OrgProjectOtherCallableIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_skeleton_class_init (OrgProjectOtherCallableIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_other_callable_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_other_callable_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_other_callable_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_other_callable_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_other_callable_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectOtherCallableIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_other_callable_iface_skeleton_iface_init (OrgProjectOtherCallableIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_other_callable_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.OtherCallableIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherCallableIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectOtherCallableIface *
768s # org_project_other_callable_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_OTHER_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_CALLABLE_IFACE_SKELETON, NULL));
768s # }
768s # Error:
768s ok 13 __main__.TestCodegen.test_generate_methods_marshallers_multiple_out_args
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmp7lrpkzxt
768s # /tmp/tmp7lrpkzxt/tmpnygz_6ru.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7lrpkzxt/tmpnygz_6ru.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.CallableIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectCallableIface
768s # * @title: OrgProjectCallableIface
768s # * @short_description: Generated C code for the org.project.CallableIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.CallableIface D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for org.project.CallableIface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_b",
768s # (gchar *) "b",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_y",
768s # (gchar *) "y",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_n",
768s # (gchar *) "n",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_q",
768s # (gchar *) "q",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_i",
768s # (gchar *) "i",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_u",
768s # (gchar *) "u",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_x",
768s # (gchar *) "x",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_t",
768s # (gchar *) "t",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_d",
768s # (gchar *) "d",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_s",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_o",
768s # (gchar *) "o",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_g",
768s # (gchar *) "g",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_h",
768s # (gchar *) "h",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ay",
768s # (gchar *) "ay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_as",
768s # (gchar *) "as",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ao",
768s # (gchar *) "ao",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_aay",
768s # (gchar *) "aay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_asv",
768s # (gchar *) "a{sv}",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers[] =
768s # {
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_b.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_y.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_n.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_q.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_i.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_u.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_x.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_t.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_d.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_s.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_o.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_g.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_h.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ay.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_as.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_ao.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_aay.parent_struct,
768s # &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_an_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _org_project_callable_iface_method_info_method_with_many_args =
768s # {
768s # {
768s # -1,
768s # (gchar *) "MethodWithManyArgs",
768s # NULL,
768s # (GDBusArgInfo **) &_org_project_callable_iface_method_info_method_with_many_args_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-method-with-many-args",
768s # FALSE
768s # };
768s #
768s # static const GDBusMethodInfo * const _org_project_callable_iface_method_info_pointers[] =
768s # {
768s # &_org_project_callable_iface_method_info_method_with_many_args.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_callable_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.CallableIface",
768s # (GDBusMethodInfo **) &_org_project_callable_iface_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-callable-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_callable_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.CallableIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_callable_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectCallableIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_callable_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_callable_iface_method_marshal_method_with_many_args (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectCallableIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.CallableIface.
768s # */
768s #
768s # /**
768s # * OrgProjectCallableIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_method_with_many_args: Handler for the #OrgProjectCallableIface::handle-method-with-many-args signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.CallableIface.
768s # */
768s #
768s # typedef OrgProjectCallableIfaceIface OrgProjectCallableIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectCallableIface, org_project_callable_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_callable_iface_default_init (OrgProjectCallableIfaceIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * OrgProjectCallableIface::handle-method-with-many-args:
768s # * @object: A #OrgProjectCallableIface.
768s # * @invocation: A #GDBusMethodInvocation.
768s # *
768s # * Signal emitted when a remote caller is invoking the MethodWithManyArgs() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-method-with-many-args",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectCallableIfaceIface, handle_method_with_many_args),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # org_project_callable_iface_method_marshal_method_with_many_args,
768s # G_TYPE_BOOLEAN,
768s # 1,
768s # G_TYPE_DBUS_METHOD_INVOCATION);
768s #
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_method_with_many_args:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the MethodWithManyArgs() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_callable_iface_call_method_with_many_args_finish() to get the result of the operation.
768s # *
768s # * See org_project_callable_iface_call_method_with_many_args_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # org_project_callable_iface_call_method_with_many_args (
768s # OrgProjectCallableIface *proxy,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
768s # "MethodWithManyArgs",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_method_with_many_args_finish:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_call_method_with_many_args().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with org_project_callable_iface_call_method_with_many_args().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_callable_iface_call_method_with_many_args_finish (
768s # OrgProjectCallableIface *proxy,
768s # gboolean *out_an_b,
768s # guchar *out_an_y,
768s # gint16 *out_an_n,
768s # guint16 *out_an_q,
768s # gint *out_an_i,
768s # guint *out_an_u,
768s # gint64 *out_an_x,
768s # guint64 *out_an_t,
768s # gdouble *out_an_d,
768s # gchar **out_an_s,
768s # gchar **out_an_o,
768s # gchar **out_an_g,
768s # GVariant **out_an_h,
768s # gchar **out_an_ay,
768s # gchar ***out_an_as,
768s # gchar ***out_an_ao,
768s # gchar ***out_an_aay,
768s # GVariant **out_an_asv,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # out_an_b,
768s # out_an_y,
768s # out_an_n,
768s # out_an_q,
768s # out_an_i,
768s # out_an_u,
768s # out_an_x,
768s # out_an_t,
768s # out_an_d,
768s # out_an_s,
768s # out_an_o,
768s # out_an_g,
768s # out_an_h,
768s # out_an_ay,
768s # out_an_as,
768s # out_an_ao,
768s # out_an_aay,
768s # out_an_asv);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_call_method_with_many_args_sync:
768s # * @proxy: A #OrgProjectCallableIfaceProxy.
768s # * @out_an_b: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_y: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_n: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_q: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_i: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_u: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_x: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_t: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_d: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_s: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_o: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_g: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_h: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_ay: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_an_as: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @out_an_ao: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @out_an_aay: (out) (optional) (array zero-terminated=1): Return location for return parameter or %NULL to ignore.
768s # * @out_an_asv: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the MethodWithManyArgs() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_callable_iface_call_method_with_many_args() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # org_project_callable_iface_call_method_with_many_args_sync (
768s # OrgProjectCallableIface *proxy,
768s # gboolean *out_an_b,
768s # guchar *out_an_y,
768s # gint16 *out_an_n,
768s # guint16 *out_an_q,
768s # gint *out_an_i,
768s # guint *out_an_u,
768s # gint64 *out_an_x,
768s # guint64 *out_an_t,
768s # gdouble *out_an_d,
768s # gchar **out_an_s,
768s # gchar **out_an_o,
768s # gchar **out_an_g,
768s # GVariant **out_an_h,
768s # gchar **out_an_ay,
768s # gchar ***out_an_as,
768s # gchar ***out_an_ao,
768s # gchar ***out_an_aay,
768s # GVariant **out_an_asv,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
768s # "MethodWithManyArgs",
768s # g_variant_new ("()"),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # out_an_b,
768s # out_an_y,
768s # out_an_n,
768s # out_an_q,
768s # out_an_i,
768s # out_an_u,
768s # out_an_x,
768s # out_an_t,
768s # out_an_d,
768s # out_an_s,
768s # out_an_o,
768s # out_an_g,
768s # out_an_h,
768s # out_an_ay,
768s # out_an_as,
768s # out_an_ao,
768s # out_an_aay,
768s # out_an_asv);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_complete_method_with_many_args:
768s # * @object: A #OrgProjectCallableIface.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @an_b: Parameter to return.
768s # * @an_y: Parameter to return.
768s # * @an_n: Parameter to return.
768s # * @an_q: Parameter to return.
768s # * @an_i: Parameter to return.
768s # * @an_u: Parameter to return.
768s # * @an_x: Parameter to return.
768s # * @an_t: Parameter to return.
768s # * @an_d: Parameter to return.
768s # * @an_s: Parameter to return.
768s # * @an_o: Parameter to return.
768s # * @an_g: Parameter to return.
768s # * @an_h: Parameter to return.
768s # * @an_ay: Parameter to return.
768s # * @an_as: Parameter to return.
768s # * @an_ao: Parameter to return.
768s # * @an_aay: Parameter to return.
768s # * @an_asv: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # org_project_callable_iface_complete_method_with_many_args (
768s # OrgProjectCallableIface *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # gboolean an_b,
768s # guchar an_y,
768s # gint16 an_n,
768s # guint16 an_q,
768s # gint an_i,
768s # guint an_u,
768s # gint64 an_x,
768s # guint64 an_t,
768s # gdouble an_d,
768s # const gchar *an_s,
768s # const gchar *an_o,
768s # const gchar *an_g,
768s # GVariant *an_h,
768s # const gchar *an_ay,
768s # const gchar *const *an_as,
768s # const gchar *const *an_ao,
768s # const gchar *const *an_aay,
768s # GVariant *an_asv)
768s # {
768s # g_dbus_method_invocation_return_value (invocation,
768s # g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # an_b,
768s # an_y,
768s # an_n,
768s # an_q,
768s # an_i,
768s # an_u,
768s # an_x,
768s # an_t,
768s # an_d,
768s # an_s,
768s # an_o,
768s # an_g,
768s # an_h,
768s # an_ay,
768s # an_as,
768s # an_ao,
768s # an_aay,
768s # an_asv));
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectCallableIfaceProxy:
768s # *
768s # * The #OrgProjectCallableIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectCallableIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectCallableIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectCallableIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectCallableIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceProxy, org_project_callable_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_callable_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_callable_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectCallableIfaceProxy *proxy = ORG_PROJECT_CALLABLE_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_init (OrgProjectCallableIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_callable_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_CALLABLE_IFACE_PROXY, OrgProjectCallableIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_callable_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_class_init (OrgProjectCallableIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_callable_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_callable_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_callable_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_callable_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_callable_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_callable_iface_proxy_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_callable_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_callable_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_callable_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_callable_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.CallableIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_callable_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_callable_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_callable_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_callable_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_callable_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_callable_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_callable_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_callable_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_callable_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_CALLABLE_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectCallableIfaceSkeleton:
768s # *
768s # * The #OrgProjectCallableIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectCallableIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectCallableIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectCallableIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_callable_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_CALLABLE_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_callable_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_callable_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_callable_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_callable_iface_skeleton_vtable =
768s # {
768s # _org_project_callable_iface_skeleton_handle_method_call,
768s # _org_project_callable_iface_skeleton_handle_get_property,
768s # _org_project_callable_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_callable_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_callable_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_callable_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_callable_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_callable_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_callable_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_callable_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_callable_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectCallableIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectCallableIfaceSkeleton, org_project_callable_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_CALLABLE_IFACE, org_project_callable_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_callable_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectCallableIfaceSkeleton *skeleton = ORG_PROJECT_CALLABLE_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_callable_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_init (OrgProjectCallableIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_callable_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, OrgProjectCallableIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_class_init (OrgProjectCallableIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_callable_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_callable_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_callable_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_callable_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_callable_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectCallableIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_callable_iface_skeleton_iface_init (OrgProjectCallableIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_callable_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.CallableIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectCallableIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectCallableIface *
768s # org_project_callable_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_CALLABLE_IFACE (g_object_new (TYPE_ORG_PROJECT_CALLABLE_IFACE_SKELETON, NULL));
768s # }
768s # Error:
768s ok 14 __main__.TestCodegen.test_generate_methods_marshallers_with_unix_fds
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmpv5y05__m
768s # /tmp/tmpv5y05__m/tmpvad4wqxr.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpv5y05__m/tmpvad4wqxr.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
768s # (void *data1,
768s # GDBusMethodInvocation *arg_method_invocation,
768s # GUnixFDList *arg_fd_list,
768s # const gchar *arg_greeting,
768s # void *data2);
768s # _GDbusCodegenMarshalBoolean_ObjectObjectStringFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s # gboolean v_return;
768s #
768s # g_return_if_fail (return_value != NULL);
768s # g_return_if_fail (n_param_values == 4);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalBoolean_ObjectObjectStringFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # v_return =
768s # callback (data1,
768s # g_marshal_value_peek_object (param_values + 1),
768s # g_marshal_value_peek_object (param_values + 2),
768s # g_marshal_value_peek_string (param_values + 3),
768s # data2);
768s #
768s # g_value_set_boolean (return_value, v_return);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface test.FDPassing
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:TestFDPassing
768s # * @title: TestFDPassing
768s # * @short_description: Generated C code for the test.FDPassing D-Bus interface
768s # *
768s # * This section contains code for working with the test.FDPassing D-Bus interface in C.
768s # */
768s #
768s # /* ---- Introspection data for test.FDPassing ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_IN_ARG_greeting =
768s # {
768s # {
768s # -1,
768s # (gchar *) "greeting",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_IN_ARG_pointers[] =
768s # {
768s # &_test_fdpassing_method_info_hello_fd_IN_ARG_greeting.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _test_fdpassing_method_info_hello_fd_OUT_ARG_response =
768s # {
768s # {
768s # -1,
768s # (gchar *) "response",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _test_fdpassing_method_info_hello_fd_OUT_ARG_pointers[] =
768s # {
768s # &_test_fdpassing_method_info_hello_fd_OUT_ARG_response.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusMethodInfo _test_fdpassing_method_info_hello_fd =
768s # {
768s # {
768s # -1,
768s # (gchar *) "HelloFD",
768s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_IN_ARG_pointers,
768s # (GDBusArgInfo **) &_test_fdpassing_method_info_hello_fd_OUT_ARG_pointers,
768s # NULL
768s # },
768s # "handle-hello-fd",
768s # TRUE
768s # };
768s #
768s # static const GDBusMethodInfo * const _test_fdpassing_method_info_pointers[] =
768s # {
768s # &_test_fdpassing_method_info_hello_fd.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _test_fdpassing_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "test.FDPassing",
768s # (GDBusMethodInfo **) &_test_fdpassing_method_info_pointers,
768s # NULL,
768s # NULL,
768s # NULL
768s # },
768s # "test-fdpassing",
768s # };
768s #
768s #
768s # /**
768s # * test_fdpassing_interface_info:
768s # *
768s # * Gets a machine-readable description of the test.FDPassing D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # test_fdpassing_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * test_fdpassing_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #TestFDPassing interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # test_fdpassing_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # test_fdpassing_method_marshal_hello_fd (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT_OBJECT_STRING (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * TestFDPassing:
768s # *
768s # * Abstract interface type for the D-Bus interface test.FDPassing.
768s # */
768s #
768s # /**
768s # * TestFDPassingIface:
768s # * @parent_iface: The parent interface.
768s # * @handle_hello_fd: Handler for the #TestFDPassing::handle-hello-fd signal.
768s # *
768s # * Virtual table for the D-Bus interface test.FDPassing.
768s # */
768s #
768s # typedef TestFDPassingIface TestFDPassingInterface;
768s # G_DEFINE_INTERFACE (TestFDPassing, test_fdpassing, G_TYPE_OBJECT)
768s #
768s # static void
768s # test_fdpassing_default_init (TestFDPassingIface *iface)
768s # {
768s # /* GObject signals for incoming D-Bus method calls: */
768s # /**
768s # * TestFDPassing::handle-hello-fd:
768s # * @object: A #TestFDPassing.
768s # * @invocation: A #GDBusMethodInvocation.
768s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
768s # * @arg_greeting: Argument passed by remote caller.
768s # *
768s # * Signal emitted when a remote caller is invoking the HelloFD() D-Bus method.
768s # *
768s # * 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.
768s # *
768s # * 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.
768s # */
768s # g_signal_new ("handle-hello-fd",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (TestFDPassingIface, handle_hello_fd),
768s # g_signal_accumulator_true_handled,
768s # NULL,
768s # test_fdpassing_method_marshal_hello_fd,
768s # G_TYPE_BOOLEAN,
768s # 3,
768s # G_TYPE_DBUS_METHOD_INVOCATION, G_TYPE_UNIX_FD_LIST, G_TYPE_STRING);
768s #
768s # }
768s #
768s # /**
768s # * test_fdpassing_call_hello_fd:
768s # * @proxy: A #TestFDPassingProxy.
768s # * @arg_greeting: Argument to pass with the method invocation.
768s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously invokes the HelloFD() D-Bus method on @proxy.
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call test_fdpassing_call_hello_fd_finish() to get the result of the operation.
768s # *
768s # * See test_fdpassing_call_hello_fd_sync() for the synchronous, blocking version of this method.
768s # */
768s # void
768s # test_fdpassing_call_hello_fd (
768s # TestFDPassing *proxy,
768s # const gchar *arg_greeting,
768s # GUnixFDList *fd_list,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_dbus_proxy_call_with_unix_fd_list (G_DBUS_PROXY (proxy),
768s # "HelloFD",
768s # g_variant_new ("(s)",
768s # arg_greeting),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # fd_list,
768s # cancellable,
768s # callback,
768s # user_data);
768s # }
768s #
768s # /**
768s # * test_fdpassing_call_hello_fd_finish:
768s # * @proxy: A #TestFDPassingProxy.
768s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL to ignore.
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_call_hello_fd().
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Finishes an operation started with test_fdpassing_call_hello_fd().
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # test_fdpassing_call_hello_fd_finish (
768s # TestFDPassing *proxy,
768s # gchar **out_response,
768s # GUnixFDList **out_fd_list,
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_with_unix_fd_list_finish (G_DBUS_PROXY (proxy), out_fd_list, res, error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(s)",
768s # out_response);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * test_fdpassing_call_hello_fd_sync:
768s # * @proxy: A #TestFDPassingProxy.
768s # * @arg_greeting: Argument to pass with the method invocation.
768s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
768s # * @out_response: (out) (optional): Return location for return parameter or %NULL to ignore.
768s # * @out_fd_list: (out) (optional) (nullable): Return location for a #GUnixFDList or %NULL.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL.
768s # *
768s # * Synchronously invokes the HelloFD() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
768s # *
768s # * See test_fdpassing_call_hello_fd() for the asynchronous version of this method.
768s # *
768s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
768s # */
768s # gboolean
768s # test_fdpassing_call_hello_fd_sync (
768s # TestFDPassing *proxy,
768s # const gchar *arg_greeting,
768s # GUnixFDList *fd_list,
768s # gchar **out_response,
768s # GUnixFDList **out_fd_list,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GVariant *_ret;
768s # _ret = g_dbus_proxy_call_with_unix_fd_list_sync (G_DBUS_PROXY (proxy),
768s # "HelloFD",
768s # g_variant_new ("(s)",
768s # arg_greeting),
768s # G_DBUS_CALL_FLAGS_NONE,
768s # -1,
768s # fd_list,
768s # out_fd_list,
768s # cancellable,
768s # error);
768s # if (_ret == NULL)
768s # goto _out;
768s # g_variant_get (_ret,
768s # "(s)",
768s # out_response);
768s # g_variant_unref (_ret);
768s # _out:
768s # return _ret != NULL;
768s # }
768s #
768s # /**
768s # * test_fdpassing_complete_hello_fd:
768s # * @object: A #TestFDPassing.
768s # * @invocation: (transfer full): A #GDBusMethodInvocation.
768s # * @fd_list: (nullable): A #GUnixFDList or %NULL.
768s # * @response: Parameter to return.
768s # *
768s # * 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.
768s # *
768s # * This method will free @invocation, you cannot use it afterwards.
768s # */
768s # void
768s # test_fdpassing_complete_hello_fd (
768s # TestFDPassing *object G_GNUC_UNUSED,
768s # GDBusMethodInvocation *invocation,
768s # GUnixFDList *fd_list,
768s # const gchar *response)
768s # {
768s # g_dbus_method_invocation_return_value_with_unix_fd_list (invocation,
768s # g_variant_new ("(s)",
768s # response),
768s # fd_list);
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * TestFDPassingProxy:
768s # *
768s # * The #TestFDPassingProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * TestFDPassingProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #TestFDPassingProxy.
768s # */
768s #
768s # struct _TestFDPassingProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void test_fdpassing_proxy_iface_init (TestFDPassingIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (TestFDPassingProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingProxy, test_fdpassing_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # test_fdpassing_proxy_finalize (GObject *object)
768s # {
768s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (test_fdpassing_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # test_fdpassing_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # test_fdpassing_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # test_fdpassing_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_TEST_FDPASSING);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # test_fdpassing_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # TestFDPassingProxy *proxy = TEST_FDPASSING_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # test_fdpassing_proxy_init (TestFDPassingProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = test_fdpassing_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_TEST_FDPASSING_PROXY, TestFDPassingProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), test_fdpassing_interface_info ());
768s # }
768s #
768s # static void
768s # test_fdpassing_proxy_class_init (TestFDPassingProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = test_fdpassing_proxy_finalize;
768s # gobject_class->get_property = test_fdpassing_proxy_get_property;
768s # gobject_class->set_property = test_fdpassing_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = test_fdpassing_proxy_g_signal;
768s # proxy_class->g_properties_changed = test_fdpassing_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (TestFDPassingProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # test_fdpassing_proxy_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * test_fdpassing_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call test_fdpassing_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See test_fdpassing_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # test_fdpassing_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * test_fdpassing_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with test_fdpassing_proxy_new().
768s # *
768s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # TestFDPassing *
768s # test_fdpassing_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return TEST_FDPASSING (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * test_fdpassing_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface test.FDPassing. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See test_fdpassing_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # TestFDPassing *
768s # test_fdpassing_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return TEST_FDPASSING (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * test_fdpassing_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like test_fdpassing_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call test_fdpassing_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See test_fdpassing_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # test_fdpassing_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * test_fdpassing_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to test_fdpassing_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with test_fdpassing_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # TestFDPassing *
768s # test_fdpassing_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return TEST_FDPASSING (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * test_fdpassing_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like test_fdpassing_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See test_fdpassing_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type TestFDPassingProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # TestFDPassing *
768s # test_fdpassing_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return TEST_FDPASSING (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * TestFDPassingSkeleton:
768s # *
768s # * The #TestFDPassingSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * TestFDPassingSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #TestFDPassingSkeleton.
768s # */
768s #
768s # struct _TestFDPassingSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _test_fdpassing_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_TEST_FDPASSING);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_TEST_FDPASSING);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _test_fdpassing_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _test_fdpassing_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_test_fdpassing_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _test_fdpassing_skeleton_vtable =
768s # {
768s # _test_fdpassing_skeleton_handle_method_call,
768s # _test_fdpassing_skeleton_handle_get_property,
768s # _test_fdpassing_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # test_fdpassing_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return test_fdpassing_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # test_fdpassing_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_test_fdpassing_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # test_fdpassing_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_test_fdpassing_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _test_fdpassing_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _test_fdpassing_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # test_fdpassing_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (TestFDPassingSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (TestFDPassingSkeleton, test_fdpassing_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_TEST_FDPASSING, test_fdpassing_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # test_fdpassing_skeleton_finalize (GObject *object)
768s # {
768s # TestFDPassingSkeleton *skeleton = TEST_FDPASSING_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (test_fdpassing_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # test_fdpassing_skeleton_init (TestFDPassingSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = test_fdpassing_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_TEST_FDPASSING_SKELETON, TestFDPassingSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # test_fdpassing_skeleton_class_init (TestFDPassingSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = test_fdpassing_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = test_fdpassing_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = test_fdpassing_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = test_fdpassing_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = test_fdpassing_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (TestFDPassingSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # test_fdpassing_skeleton_iface_init (TestFDPassingIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * test_fdpassing_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface test.FDPassing.
768s # *
768s # * Returns: (transfer full) (type TestFDPassingSkeleton): The skeleton object.
768s # */
768s # TestFDPassing *
768s # test_fdpassing_skeleton_new (void)
768s # {
768s # return TEST_FDPASSING (g_object_new (TYPE_TEST_FDPASSING_SKELETON, NULL));
768s # }
768s # Error:
768s ok 15 __main__.TestCodegen.test_generate_rst
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmpcsbb0ivj
768s # /tmp/tmpcsbb0ivj/tmpfquqlvlp.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcsbb0ivj/tmpfquqlvlp.xml', '--generate-rst', 'test']
768s # Return code: 0
768s # Output:
768s #
768s # Error:
768s ok 16 __main__.TestCodegen.test_generate_rst_method
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmp4n00gk57
768s # /tmp/tmp4n00gk57/tmpr8v51xar.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp4n00gk57/tmpr8v51xar.xml', '--generate-rst', 'test']
768s # Return code: 0
768s # Output:
768s #
768s # Error:
768s ok 17 __main__.TestCodegen.test_generate_rst_property
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmppwpfacnj
768s # /tmp/tmppwpfacnj/tmpb7emvl95.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmppwpfacnj/tmpb7emvl95.xml', '--generate-rst', 'test']
768s # Return code: 0
768s # Output:
768s #
768s # Error:
768s ok 18 __main__.TestCodegen.test_generate_rst_signal
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmpter2qsi7
768s # /tmp/tmpter2qsi7/tmpgye1hkat.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpter2qsi7/tmpgye1hkat.xml', '--generate-rst', 'test']
768s # Return code: 0
768s # Output:
768s #
768s # Error:
768s ok 19 __main__.TestCodegen.test_generate_signal_id_multiple_signal_args_types
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmp7839uyi9
768s # /tmp/tmp7839uyi9/tmp4n2bl20u.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7839uyi9/tmp4n2bl20u.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
768s # GClosure *closure,
768s # GValue *return_value G_GNUC_UNUSED,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
768s # (void *data1,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv,
768s # void *data2);
768s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s #
768s # g_return_if_fail (n_param_values == 19);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # callback (data1,
768s # g_marshal_value_peek_boolean (param_values + 1),
768s # g_marshal_value_peek_uchar (param_values + 2),
768s # g_marshal_value_peek_int (param_values + 3),
768s # g_marshal_value_peek_uint (param_values + 4),
768s # g_marshal_value_peek_int (param_values + 5),
768s # g_marshal_value_peek_uint (param_values + 6),
768s # g_marshal_value_peek_int64 (param_values + 7),
768s # g_marshal_value_peek_uint64 (param_values + 8),
768s # g_marshal_value_peek_double (param_values + 9),
768s # g_marshal_value_peek_string (param_values + 10),
768s # g_marshal_value_peek_string (param_values + 11),
768s # g_marshal_value_peek_string (param_values + 12),
768s # g_marshal_value_peek_variant (param_values + 13),
768s # g_marshal_value_peek_string (param_values + 14),
768s # g_marshal_value_peek_boxed (param_values + 15),
768s # g_marshal_value_peek_boxed (param_values + 16),
768s # g_marshal_value_peek_boxed (param_values + 17),
768s # g_marshal_value_peek_variant (param_values + 18),
768s # data2);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.SignalingIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectSignalingIface
768s # * @title: OrgProjectSignalingIface
768s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
768s # */
768s #
768s # enum
768s # {
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
768s # };
768s #
768s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
768s #
768s # /* ---- Introspection data for org.project.SignalingIface ---- */
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_b",
768s # (gchar *) "b",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_y",
768s # (gchar *) "y",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_n",
768s # (gchar *) "n",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_q",
768s # (gchar *) "q",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_i",
768s # (gchar *) "i",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_u",
768s # (gchar *) "u",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_x",
768s # (gchar *) "x",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_t",
768s # (gchar *) "t",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_d",
768s # (gchar *) "d",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_s",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_o",
768s # (gchar *) "o",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_g",
768s # (gchar *) "g",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_h",
768s # (gchar *) "h",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ay",
768s # (gchar *) "ay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_as",
768s # (gchar *) "as",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ao",
768s # (gchar *) "ao",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_aay",
768s # (gchar *) "aay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_asv",
768s # (gchar *) "a{sv}",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SignalWithManyArgs",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
768s # NULL
768s # },
768s # "signal-with-many-args"
768s # };
768s #
768s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.SignalingIface",
768s # NULL,
768s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-signaling-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_signaling_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_signaling_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectSignalingIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.SignalingIface.
768s # */
768s #
768s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
768s # {
768s # /* GObject signals for received D-Bus signals: */
768s # /**
768s # * OrgProjectSignalingIface::signal-with-many-args:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_b: Argument.
768s # * @arg_an_y: Argument.
768s # * @arg_an_n: Argument.
768s # * @arg_an_q: Argument.
768s # * @arg_an_i: Argument.
768s # * @arg_an_u: Argument.
768s # * @arg_an_x: Argument.
768s # * @arg_an_t: Argument.
768s # * @arg_an_d: Argument.
768s # * @arg_an_s: Argument.
768s # * @arg_an_o: Argument.
768s # * @arg_an_g: Argument.
768s # * @arg_an_h: Argument.
768s # * @arg_an_ay: Argument.
768s # * @arg_an_as: Argument.
768s # * @arg_an_ao: Argument.
768s # * @arg_an_aay: Argument.
768s # * @arg_an_asv: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
768s # g_signal_new ("signal-with-many-args",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
768s # G_TYPE_NONE,
768s # 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);
768s #
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_signal_with_many_args:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_b: Argument to pass with the signal.
768s # * @arg_an_y: Argument to pass with the signal.
768s # * @arg_an_n: Argument to pass with the signal.
768s # * @arg_an_q: Argument to pass with the signal.
768s # * @arg_an_i: Argument to pass with the signal.
768s # * @arg_an_u: Argument to pass with the signal.
768s # * @arg_an_x: Argument to pass with the signal.
768s # * @arg_an_t: Argument to pass with the signal.
768s # * @arg_an_d: Argument to pass with the signal.
768s # * @arg_an_s: Argument to pass with the signal.
768s # * @arg_an_o: Argument to pass with the signal.
768s # * @arg_an_g: Argument to pass with the signal.
768s # * @arg_an_h: Argument to pass with the signal.
768s # * @arg_an_ay: Argument to pass with the signal.
768s # * @arg_an_as: Argument to pass with the signal.
768s # * @arg_an_ao: Argument to pass with the signal.
768s # * @arg_an_aay: Argument to pass with the signal.
768s # * @arg_an_asv: Argument to pass with the signal.
768s # *
768s # * Emits the "SignalWithManyArgs" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_signal_with_many_args (
768s # OrgProjectSignalingIface *object,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv)
768s # {
768s # 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);
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceProxy:
768s # *
768s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectSignalingIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectSignalingIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_signaling_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_signaling_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_signaling_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceSkeleton:
768s # *
768s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectSignalingIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_signaling_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_signaling_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_signaling_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
768s # {
768s # _org_project_signaling_iface_skeleton_handle_method_call,
768s # _org_project_signaling_iface_skeleton_handle_get_property,
768s # _org_project_signaling_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_signaling_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_signal_with_many_args (
768s # OrgProjectSignalingIface *object,
768s # gboolean arg_an_b,
768s # guchar arg_an_y,
768s # gint16 arg_an_n,
768s # guint16 arg_an_q,
768s # gint arg_an_i,
768s # guint arg_an_u,
768s # gint64 arg_an_x,
768s # guint64 arg_an_t,
768s # gdouble arg_an_d,
768s # const gchar *arg_an_s,
768s # const gchar *arg_an_o,
768s # const gchar *arg_an_g,
768s # GVariant *arg_an_h,
768s # const gchar *arg_an_ay,
768s # const gchar *const *arg_an_as,
768s # const gchar *const *arg_an_ao,
768s # const gchar *const *arg_an_aay,
768s # GVariant *arg_an_asv)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
768s # arg_an_b,
768s # arg_an_y,
768s # arg_an_n,
768s # arg_an_q,
768s # arg_an_i,
768s # arg_an_u,
768s # arg_an_x,
768s # arg_an_t,
768s # arg_an_d,
768s # arg_an_s,
768s # arg_an_o,
768s # arg_an_g,
768s # arg_an_h,
768s # arg_an_ay,
768s # arg_an_as,
768s # arg_an_ao,
768s # arg_an_aay,
768s # arg_an_asv));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_signaling_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
768s # {
768s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
768s # }
768s # Error:
768s ok 20 __main__.TestCodegen.test_generate_signal_id_multiple_signals_types
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmp9f__foc4
768s # /tmp/tmp9f__foc4/tmpjlg0iixd.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp9f__foc4/tmpjlg0iixd.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_VOID__INT64 (
768s # GClosure *closure,
768s # GValue *return_value G_GNUC_UNUSED,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
768s # (void *data1,
768s # gint64 arg_an_x,
768s # void *data2);
768s # _GDbusCodegenMarshalVoid_Int64Func callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s #
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # callback (data1,
768s # g_marshal_value_peek_int64 (param_values + 1),
768s # data2);
768s # }
768s #
768s # static void
768s # _g_dbus_codegen_marshal_VOID__UINT64 (
768s # GClosure *closure,
768s # GValue *return_value G_GNUC_UNUSED,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint G_GNUC_UNUSED,
768s # void *marshal_data)
768s # {
768s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
768s # (void *data1,
768s # guint64 arg_an_t,
768s # void *data2);
768s # _GDbusCodegenMarshalVoid_Uint64Func callback;
768s # GCClosure *cc = (GCClosure*) closure;
768s # void *data1, *data2;
768s #
768s # g_return_if_fail (n_param_values == 2);
768s #
768s # if (G_CCLOSURE_SWAP_DATA (closure))
768s # {
768s # data1 = closure->data;
768s # data2 = g_value_peek_pointer (param_values + 0);
768s # }
768s # else
768s # {
768s # data1 = g_value_peek_pointer (param_values + 0);
768s # data2 = closure->data;
768s # }
768s #
768s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
768s # (marshal_data ? marshal_data : cc->callback);
768s #
768s # callback (data1,
768s # g_marshal_value_peek_uint64 (param_values + 1),
768s # data2);
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.SignalingIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectSignalingIface
768s # * @title: OrgProjectSignalingIface
768s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
768s # */
768s #
768s # enum
768s # {
768s # _ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
768s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
768s # };
768s #
768s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[19] = { 0 };
768s #
768s # /* ---- Introspection data for org.project.SignalingIface ---- */
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_no_arg_signal =
768s # {
768s # {
768s # -1,
768s # (gchar *) "NoArgSignal",
768s # NULL,
768s # NULL
768s # },
768s # "no-arg-signal"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_b",
768s # (gchar *) "b",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_an_b.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalB",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-b"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_y",
768s # (gchar *) "y",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_an_y.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalY",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-y"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_n",
768s # (gchar *) "n",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_an_n.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalN",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-n"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_q",
768s # (gchar *) "q",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_an_q.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalQ",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-q"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_i",
768s # (gchar *) "i",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_an_i.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalI",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-i"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_u",
768s # (gchar *) "u",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_an_u.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalU",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-u"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_x",
768s # (gchar *) "x",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_an_x.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalX",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-x"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_t",
768s # (gchar *) "t",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_an_t.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalT",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-t"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_d",
768s # (gchar *) "d",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_an_d.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalD",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-d"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_s",
768s # (gchar *) "s",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_an_s.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalS",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-s"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_o",
768s # (gchar *) "o",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_an_o.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalO",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-o"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_g",
768s # (gchar *) "g",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_an_g.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalG",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-g"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_h",
768s # (gchar *) "h",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_an_h.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalH",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-h"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ay",
768s # (gchar *) "ay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_an_ay.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalAY",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-ay"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_as",
768s # (gchar *) "as",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_an_as.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalAS",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-as"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_ao",
768s # (gchar *) "ao",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_an_ao.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalAO",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-ao"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_aay",
768s # (gchar *) "aay",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_an_aay.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalAAY",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-aay"
768s # };
768s #
768s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "an_asv",
768s # (gchar *) "a{sv}",
768s # NULL
768s # },
768s # FALSE
768s # };
768s #
768s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_an_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SingleArgSignalASV",
768s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
768s # NULL
768s # },
768s # "single-arg-signal-asv"
768s # };
768s #
768s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_no_arg_signal.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
768s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.SignalingIface",
768s # NULL,
768s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-signaling-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_signaling_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_signaling_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_no_arg_signal (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__VOID (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__BOOLEAN (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__UCHAR (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__INT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__UINT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__INT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__UINT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__DOUBLE (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__STRING (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__STRING (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__STRING (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__VARIANT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__STRING (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__BOXED (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__BOXED (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__BOXED (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__VARIANT (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectSignalingIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @no_arg_signal: Handler for the #OrgProjectSignalingIface::no-arg-signal signal.
768s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
768s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
768s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
768s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
768s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
768s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
768s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
768s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
768s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
768s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
768s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
768s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
768s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
768s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
768s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
768s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
768s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
768s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.SignalingIface.
768s # */
768s #
768s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
768s # {
768s # /* GObject signals for received D-Bus signals: */
768s # /**
768s # * OrgProjectSignalingIface::no-arg-signal:
768s # * @object: A #OrgProjectSignalingIface.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "NoArgSignal" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL] =
768s # g_signal_new ("no-arg-signal",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, no_arg_signal),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_no_arg_signal,
768s # G_TYPE_NONE,
768s # 0);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-b:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_b: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
768s # g_signal_new ("single-arg-signal-b",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_BOOLEAN);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-y:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_y: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
768s # g_signal_new ("single-arg-signal-y",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_UCHAR);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-n:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_n: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
768s # g_signal_new ("single-arg-signal-n",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_INT);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-q:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_q: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
768s # g_signal_new ("single-arg-signal-q",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_UINT);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-i:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_i: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
768s # g_signal_new ("single-arg-signal-i",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_INT);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-u:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_u: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
768s # g_signal_new ("single-arg-signal-u",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_UINT);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-x:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_x: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
768s # g_signal_new ("single-arg-signal-x",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_INT64);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-t:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_t: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
768s # g_signal_new ("single-arg-signal-t",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_UINT64);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-d:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_d: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
768s # g_signal_new ("single-arg-signal-d",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_DOUBLE);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-s:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_s: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
768s # g_signal_new ("single-arg-signal-s",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_STRING);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-o:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_o: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
768s # g_signal_new ("single-arg-signal-o",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_STRING);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-g:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_g: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
768s # g_signal_new ("single-arg-signal-g",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_STRING);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-h:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_h: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
768s # g_signal_new ("single-arg-signal-h",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_VARIANT);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-ay:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_ay: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAY" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
768s # g_signal_new ("single-arg-signal-ay",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_STRING);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-as:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_as: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAS" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
768s # g_signal_new ("single-arg-signal-as",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_STRV);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-ao:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_ao: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAO" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
768s # g_signal_new ("single-arg-signal-ao",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_STRV);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-aay:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_aay: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAAY" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
768s # g_signal_new ("single-arg-signal-aay",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_STRV);
768s #
768s # /**
768s # * OrgProjectSignalingIface::single-arg-signal-asv:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_asv: Argument.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalASV" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
768s # g_signal_new ("single-arg-signal-asv",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
768s # G_TYPE_NONE,
768s # 1, G_TYPE_VARIANT);
768s #
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_no_arg_signal:
768s # * @object: A #OrgProjectSignalingIface.
768s # *
768s # * Emits the "NoArgSignal" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_no_arg_signal (
768s # OrgProjectSignalingIface *object)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_NO_ARG_SIGNAL], 0);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_b:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_b: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalB" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_b (
768s # OrgProjectSignalingIface *object,
768s # gboolean arg_an_b)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_an_b);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_y:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_y: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalY" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_y (
768s # OrgProjectSignalingIface *object,
768s # guchar arg_an_y)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_an_y);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_n:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_n: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalN" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_n (
768s # OrgProjectSignalingIface *object,
768s # gint16 arg_an_n)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_an_n);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_q:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_q: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalQ" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_q (
768s # OrgProjectSignalingIface *object,
768s # guint16 arg_an_q)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_an_q);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_i:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_i: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalI" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_i (
768s # OrgProjectSignalingIface *object,
768s # gint arg_an_i)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_an_i);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_u:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_u: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalU" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_u (
768s # OrgProjectSignalingIface *object,
768s # guint arg_an_u)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_an_u);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_x:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_x: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalX" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_x (
768s # OrgProjectSignalingIface *object,
768s # gint64 arg_an_x)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_an_x);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_t:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_t: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalT" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_t (
768s # OrgProjectSignalingIface *object,
768s # guint64 arg_an_t)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_an_t);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_d:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_d: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalD" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_d (
768s # OrgProjectSignalingIface *object,
768s # gdouble arg_an_d)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_an_d);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_s:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_s: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalS" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_s (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_s)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_an_s);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_o:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_o: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalO" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_o (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_o)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_an_o);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_g:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_g: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalG" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_g (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_g)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_an_g);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_h:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_h: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalH" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_h (
768s # OrgProjectSignalingIface *object,
768s # GVariant *arg_an_h)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_an_h);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_ay:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_ay: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalAY" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_ay (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_ay)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_an_ay);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_as:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_as: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalAS" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_as (
768s # OrgProjectSignalingIface *object,
768s # const gchar *const *arg_an_as)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_an_as);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_ao:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_ao: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalAO" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_ao (
768s # OrgProjectSignalingIface *object,
768s # const gchar *const *arg_an_ao)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_an_ao);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_aay:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_aay: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalAAY" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_aay (
768s # OrgProjectSignalingIface *object,
768s # const gchar *const *arg_an_aay)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_an_aay);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_single_arg_signal_asv:
768s # * @object: A #OrgProjectSignalingIface.
768s # * @arg_an_asv: Argument to pass with the signal.
768s # *
768s # * Emits the "SingleArgSignalASV" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_single_arg_signal_asv (
768s # OrgProjectSignalingIface *object,
768s # GVariant *arg_an_asv)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_an_asv);
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceProxy:
768s # *
768s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectSignalingIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectSignalingIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_signaling_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_signaling_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_signaling_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceSkeleton:
768s # *
768s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectSignalingIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_signaling_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_signaling_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_signaling_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
768s # {
768s # _org_project_signaling_iface_skeleton_handle_method_call,
768s # _org_project_signaling_iface_skeleton_handle_get_property,
768s # _org_project_signaling_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_signaling_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_no_arg_signal (
768s # OrgProjectSignalingIface *object)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "NoArgSignal",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
768s # OrgProjectSignalingIface *object,
768s # gboolean arg_an_b)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
768s # arg_an_b));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
768s # OrgProjectSignalingIface *object,
768s # guchar arg_an_y)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
768s # arg_an_y));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
768s # OrgProjectSignalingIface *object,
768s # gint16 arg_an_n)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
768s # arg_an_n));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
768s # OrgProjectSignalingIface *object,
768s # guint16 arg_an_q)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
768s # arg_an_q));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
768s # OrgProjectSignalingIface *object,
768s # gint arg_an_i)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
768s # arg_an_i));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
768s # OrgProjectSignalingIface *object,
768s # guint arg_an_u)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
768s # arg_an_u));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
768s # OrgProjectSignalingIface *object,
768s # gint64 arg_an_x)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
768s # arg_an_x));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
768s # OrgProjectSignalingIface *object,
768s # guint64 arg_an_t)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
768s # arg_an_t));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
768s # OrgProjectSignalingIface *object,
768s # gdouble arg_an_d)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
768s # arg_an_d));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_s)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
768s # arg_an_s));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_o)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
768s # arg_an_o));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_g)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
768s # arg_an_g));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
768s # OrgProjectSignalingIface *object,
768s # GVariant *arg_an_h)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
768s # arg_an_h));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
768s # OrgProjectSignalingIface *object,
768s # const gchar *arg_an_ay)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
768s # arg_an_ay));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAY",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
768s # OrgProjectSignalingIface *object,
768s # const gchar *const *arg_an_as)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
768s # arg_an_as));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAS",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
768s # OrgProjectSignalingIface *object,
768s # const gchar *const *arg_an_ao)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
768s # arg_an_ao));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAO",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
768s # OrgProjectSignalingIface *object,
768s # const gchar *const *arg_an_aay)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
768s # arg_an_aay));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAAY",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
768s # OrgProjectSignalingIface *object,
768s # GVariant *arg_an_asv)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
768s # arg_an_asv));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalASV",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_signaling_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
768s # {
768s # iface->no_arg_signal = _org_project_signaling_iface_on_signal_no_arg_signal;
768s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
768s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
768s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
768s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
768s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
768s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
768s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
768s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
768s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
768s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
768s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
768s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
768s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
768s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
768s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
768s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
768s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
768s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
768s # }
768s # Error:
768s ok 21 __main__.TestCodegen.test_generate_signal_id_simple_signal
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmpxrqi8s7n
768s # /tmp/tmpxrqi8s7n/tmp6pkoa_ga.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxrqi8s7n/tmp6pkoa_ga.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.UsefulInterface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectUsefulInterface
768s # * @title: OrgProjectUsefulInterface
768s # * @short_description: Generated C code for the org.project.UsefulInterface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.UsefulInterface D-Bus interface in C.
768s # */
768s #
768s # enum
768s # {
768s # _ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL,
768s # };
768s #
768s # static unsigned _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[1] = { 0 };
768s #
768s # /* ---- Introspection data for org.project.UsefulInterface ---- */
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_useful_interface_signal_info_simple_signal =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SimpleSignal",
768s # NULL,
768s # NULL
768s # },
768s # "simple-signal"
768s # };
768s #
768s # static const GDBusSignalInfo * const _org_project_useful_interface_signal_info_pointers[] =
768s # {
768s # &_org_project_useful_interface_signal_info_simple_signal.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_useful_interface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.UsefulInterface",
768s # NULL,
768s # (GDBusSignalInfo **) &_org_project_useful_interface_signal_info_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-useful-interface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_useful_interface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.UsefulInterface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_useful_interface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectUsefulInterface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_useful_interface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_useful_interface_signal_marshal_simple_signal (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__VOID (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectUsefulInterface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @simple_signal: Handler for the #OrgProjectUsefulInterface::simple-signal signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.UsefulInterface.
768s # */
768s #
768s # typedef OrgProjectUsefulInterfaceIface OrgProjectUsefulInterfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectUsefulInterface, org_project_useful_interface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_useful_interface_default_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # /* GObject signals for received D-Bus signals: */
768s # /**
768s # * OrgProjectUsefulInterface::simple-signal:
768s # * @object: A #OrgProjectUsefulInterface.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL] =
768s # g_signal_new ("simple-signal",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectUsefulInterfaceIface, simple_signal),
768s # NULL,
768s # NULL,
768s # org_project_useful_interface_signal_marshal_simple_signal,
768s # G_TYPE_NONE,
768s # 0);
768s #
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_emit_simple_signal:
768s # * @object: A #OrgProjectUsefulInterface.
768s # *
768s # * Emits the "SimpleSignal" D-Bus signal.
768s # */
768s # void
768s # org_project_useful_interface_emit_simple_signal (
768s # OrgProjectUsefulInterface *object)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_USEFUL_INTERFACE_SIGNALS[_ORG_PROJECT_USEFUL_INTERFACE_SIMPLE_SIGNAL], 0);
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxy:
768s # *
768s # * The #OrgProjectUsefulInterfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceProxy.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceProxy, org_project_useful_interface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_useful_interface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectUsefulInterfaceProxy *proxy = ORG_PROJECT_USEFUL_INTERFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_init (OrgProjectUsefulInterfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_useful_interface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_USEFUL_INTERFACE_PROXY, OrgProjectUsefulInterfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_useful_interface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_class_init (OrgProjectUsefulInterfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_proxy_finalize;
768s # gobject_class->get_property = org_project_useful_interface_proxy_get_property;
768s # gobject_class->set_property = org_project_useful_interface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_useful_interface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_useful_interface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_proxy_iface_init (OrgProjectUsefulInterfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.UsefulInterface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_useful_interface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_useful_interface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_useful_interface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # g_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);
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_useful_interface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_useful_interface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_useful_interface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_useful_interface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_USEFUL_INTERFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeleton:
768s # *
768s # * The #OrgProjectUsefulInterfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectUsefulInterfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectUsefulInterfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectUsefulInterfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_useful_interface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_USEFUL_INTERFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_useful_interface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_useful_interface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_useful_interface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_useful_interface_skeleton_vtable =
768s # {
768s # _org_project_useful_interface_skeleton_handle_method_call,
768s # _org_project_useful_interface_skeleton_handle_get_property,
768s # _org_project_useful_interface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_useful_interface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_useful_interface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_useful_interface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_useful_interface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_useful_interface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_useful_interface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_useful_interface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_useful_interface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # _org_project_useful_interface_on_signal_simple_signal (
768s # OrgProjectUsefulInterface *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.UsefulInterface", "SimpleSignal",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectUsefulInterfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectUsefulInterfaceSkeleton, org_project_useful_interface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_USEFUL_INTERFACE, org_project_useful_interface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_useful_interface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectUsefulInterfaceSkeleton *skeleton = ORG_PROJECT_USEFUL_INTERFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_useful_interface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_init (OrgProjectUsefulInterfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_useful_interface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, OrgProjectUsefulInterfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_class_init (OrgProjectUsefulInterfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_useful_interface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_useful_interface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_useful_interface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_useful_interface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_useful_interface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectUsefulInterfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_useful_interface_skeleton_iface_init (OrgProjectUsefulInterfaceIface *iface)
768s # {
768s # iface->simple_signal = _org_project_useful_interface_on_signal_simple_signal;
768s # }
768s #
768s # /**
768s # * org_project_useful_interface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.UsefulInterface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectUsefulInterfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectUsefulInterface *
768s # org_project_useful_interface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_USEFUL_INTERFACE (g_object_new (TYPE_ORG_PROJECT_USEFUL_INTERFACE_SKELETON, NULL));
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.OtherIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectOtherIface
768s # * @title: OrgProjectOtherIface
768s # * @short_description: Generated C code for the org.project.OtherIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.OtherIface D-Bus interface in C.
768s # */
768s #
768s # enum
768s # {
768s # _ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL,
768s # };
768s #
768s # static unsigned _ORG_PROJECT_OTHER_IFACE_SIGNALS[1] = { 0 };
768s #
768s # /* ---- Introspection data for org.project.OtherIface ---- */
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_other_iface_signal_info_simple_signal =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SimpleSignal",
768s # NULL,
768s # NULL
768s # },
768s # "simple-signal"
768s # };
768s #
768s # static const GDBusSignalInfo * const _org_project_other_iface_signal_info_pointers[] =
768s # {
768s # &_org_project_other_iface_signal_info_simple_signal.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_other_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.OtherIface",
768s # NULL,
768s # (GDBusSignalInfo **) &_org_project_other_iface_signal_info_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-other-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_other_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.OtherIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_other_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_other_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectOtherIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_other_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_other_iface_signal_marshal_simple_signal (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__VOID (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectOtherIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.OtherIface.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @simple_signal: Handler for the #OrgProjectOtherIface::simple-signal signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.OtherIface.
768s # */
768s #
768s # typedef OrgProjectOtherIfaceIface OrgProjectOtherIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectOtherIface, org_project_other_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_other_iface_default_init (OrgProjectOtherIfaceIface *iface)
768s # {
768s # /* GObject signals for received D-Bus signals: */
768s # /**
768s # * OrgProjectOtherIface::simple-signal:
768s # * @object: A #OrgProjectOtherIface.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL] =
768s # g_signal_new ("simple-signal",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectOtherIfaceIface, simple_signal),
768s # NULL,
768s # NULL,
768s # org_project_other_iface_signal_marshal_simple_signal,
768s # G_TYPE_NONE,
768s # 0);
768s #
768s # }
768s #
768s # /**
768s # * org_project_other_iface_emit_simple_signal:
768s # * @object: A #OrgProjectOtherIface.
768s # *
768s # * Emits the "SimpleSignal" D-Bus signal.
768s # */
768s # void
768s # org_project_other_iface_emit_simple_signal (
768s # OrgProjectOtherIface *object)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_OTHER_IFACE_SIGNALS[_ORG_PROJECT_OTHER_IFACE_SIMPLE_SIGNAL], 0);
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectOtherIfaceProxy:
768s # *
768s # * The #OrgProjectOtherIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectOtherIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectOtherIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectOtherIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceProxy, org_project_other_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_other_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_other_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_other_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_other_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_other_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_other_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectOtherIfaceProxy *proxy = ORG_PROJECT_OTHER_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_other_iface_proxy_init (OrgProjectOtherIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_other_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_IFACE_PROXY, OrgProjectOtherIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_other_iface_proxy_class_init (OrgProjectOtherIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_other_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_other_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_other_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_other_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_other_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_other_iface_proxy_iface_init (OrgProjectOtherIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_other_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_other_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_other_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_other_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_other_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_other_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherIface *
768s # org_project_other_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_other_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherIface *
768s # org_project_other_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_other_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_other_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_other_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_other_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_other_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_other_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_other_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherIface *
768s # org_project_other_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_other_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_other_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherIface *
768s # org_project_other_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectOtherIfaceSkeleton:
768s # *
768s # * The #OrgProjectOtherIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectOtherIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectOtherIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_other_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_other_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_other_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_other_iface_skeleton_vtable =
768s # {
768s # _org_project_other_iface_skeleton_handle_method_call,
768s # _org_project_other_iface_skeleton_handle_get_property,
768s # _org_project_other_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_other_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_other_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_other_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_other_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_other_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_other_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_other_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_other_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_other_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # _org_project_other_iface_on_signal_simple_signal (
768s # OrgProjectOtherIface *object)
768s # {
768s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherIface", "SimpleSignal",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectOtherIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherIfaceSkeleton, org_project_other_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_IFACE, org_project_other_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_other_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectOtherIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_other_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_other_iface_skeleton_init (OrgProjectOtherIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_other_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, OrgProjectOtherIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_other_iface_skeleton_class_init (OrgProjectOtherIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_other_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_other_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_other_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_other_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_other_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectOtherIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_other_iface_skeleton_iface_init (OrgProjectOtherIfaceIface *iface)
768s # {
768s # iface->simple_signal = _org_project_other_iface_on_signal_simple_signal;
768s # }
768s #
768s # /**
768s # * org_project_other_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.OtherIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectOtherIface *
768s # org_project_other_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_OTHER_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_IFACE_SKELETON, NULL));
768s # }
768s # Error:
768s ok 22 __main__.TestCodegen.test_generate_signals_marshaller_simple_signal
768s # gdbus-codegen: /usr/bin/gdbus-codegen
768s # tmpdir: /tmp/tmpkmft_hsv
768s # /tmp/tmpkmft_hsv/tmpy7vn5jn8.xml:
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s #
768s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpkmft_hsv/tmpy7vn5jn8.xml', '--output', '-', '--body']
768s # Return code: 0
768s # Output:
768s # /*
768s # * This file is generated by gdbus-codegen, do not modify it.
768s # *
768s # * The license of this code is the same as for the D-Bus interface description
768s # * it was derived from. Note that it links to GLib, so must comply with the
768s # * LGPL linking clauses.
768s # */
768s #
768s # #ifdef HAVE_CONFIG_H
768s # # include "config.h"
768s # #endif
768s #
768s # #include
768s # #ifdef G_OS_UNIX
768s # # include
768s # #endif
768s #
768s # #ifdef G_ENABLE_DEBUG
768s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
768s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
768s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
768s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
768s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
768s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
768s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
768s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
768s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
768s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
768s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
768s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
768s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
768s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
768s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
768s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
768s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
768s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
768s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
768s # #else /* !G_ENABLE_DEBUG */
768s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
768s # * Do not access GValues directly in your code. Instead, use the
768s # * g_value_get_*() functions
768s # */
768s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
768s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
768s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
768s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
768s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
768s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
768s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
768s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
768s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
768s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
768s # #endif /* !G_ENABLE_DEBUG */
768s #
768s # typedef struct
768s # {
768s # GDBusArgInfo parent_struct;
768s # gboolean use_gvariant;
768s # } _ExtendedGDBusArgInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusMethodInfo parent_struct;
768s # const gchar *signal_name;
768s # gboolean pass_fdlist;
768s # } _ExtendedGDBusMethodInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusSignalInfo parent_struct;
768s # const gchar *signal_name;
768s # } _ExtendedGDBusSignalInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusPropertyInfo parent_struct;
768s # const gchar *hyphen_name;
768s # guint use_gvariant : 1;
768s # guint emits_changed_signal : 1;
768s # } _ExtendedGDBusPropertyInfo;
768s #
768s # typedef struct
768s # {
768s # GDBusInterfaceInfo parent_struct;
768s # const gchar *hyphen_name;
768s # } _ExtendedGDBusInterfaceInfo;
768s #
768s # typedef struct
768s # {
768s # const _ExtendedGDBusPropertyInfo *info;
768s # guint prop_id;
768s # GValue orig_value; /* the value before the change */
768s # } ChangedProperty;
768s #
768s # static void
768s # _changed_property_free (ChangedProperty *data)
768s # {
768s # g_value_unset (&data->orig_value);
768s # g_free (data);
768s # }
768s #
768s # static gboolean
768s # _g_strv_equal0 (gchar **a, gchar **b)
768s # {
768s # gboolean ret = FALSE;
768s # guint n;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # if (g_strv_length (a) != g_strv_length (b))
768s # goto out;
768s # for (n = 0; a[n] != NULL; n++)
768s # if (g_strcmp0 (a[n], b[n]) != 0)
768s # goto out;
768s # ret = TRUE;
768s # out:
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _g_variant_equal0 (GVariant *a, GVariant *b)
768s # {
768s # gboolean ret = FALSE;
768s # if (a == NULL && b == NULL)
768s # {
768s # ret = TRUE;
768s # goto out;
768s # }
768s # if (a == NULL || b == NULL)
768s # goto out;
768s # ret = g_variant_equal (a, b);
768s # out:
768s # return ret;
768s # }
768s #
768s # G_GNUC_UNUSED static gboolean
768s # _g_value_equal (const GValue *a, const GValue *b)
768s # {
768s # gboolean ret = FALSE;
768s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
768s # switch (G_VALUE_TYPE (a))
768s # {
768s # case G_TYPE_BOOLEAN:
768s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
768s # break;
768s # case G_TYPE_UCHAR:
768s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
768s # break;
768s # case G_TYPE_INT:
768s # ret = (g_value_get_int (a) == g_value_get_int (b));
768s # break;
768s # case G_TYPE_UINT:
768s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
768s # break;
768s # case G_TYPE_INT64:
768s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
768s # break;
768s # case G_TYPE_UINT64:
768s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
768s # break;
768s # case G_TYPE_DOUBLE:
768s # {
768s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
768s # gdouble da = g_value_get_double (a);
768s # gdouble db = g_value_get_double (b);
768s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
768s # }
768s # break;
768s # case G_TYPE_STRING:
768s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
768s # break;
768s # case G_TYPE_VARIANT:
768s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
768s # break;
768s # default:
768s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
768s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
768s # else
768s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
768s # break;
768s # }
768s # return ret;
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.SignalingIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectSignalingIface
768s # * @title: OrgProjectSignalingIface
768s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
768s # */
768s #
768s # enum
768s # {
768s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
768s # };
768s #
768s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[1] = { 0 };
768s #
768s # /* ---- Introspection data for org.project.SignalingIface ---- */
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SimpleSignal",
768s # NULL,
768s # NULL
768s # },
768s # "simple-signal"
768s # };
768s #
768s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
768s # {
768s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.SignalingIface",
768s # NULL,
768s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-signaling-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_signaling_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_signaling_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_signaling_iface_signal_marshal_simple_signal (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__VOID (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectSignalingIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.SignalingIface.
768s # */
768s #
768s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
768s # {
768s # /* GObject signals for received D-Bus signals: */
768s # /**
768s # * OrgProjectSignalingIface::simple-signal:
768s # * @object: A #OrgProjectSignalingIface.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
768s # g_signal_new ("simple-signal",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
768s # NULL,
768s # NULL,
768s # org_project_signaling_iface_signal_marshal_simple_signal,
768s # G_TYPE_NONE,
768s # 0);
768s #
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_emit_simple_signal:
768s # * @object: A #OrgProjectSignalingIface.
768s # *
768s # * Emits the "SimpleSignal" D-Bus signal.
768s # */
768s # void
768s # org_project_signaling_iface_emit_simple_signal (
768s # OrgProjectSignalingIface *object)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceProxy:
768s # *
768s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectSignalingIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectSignalingIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_signaling_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_signaling_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_signaling_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceSkeleton:
768s # *
768s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectSignalingIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectSignalingIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_signaling_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_signaling_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_signaling_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
768s # {
768s # _org_project_signaling_iface_skeleton_handle_method_call,
768s # _org_project_signaling_iface_skeleton_handle_get_property,
768s # _org_project_signaling_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_signaling_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # _org_project_signaling_iface_on_signal_simple_signal (
768s # OrgProjectSignalingIface *object)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_signaling_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
768s # {
768s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
768s # }
768s #
768s # /**
768s # * org_project_signaling_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectSignalingIface *
768s # org_project_signaling_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
768s # }
768s #
768s # /* ------------------------------------------------------------------------
768s # * Code for interface org.project.OtherSignalingIface
768s # * ------------------------------------------------------------------------
768s # */
768s #
768s # /**
768s # * SECTION:OrgProjectOtherSignalingIface
768s # * @title: OrgProjectOtherSignalingIface
768s # * @short_description: Generated C code for the org.project.OtherSignalingIface D-Bus interface
768s # *
768s # * This section contains code for working with the org.project.OtherSignalingIface D-Bus interface in C.
768s # */
768s #
768s # enum
768s # {
768s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL,
768s # };
768s #
768s # static unsigned _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[1] = { 0 };
768s #
768s # /* ---- Introspection data for org.project.OtherSignalingIface ---- */
768s #
768s # static const _ExtendedGDBusSignalInfo _org_project_other_signaling_iface_signal_info_simple_signal =
768s # {
768s # {
768s # -1,
768s # (gchar *) "SimpleSignal",
768s # NULL,
768s # NULL
768s # },
768s # "simple-signal"
768s # };
768s #
768s # static const GDBusSignalInfo * const _org_project_other_signaling_iface_signal_info_pointers[] =
768s # {
768s # &_org_project_other_signaling_iface_signal_info_simple_signal.parent_struct,
768s # NULL
768s # };
768s #
768s # static const _ExtendedGDBusInterfaceInfo _org_project_other_signaling_iface_interface_info =
768s # {
768s # {
768s # -1,
768s # (gchar *) "org.project.OtherSignalingIface",
768s # NULL,
768s # (GDBusSignalInfo **) &_org_project_other_signaling_iface_signal_info_pointers,
768s # NULL,
768s # NULL
768s # },
768s # "org-project-other-signaling-iface",
768s # };
768s #
768s #
768s # /**
768s # * org_project_other_signaling_iface_interface_info:
768s # *
768s # * Gets a machine-readable description of the org.project.OtherSignalingIface D-Bus interface.
768s # *
768s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
768s # */
768s # GDBusInterfaceInfo *
768s # org_project_other_signaling_iface_interface_info (void)
768s # {
768s # return (GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct;
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_override_properties:
768s # * @klass: The class structure for a #GObject derived class.
768s # * @property_id_begin: The property id to assign to the first overridden property.
768s # *
768s # * Overrides all #GObject properties in the #OrgProjectOtherSignalingIface interface for a concrete class.
768s # * The properties are overridden in the order they are defined.
768s # *
768s # * Returns: The last property id.
768s # */
768s # guint
768s # org_project_other_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
768s # {
768s # return property_id_begin - 1;
768s # }
768s #
768s #
768s # inline static void
768s # org_project_other_signaling_iface_signal_marshal_simple_signal (
768s # GClosure *closure,
768s # GValue *return_value,
768s # unsigned int n_param_values,
768s # const GValue *param_values,
768s # void *invocation_hint,
768s # void *marshal_data)
768s # {
768s # g_cclosure_marshal_VOID__VOID (closure,
768s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
768s # }
768s #
768s #
768s # /**
768s # * OrgProjectOtherSignalingIface:
768s # *
768s # * Abstract interface type for the D-Bus interface org.project.OtherSignalingIface.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherSignalingIfaceIface:
768s # * @parent_iface: The parent interface.
768s # * @simple_signal: Handler for the #OrgProjectOtherSignalingIface::simple-signal signal.
768s # *
768s # * Virtual table for the D-Bus interface org.project.OtherSignalingIface.
768s # */
768s #
768s # typedef OrgProjectOtherSignalingIfaceIface OrgProjectOtherSignalingIfaceInterface;
768s # G_DEFINE_INTERFACE (OrgProjectOtherSignalingIface, org_project_other_signaling_iface, G_TYPE_OBJECT)
768s #
768s # static void
768s # org_project_other_signaling_iface_default_init (OrgProjectOtherSignalingIfaceIface *iface)
768s # {
768s # /* GObject signals for received D-Bus signals: */
768s # /**
768s # * OrgProjectOtherSignalingIface::simple-signal:
768s # * @object: A #OrgProjectOtherSignalingIface.
768s # *
768s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
768s # *
768s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
768s # */
768s # _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL] =
768s # g_signal_new ("simple-signal",
768s # G_TYPE_FROM_INTERFACE (iface),
768s # G_SIGNAL_RUN_LAST,
768s # G_STRUCT_OFFSET (OrgProjectOtherSignalingIfaceIface, simple_signal),
768s # NULL,
768s # NULL,
768s # org_project_other_signaling_iface_signal_marshal_simple_signal,
768s # G_TYPE_NONE,
768s # 0);
768s #
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_emit_simple_signal:
768s # * @object: A #OrgProjectOtherSignalingIface.
768s # *
768s # * Emits the "SimpleSignal" D-Bus signal.
768s # */
768s # void
768s # org_project_other_signaling_iface_emit_simple_signal (
768s # OrgProjectOtherSignalingIface *object)
768s # {
768s # g_signal_emit (object, _ORG_PROJECT_OTHER_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_OTHER_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
768s # }
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectOtherSignalingIfaceProxy:
768s # *
768s # * The #OrgProjectOtherSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherSignalingIfaceProxyClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectOtherSignalingIfaceProxy.
768s # */
768s #
768s # struct _OrgProjectOtherSignalingIfaceProxyPrivate
768s # {
768s # GData *qdata;
768s # };
768s #
768s # static void org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceProxy)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceProxy, org_project_other_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_proxy_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_other_signaling_iface_proxy_finalize (GObject *object)
768s # {
768s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (object);
768s # g_datalist_clear (&proxy->priv->qdata);
768s # G_OBJECT_CLASS (org_project_other_signaling_iface_proxy_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
768s # guint prop_id G_GNUC_UNUSED,
768s # const GValue *value G_GNUC_UNUSED,
768s # GParamSpec *pspec G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
768s # const gchar *sender_name G_GNUC_UNUSED,
768s # const gchar *signal_name,
768s # GVariant *parameters)
768s # {
768s # _ExtendedGDBusSignalInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # gsize n;
768s # guint signal_id;
768s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, signal_name);
768s # if (info == NULL)
768s # return;
768s # num_params = g_variant_n_children (parameters);
768s # paramv = g_new0 (GValue, num_params + 1);
768s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[0], proxy);
768s # g_variant_iter_init (&iter, parameters);
768s # n = 1;
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
768s # g_signal_emitv (paramv, signal_id, 0, NULL);
768s # for (n = 0; n < num_params + 1; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
768s # GVariant *changed_properties,
768s # const gchar *const *invalidated_properties)
768s # {
768s # OrgProjectOtherSignalingIfaceProxy *proxy = ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY (_proxy);
768s # guint n;
768s # const gchar *key;
768s # GVariantIter *iter;
768s # _ExtendedGDBusPropertyInfo *info;
768s # g_variant_get (changed_properties, "a{sv}", &iter);
768s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, key);
768s # g_datalist_remove_data (&proxy->priv->qdata, key);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # g_variant_iter_free (iter);
768s # for (n = 0; invalidated_properties[n] != NULL; n++)
768s # {
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
768s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
768s # if (info != NULL)
768s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
768s # }
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_proxy_init (OrgProjectOtherSignalingIfaceProxy *proxy)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # proxy->priv = org_project_other_signaling_iface_proxy_get_instance_private (proxy);
768s # #else
768s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_PROXY, OrgProjectOtherSignalingIfaceProxyPrivate);
768s # #endif
768s #
768s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_other_signaling_iface_interface_info ());
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_proxy_class_init (OrgProjectOtherSignalingIfaceProxyClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusProxyClass *proxy_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_other_signaling_iface_proxy_finalize;
768s # gobject_class->get_property = org_project_other_signaling_iface_proxy_get_property;
768s # gobject_class->set_property = org_project_other_signaling_iface_proxy_set_property;
768s #
768s # proxy_class = G_DBUS_PROXY_CLASS (klass);
768s # proxy_class->g_signal = org_project_other_signaling_iface_proxy_g_signal;
768s # proxy_class->g_properties_changed = org_project_other_signaling_iface_proxy_g_properties_changed;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceProxyPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_proxy_iface_init (OrgProjectOtherSignalingIfaceIface *iface G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_proxy_new:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Asynchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new() for more details.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_other_signaling_iface_proxy_new_finish() to get the result of the operation.
768s # *
768s # * See org_project_other_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_other_signaling_iface_proxy_new (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_proxy_new_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new().
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherSignalingIface *
768s # org_project_other_signaling_iface_proxy_new_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_proxy_new_sync:
768s # * @connection: A #GDBusConnection.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Synchronously creates a proxy for the D-Bus interface org.project.OtherSignalingIface. See g_dbus_proxy_new_sync() for more details.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_other_signaling_iface_proxy_new() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherSignalingIface *
768s # org_project_other_signaling_iface_proxy_new_sync (
768s # GDBusConnection *connection,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /**
768s # * org_project_other_signaling_iface_proxy_new_for_bus:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
768s # * @user_data: User data to pass to @callback.
768s # *
768s # * Like org_project_other_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
768s # * You can then call org_project_other_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
768s # *
768s # * See org_project_other_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
768s # */
768s # void
768s # org_project_other_signaling_iface_proxy_new_for_bus (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GAsyncReadyCallback callback,
768s # gpointer user_data)
768s # {
768s # 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);
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_proxy_new_for_bus_finish:
768s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_other_signaling_iface_proxy_new_for_bus().
768s # * @error: Return location for error or %NULL
768s # *
768s # * Finishes an operation started with org_project_other_signaling_iface_proxy_new_for_bus().
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherSignalingIface *
768s # org_project_other_signaling_iface_proxy_new_for_bus_finish (
768s # GAsyncResult *res,
768s # GError **error)
768s # {
768s # GObject *ret;
768s # GObject *source_object;
768s # source_object = g_async_result_get_source_object (res);
768s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
768s # g_object_unref (source_object);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_proxy_new_for_bus_sync:
768s # * @bus_type: A #GBusType.
768s # * @flags: Flags from the #GDBusProxyFlags enumeration.
768s # * @name: A bus name (well-known or unique).
768s # * @object_path: An object path.
768s # * @cancellable: (nullable): A #GCancellable or %NULL.
768s # * @error: Return location for error or %NULL
768s # *
768s # * Like org_project_other_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
768s # *
768s # * The calling thread is blocked until a reply is received.
768s # *
768s # * See org_project_other_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
768s # */
768s # OrgProjectOtherSignalingIface *
768s # org_project_other_signaling_iface_proxy_new_for_bus_sync (
768s # GBusType bus_type,
768s # GDBusProxyFlags flags,
768s # const gchar *name,
768s # const gchar *object_path,
768s # GCancellable *cancellable,
768s # GError **error)
768s # {
768s # GInitable *ret;
768s # 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);
768s # if (ret != NULL)
768s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (ret);
768s # else
768s # return NULL;
768s # }
768s #
768s #
768s # /* ------------------------------------------------------------------------ */
768s #
768s # /**
768s # * OrgProjectOtherSignalingIfaceSkeleton:
768s # *
768s # * The #OrgProjectOtherSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
768s # */
768s #
768s # /**
768s # * OrgProjectOtherSignalingIfaceSkeletonClass:
768s # * @parent_class: The parent class.
768s # *
768s # * Class structure for #OrgProjectOtherSignalingIfaceSkeleton.
768s # */
768s #
768s # struct _OrgProjectOtherSignalingIfaceSkeletonPrivate
768s # {
768s # GValue *properties;
768s # GList *changed_properties;
768s # GSource *changed_properties_idle_source;
768s # GMainContext *context;
768s # GMutex lock;
768s # };
768s #
768s # static void
768s # _org_project_other_signaling_iface_skeleton_handle_method_call (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name,
768s # const gchar *method_name,
768s # GVariant *parameters,
768s # GDBusMethodInvocation *invocation,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
768s # _ExtendedGDBusMethodInfo *info;
768s # GVariantIter iter;
768s # GVariant *child;
768s # GValue *paramv;
768s # gsize num_params;
768s # guint num_extra;
768s # gsize n;
768s # guint signal_id;
768s # GValue return_value = G_VALUE_INIT;
768s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
768s # g_assert (info != NULL);
768s # num_params = g_variant_n_children (parameters);
768s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
768s # n = 0;
768s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
768s # g_value_set_object (¶mv[n++], skeleton);
768s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
768s # g_value_set_object (¶mv[n++], invocation);
768s # if (info->pass_fdlist)
768s # {
768s # #ifdef G_OS_UNIX
768s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
768s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
768s # #else
768s # g_assert_not_reached ();
768s # #endif
768s # }
768s # g_variant_iter_init (&iter, parameters);
768s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
768s # {
768s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
768s # if (arg_info->use_gvariant)
768s # {
768s # g_value_init (¶mv[n], G_TYPE_VARIANT);
768s # g_value_set_variant (¶mv[n], child);
768s # n++;
768s # }
768s # else
768s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
768s # g_variant_unref (child);
768s # }
768s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE);
768s # g_value_init (&return_value, G_TYPE_BOOLEAN);
768s # g_signal_emitv (paramv, signal_id, 0, &return_value);
768s # if (!g_value_get_boolean (&return_value))
768s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
768s # g_value_unset (&return_value);
768s # for (n = 0; n < num_params + num_extra; n++)
768s # g_value_unset (¶mv[n]);
768s # g_free (paramv);
768s # }
768s #
768s # static GVariant *
768s # _org_project_other_signaling_iface_skeleton_handle_get_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # GVariant *ret;
768s # ret = NULL;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # g_value_init (&value, pspec->value_type);
768s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
768s # g_value_unset (&value);
768s # }
768s # return ret;
768s # }
768s #
768s # static gboolean
768s # _org_project_other_signaling_iface_skeleton_handle_set_property (
768s # GDBusConnection *connection G_GNUC_UNUSED,
768s # const gchar *sender G_GNUC_UNUSED,
768s # const gchar *object_path G_GNUC_UNUSED,
768s # const gchar *interface_name G_GNUC_UNUSED,
768s # const gchar *property_name,
768s # GVariant *variant,
768s # GError **error,
768s # gpointer user_data)
768s # {
768s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (user_data);
768s # GValue value = G_VALUE_INIT;
768s # GParamSpec *pspec;
768s # _ExtendedGDBusPropertyInfo *info;
768s # gboolean ret;
768s # ret = FALSE;
768s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_other_signaling_iface_interface_info.parent_struct, property_name);
768s # g_assert (info != NULL);
768s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
768s # if (pspec == NULL)
768s # {
768s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
768s # }
768s # else
768s # {
768s # if (info->use_gvariant)
768s # g_value_set_variant (&value, variant);
768s # else
768s # g_dbus_gvariant_to_gvalue (variant, &value);
768s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
768s # g_value_unset (&value);
768s # ret = TRUE;
768s # }
768s # return ret;
768s # }
768s #
768s # static const GDBusInterfaceVTable _org_project_other_signaling_iface_skeleton_vtable =
768s # {
768s # _org_project_other_signaling_iface_skeleton_handle_method_call,
768s # _org_project_other_signaling_iface_skeleton_handle_get_property,
768s # _org_project_other_signaling_iface_skeleton_handle_set_property,
768s # {NULL}
768s # };
768s #
768s # static GDBusInterfaceInfo *
768s # org_project_other_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return org_project_other_signaling_iface_interface_info ();
768s # }
768s #
768s # static GDBusInterfaceVTable *
768s # org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
768s # {
768s # return (GDBusInterfaceVTable *) &_org_project_other_signaling_iface_skeleton_vtable;
768s # }
768s #
768s # static GVariant *
768s # org_project_other_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
768s # {
768s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (_skeleton);
768s #
768s # GVariantBuilder builder;
768s # guint n;
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
768s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #else
768s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
768s # #endif
768s # if (_org_project_other_signaling_iface_interface_info.parent_struct.properties == NULL)
768s # goto out;
768s # for (n = 0; _org_project_other_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
768s # {
768s # GDBusPropertyInfo *info = _org_project_other_signaling_iface_interface_info.parent_struct.properties[n];
768s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
768s # {
768s # GVariant *value;
768s # 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);
768s # if (value != NULL)
768s # {
768s # g_variant_take_ref (value);
768s # g_variant_builder_add (&builder, "{sv}", info->name, value);
768s # g_variant_unref (value);
768s # }
768s # }
768s # }
768s # out:
768s # return g_variant_builder_end (&builder);
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
768s # {
768s # }
768s #
768s # static void
768s # _org_project_other_signaling_iface_on_signal_simple_signal (
768s # OrgProjectOtherSignalingIface *object)
768s # {
768s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
768s #
768s # GList *connections, *l;
768s # GVariant *signal_variant;
768s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
768s #
768s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
768s # for (l = connections; l != NULL; l = l->next)
768s # {
768s # GDBusConnection *connection = l->data;
768s # g_dbus_connection_emit_signal (connection,
768s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.OtherSignalingIface", "SimpleSignal",
768s # signal_variant, NULL);
768s # }
768s # g_variant_unref (signal_variant);
768s # g_list_free_full (connections, g_object_unref);
768s # }
768s #
768s # static void org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface);
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_ADD_PRIVATE (OrgProjectOtherSignalingIfaceSkeleton)
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
768s #
768s # #else
768s # G_DEFINE_TYPE_WITH_CODE (OrgProjectOtherSignalingIfaceSkeleton, org_project_other_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
768s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE, org_project_other_signaling_iface_skeleton_iface_init))
768s #
768s # #endif
768s # static void
768s # org_project_other_signaling_iface_skeleton_finalize (GObject *object)
768s # {
768s # OrgProjectOtherSignalingIfaceSkeleton *skeleton = ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON (object);
768s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
768s # if (skeleton->priv->changed_properties_idle_source != NULL)
768s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
768s # g_main_context_unref (skeleton->priv->context);
768s # g_mutex_clear (&skeleton->priv->lock);
768s # G_OBJECT_CLASS (org_project_other_signaling_iface_skeleton_parent_class)->finalize (object);
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_skeleton_init (OrgProjectOtherSignalingIfaceSkeleton *skeleton)
768s # {
768s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
768s # skeleton->priv = org_project_other_signaling_iface_skeleton_get_instance_private (skeleton);
768s # #else
768s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, OrgProjectOtherSignalingIfaceSkeletonPrivate);
768s # #endif
768s #
768s # g_mutex_init (&skeleton->priv->lock);
768s # skeleton->priv->context = g_main_context_ref_thread_default ();
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_skeleton_class_init (OrgProjectOtherSignalingIfaceSkeletonClass *klass)
768s # {
768s # GObjectClass *gobject_class;
768s # GDBusInterfaceSkeletonClass *skeleton_class;
768s #
768s # gobject_class = G_OBJECT_CLASS (klass);
768s # gobject_class->finalize = org_project_other_signaling_iface_skeleton_finalize;
768s #
768s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
768s # skeleton_class->get_info = org_project_other_signaling_iface_skeleton_dbus_interface_get_info;
768s # skeleton_class->get_properties = org_project_other_signaling_iface_skeleton_dbus_interface_get_properties;
768s # skeleton_class->flush = org_project_other_signaling_iface_skeleton_dbus_interface_flush;
768s # skeleton_class->get_vtable = org_project_other_signaling_iface_skeleton_dbus_interface_get_vtable;
768s #
768s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
768s # g_type_class_add_private (klass, sizeof (OrgProjectOtherSignalingIfaceSkeletonPrivate));
768s # #endif
768s # }
768s #
768s # static void
768s # org_project_other_signaling_iface_skeleton_iface_init (OrgProjectOtherSignalingIfaceIface *iface)
768s # {
768s # iface->simple_signal = _org_project_other_signaling_iface_on_signal_simple_signal;
768s # }
768s #
768s # /**
768s # * org_project_other_signaling_iface_skeleton_new:
768s # *
768s # * Creates a skeleton object for the D-Bus interface org.project.OtherSignalingIface.
768s # *
768s # * Returns: (transfer full) (type OrgProjectOtherSignalingIfaceSkeleton): The skeleton object.
768s # */
768s # OrgProjectOtherSignalingIface *
768s # org_project_other_signaling_iface_skeleton_new (void)
768s # {
768s # return ORG_PROJECT_OTHER_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_OTHER_SIGNALING_IFACE_SKELETON, NULL));
768s # }
768s # Error:
769s ok 23 __main__.TestCodegen.test_generate_signals_marshaller_single_typed_args
769s # gdbus-codegen: /usr/bin/gdbus-codegen
769s # tmpdir: /tmp/tmp7206qtp2
769s # /tmp/tmp7206qtp2/tmp5re170w9.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmp5re170w9.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_b",
769s # (gchar *) "b",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_arg_b.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_b =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalB",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_b_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-b"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_b.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_b (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__BOOLEAN (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_b: Handler for the #OrgProjectSignalingIface::single-arg-signal-b signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-b:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_b: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalB" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B] =
769s # g_signal_new ("single-arg-signal-b",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_b),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_b,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_BOOLEAN);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_b:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_b: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalB" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_b (
769s # OrgProjectSignalingIface *object,
769s # gboolean arg_arg_b)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_B], 0, arg_arg_b);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_b (
769s # OrgProjectSignalingIface *object,
769s # gboolean arg_arg_b)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(b)",
769s # arg_arg_b));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalB",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_b = _org_project_signaling_iface_on_signal_single_arg_signal_b;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpnihfjg10.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpnihfjg10.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_y",
769s # (gchar *) "y",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_arg_y.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_y =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalY",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_y_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-y"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_y.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_y (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__UCHAR (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_y: Handler for the #OrgProjectSignalingIface::single-arg-signal-y signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-y:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_y: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalY" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y] =
769s # g_signal_new ("single-arg-signal-y",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_y),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_y,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_UCHAR);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_y:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_y: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalY" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_y (
769s # OrgProjectSignalingIface *object,
769s # guchar arg_arg_y)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Y], 0, arg_arg_y);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_y (
769s # OrgProjectSignalingIface *object,
769s # guchar arg_arg_y)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(y)",
769s # arg_arg_y));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalY",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_y = _org_project_signaling_iface_on_signal_single_arg_signal_y;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpsxytaqzj.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpsxytaqzj.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_n",
769s # (gchar *) "n",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_arg_n.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_n =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalN",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_n_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-n"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_n.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_n (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__INT (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_n: Handler for the #OrgProjectSignalingIface::single-arg-signal-n signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-n:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_n: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalN" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N] =
769s # g_signal_new ("single-arg-signal-n",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_n),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_n,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_INT);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_n:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_n: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalN" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_n (
769s # OrgProjectSignalingIface *object,
769s # gint16 arg_arg_n)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_N], 0, arg_arg_n);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_n (
769s # OrgProjectSignalingIface *object,
769s # gint16 arg_arg_n)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(n)",
769s # arg_arg_n));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalN",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_n = _org_project_signaling_iface_on_signal_single_arg_signal_n;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpov7cy4m1.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpov7cy4m1.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_q",
769s # (gchar *) "q",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_arg_q.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_q =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalQ",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_q_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-q"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_q.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_q (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__UINT (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_q: Handler for the #OrgProjectSignalingIface::single-arg-signal-q signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-q:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_q: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalQ" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q] =
769s # g_signal_new ("single-arg-signal-q",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_q),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_q,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_UINT);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_q:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_q: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalQ" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_q (
769s # OrgProjectSignalingIface *object,
769s # guint16 arg_arg_q)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_Q], 0, arg_arg_q);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_q (
769s # OrgProjectSignalingIface *object,
769s # guint16 arg_arg_q)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(q)",
769s # arg_arg_q));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalQ",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_q = _org_project_signaling_iface_on_signal_single_arg_signal_q;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmp42d_ijwr.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmp42d_ijwr.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_i",
769s # (gchar *) "i",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_arg_i.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_i =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalI",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_i_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-i"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_i.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_i (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__INT (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_i: Handler for the #OrgProjectSignalingIface::single-arg-signal-i signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-i:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_i: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalI" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I] =
769s # g_signal_new ("single-arg-signal-i",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_i),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_i,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_INT);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_i:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_i: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalI" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_i (
769s # OrgProjectSignalingIface *object,
769s # gint arg_arg_i)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_I], 0, arg_arg_i);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_i (
769s # OrgProjectSignalingIface *object,
769s # gint arg_arg_i)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(i)",
769s # arg_arg_i));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalI",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_i = _org_project_signaling_iface_on_signal_single_arg_signal_i;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmphz6ba3n9.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmphz6ba3n9.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_u",
769s # (gchar *) "u",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_arg_u.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_u =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalU",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_u_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-u"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_u.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_u (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__UINT (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_u: Handler for the #OrgProjectSignalingIface::single-arg-signal-u signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-u:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_u: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalU" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U] =
769s # g_signal_new ("single-arg-signal-u",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_u),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_u,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_UINT);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_u:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_u: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalU" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_u (
769s # OrgProjectSignalingIface *object,
769s # guint arg_arg_u)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_U], 0, arg_arg_u);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_u (
769s # OrgProjectSignalingIface *object,
769s # guint arg_arg_u)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(u)",
769s # arg_arg_u));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalU",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_u = _org_project_signaling_iface_on_signal_single_arg_signal_u;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmphs5b9c52.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmphs5b9c52.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # static void
769s # _g_dbus_codegen_marshal_VOID__INT64 (
769s # GClosure *closure,
769s # GValue *return_value G_GNUC_UNUSED,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint G_GNUC_UNUSED,
769s # void *marshal_data)
769s # {
769s # typedef void (*_GDbusCodegenMarshalVoid_Int64Func)
769s # (void *data1,
769s # gint64 arg_arg_x,
769s # void *data2);
769s # _GDbusCodegenMarshalVoid_Int64Func callback;
769s # GCClosure *cc = (GCClosure*) closure;
769s # void *data1, *data2;
769s #
769s # g_return_if_fail (n_param_values == 2);
769s #
769s # if (G_CCLOSURE_SWAP_DATA (closure))
769s # {
769s # data1 = closure->data;
769s # data2 = g_value_peek_pointer (param_values + 0);
769s # }
769s # else
769s # {
769s # data1 = g_value_peek_pointer (param_values + 0);
769s # data2 = closure->data;
769s # }
769s #
769s # callback = (_GDbusCodegenMarshalVoid_Int64Func)
769s # (marshal_data ? marshal_data : cc->callback);
769s #
769s # callback (data1,
769s # g_marshal_value_peek_int64 (param_values + 1),
769s # data2);
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_x",
769s # (gchar *) "x",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_arg_x.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_x =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalX",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_x_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-x"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_x.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_x (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # _g_dbus_codegen_marshal_VOID__INT64 (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_x: Handler for the #OrgProjectSignalingIface::single-arg-signal-x signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-x:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_x: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalX" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X] =
769s # g_signal_new ("single-arg-signal-x",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_x),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_x,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_INT64);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_x:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_x: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalX" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_x (
769s # OrgProjectSignalingIface *object,
769s # gint64 arg_arg_x)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_X], 0, arg_arg_x);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_x (
769s # OrgProjectSignalingIface *object,
769s # gint64 arg_arg_x)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(x)",
769s # arg_arg_x));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalX",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_x = _org_project_signaling_iface_on_signal_single_arg_signal_x;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmptm2hg075.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmptm2hg075.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # static void
769s # _g_dbus_codegen_marshal_VOID__UINT64 (
769s # GClosure *closure,
769s # GValue *return_value G_GNUC_UNUSED,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint G_GNUC_UNUSED,
769s # void *marshal_data)
769s # {
769s # typedef void (*_GDbusCodegenMarshalVoid_Uint64Func)
769s # (void *data1,
769s # guint64 arg_arg_t,
769s # void *data2);
769s # _GDbusCodegenMarshalVoid_Uint64Func callback;
769s # GCClosure *cc = (GCClosure*) closure;
769s # void *data1, *data2;
769s #
769s # g_return_if_fail (n_param_values == 2);
769s #
769s # if (G_CCLOSURE_SWAP_DATA (closure))
769s # {
769s # data1 = closure->data;
769s # data2 = g_value_peek_pointer (param_values + 0);
769s # }
769s # else
769s # {
769s # data1 = g_value_peek_pointer (param_values + 0);
769s # data2 = closure->data;
769s # }
769s #
769s # callback = (_GDbusCodegenMarshalVoid_Uint64Func)
769s # (marshal_data ? marshal_data : cc->callback);
769s #
769s # callback (data1,
769s # g_marshal_value_peek_uint64 (param_values + 1),
769s # data2);
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_t",
769s # (gchar *) "t",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_arg_t.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_t =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalT",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_t_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-t"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_t.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_t (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # _g_dbus_codegen_marshal_VOID__UINT64 (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_t: Handler for the #OrgProjectSignalingIface::single-arg-signal-t signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-t:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_t: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalT" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T] =
769s # g_signal_new ("single-arg-signal-t",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_t),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_t,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_UINT64);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_t:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_t: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalT" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_t (
769s # OrgProjectSignalingIface *object,
769s # guint64 arg_arg_t)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_T], 0, arg_arg_t);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_t (
769s # OrgProjectSignalingIface *object,
769s # guint64 arg_arg_t)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(t)",
769s # arg_arg_t));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalT",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_t = _org_project_signaling_iface_on_signal_single_arg_signal_t;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpicps7_rh.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpicps7_rh.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_d",
769s # (gchar *) "d",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_arg_d.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_d =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalD",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_d_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-d"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_d.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_d (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__DOUBLE (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_d: Handler for the #OrgProjectSignalingIface::single-arg-signal-d signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-d:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_d: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalD" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D] =
769s # g_signal_new ("single-arg-signal-d",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_d),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_d,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_DOUBLE);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_d:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_d: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalD" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_d (
769s # OrgProjectSignalingIface *object,
769s # gdouble arg_arg_d)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_D], 0, arg_arg_d);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_d (
769s # OrgProjectSignalingIface *object,
769s # gdouble arg_arg_d)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(d)",
769s # arg_arg_d));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalD",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_d = _org_project_signaling_iface_on_signal_single_arg_signal_d;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmp2nwr9z40.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmp2nwr9z40.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_s",
769s # (gchar *) "s",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_arg_s.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_s =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalS",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_s_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-s"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_s.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_s (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__STRING (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_s: Handler for the #OrgProjectSignalingIface::single-arg-signal-s signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-s:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_s: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalS" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S] =
769s # g_signal_new ("single-arg-signal-s",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_s),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_s,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_STRING);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_s:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_s: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalS" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_s (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_s)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_S], 0, arg_arg_s);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_s (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_s)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(s)",
769s # arg_arg_s));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalS",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_s = _org_project_signaling_iface_on_signal_single_arg_signal_s;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpxdfg7f40.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpxdfg7f40.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_o",
769s # (gchar *) "o",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_arg_o.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_o =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalO",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_o_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-o"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_o.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_o (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__STRING (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_o: Handler for the #OrgProjectSignalingIface::single-arg-signal-o signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-o:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_o: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalO" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O] =
769s # g_signal_new ("single-arg-signal-o",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_o),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_o,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_STRING);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_o:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_o: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalO" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_o (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_o)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_O], 0, arg_arg_o);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_o (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_o)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(o)",
769s # arg_arg_o));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalO",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_o = _org_project_signaling_iface_on_signal_single_arg_signal_o;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpsx29lah7.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpsx29lah7.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_g",
769s # (gchar *) "g",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_arg_g.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_g =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalG",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_g_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-g"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_g.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_g (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__STRING (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_g: Handler for the #OrgProjectSignalingIface::single-arg-signal-g signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-g:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_g: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalG" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G] =
769s # g_signal_new ("single-arg-signal-g",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_g),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_g,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_STRING);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_g:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_g: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalG" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_g (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_g)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_G], 0, arg_arg_g);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_g (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_g)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(g)",
769s # arg_arg_g));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalG",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_g = _org_project_signaling_iface_on_signal_single_arg_signal_g;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpvyd6z5x8.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpvyd6z5x8.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_h",
769s # (gchar *) "h",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_arg_h.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_h =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalH",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_h_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-h"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_h.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_h (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VARIANT (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_h: Handler for the #OrgProjectSignalingIface::single-arg-signal-h signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-h:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_h: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalH" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H] =
769s # g_signal_new ("single-arg-signal-h",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_h),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_h,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_VARIANT);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_h:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_h: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalH" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_h (
769s # OrgProjectSignalingIface *object,
769s # GVariant *arg_arg_h)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_H], 0, arg_arg_h);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_h (
769s # OrgProjectSignalingIface *object,
769s # GVariant *arg_arg_h)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(@h)",
769s # arg_arg_h));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalH",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_h = _org_project_signaling_iface_on_signal_single_arg_signal_h;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpmfmxpr6t.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpmfmxpr6t.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_ay",
769s # (gchar *) "ay",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_arg_ay.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ay =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalAy",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ay_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-ay"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_ay.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__STRING (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_ay: Handler for the #OrgProjectSignalingIface::single-arg-signal-ay signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-ay:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_ay: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAy" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY] =
769s # g_signal_new ("single-arg-signal-ay",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ay),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_ay,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_STRING);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_ay:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_ay: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalAy" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_ay (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_ay)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AY], 0, arg_arg_ay);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_ay (
769s # OrgProjectSignalingIface *object,
769s # const gchar *arg_arg_ay)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ay)",
769s # arg_arg_ay));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAy",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_ay = _org_project_signaling_iface_on_signal_single_arg_signal_ay;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpditzwzix.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpditzwzix.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_as",
769s # (gchar *) "as",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_arg_as.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_as =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalAs",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_as_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-as"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_as.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_as (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__BOXED (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_as: Handler for the #OrgProjectSignalingIface::single-arg-signal-as signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-as:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_as: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAs" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS] =
769s # g_signal_new ("single-arg-signal-as",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_as),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_as,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_STRV);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_as:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_as: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalAs" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_as (
769s # OrgProjectSignalingIface *object,
769s # const gchar *const *arg_arg_as)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AS], 0, arg_arg_as);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_as (
769s # OrgProjectSignalingIface *object,
769s # const gchar *const *arg_arg_as)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(^as)",
769s # arg_arg_as));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAs",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_as = _org_project_signaling_iface_on_signal_single_arg_signal_as;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpqifuyoj1.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpqifuyoj1.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_ao",
769s # (gchar *) "ao",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_arg_ao.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_ao =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalAo",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_ao_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-ao"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_ao.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__BOXED (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_ao: Handler for the #OrgProjectSignalingIface::single-arg-signal-ao signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-ao:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_ao: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAo" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO] =
769s # g_signal_new ("single-arg-signal-ao",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_ao),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_ao,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_STRV);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_ao:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_ao: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalAo" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_ao (
769s # OrgProjectSignalingIface *object,
769s # const gchar *const *arg_arg_ao)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AO], 0, arg_arg_ao);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_ao (
769s # OrgProjectSignalingIface *object,
769s # const gchar *const *arg_arg_ao)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(^ao)",
769s # arg_arg_ao));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAo",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_ao = _org_project_signaling_iface_on_signal_single_arg_signal_ao;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmpaa2h9f8m.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmpaa2h9f8m.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_aay",
769s # (gchar *) "aay",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_arg_aay.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_aay =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalAay",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_aay_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-aay"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_aay.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__BOXED (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_aay: Handler for the #OrgProjectSignalingIface::single-arg-signal-aay signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-aay:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_aay: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAay" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY] =
769s # g_signal_new ("single-arg-signal-aay",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_aay),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_aay,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_STRV);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_aay:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_aay: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalAay" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_aay (
769s # OrgProjectSignalingIface *object,
769s # const gchar *const *arg_arg_aay)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_AAY], 0, arg_arg_aay);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_aay (
769s # OrgProjectSignalingIface *object,
769s # const gchar *const *arg_arg_aay)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(^aay)",
769s # arg_arg_aay));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAay",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_aay = _org_project_signaling_iface_on_signal_single_arg_signal_aay;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s #
769s # /tmp/tmp7206qtp2/tmp60o7bsz2.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp7206qtp2/tmp60o7bsz2.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv =
769s # {
769s # {
769s # -1,
769s # (gchar *) "arg_asv",
769s # (gchar *) "a{sv}",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_arg_asv.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_single_arg_signal_asv =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SingleArgSignalAsv",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_single_arg_signal_asv_ARG_pointers,
769s # NULL
769s # },
769s # "single-arg-signal-asv"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_single_arg_signal_asv.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VARIANT (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # * @single_arg_signal_asv: Handler for the #OrgProjectSignalingIface::single-arg-signal-asv signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::single-arg-signal-asv:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_asv: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SingleArgSignalAsv" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV] =
769s # g_signal_new ("single-arg-signal-asv",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, single_arg_signal_asv),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_single_arg_signal_asv,
769s # G_TYPE_NONE,
769s # 1, G_TYPE_VARIANT);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_single_arg_signal_asv:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_arg_asv: Argument to pass with the signal.
769s # *
769s # * Emits the "SingleArgSignalAsv" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_single_arg_signal_asv (
769s # OrgProjectSignalingIface *object,
769s # GVariant *arg_arg_asv)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SINGLE_ARG_SIGNAL_ASV], 0, arg_arg_asv);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_single_arg_signal_asv (
769s # OrgProjectSignalingIface *object,
769s # GVariant *arg_arg_asv)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(@a{sv})",
769s # arg_arg_asv));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SingleArgSignalAsv",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->single_arg_signal_asv = _org_project_signaling_iface_on_signal_single_arg_signal_asv;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s ok 24 __main__.TestCodegen.test_generate_signals_marshallers_multiple_args
769s # gdbus-codegen: /usr/bin/gdbus-codegen
769s # tmpdir: /tmp/tmp_kf08btb
769s # /tmp/tmp_kf08btb/tmpvikb45ry.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_kf08btb/tmpvikb45ry.xml', '--output', '-', '--body']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifdef HAVE_CONFIG_H
769s # # include "config.h"
769s # #endif
769s #
769s # #include
769s # #ifdef G_OS_UNIX
769s # # include
769s # #endif
769s #
769s # #ifdef G_ENABLE_DEBUG
769s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
769s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
769s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
769s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
769s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
769s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
769s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
769s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
769s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
769s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
769s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
769s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
769s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
769s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
769s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
769s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
769s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
769s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
769s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
769s # #else /* !G_ENABLE_DEBUG */
769s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
769s # * Do not access GValues directly in your code. Instead, use the
769s # * g_value_get_*() functions
769s # */
769s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
769s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
769s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
769s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
769s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
769s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
769s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
769s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
769s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
769s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
769s # #endif /* !G_ENABLE_DEBUG */
769s #
769s # typedef struct
769s # {
769s # GDBusArgInfo parent_struct;
769s # gboolean use_gvariant;
769s # } _ExtendedGDBusArgInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusMethodInfo parent_struct;
769s # const gchar *signal_name;
769s # gboolean pass_fdlist;
769s # } _ExtendedGDBusMethodInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusSignalInfo parent_struct;
769s # const gchar *signal_name;
769s # } _ExtendedGDBusSignalInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusPropertyInfo parent_struct;
769s # const gchar *hyphen_name;
769s # guint use_gvariant : 1;
769s # guint emits_changed_signal : 1;
769s # } _ExtendedGDBusPropertyInfo;
769s #
769s # typedef struct
769s # {
769s # GDBusInterfaceInfo parent_struct;
769s # const gchar *hyphen_name;
769s # } _ExtendedGDBusInterfaceInfo;
769s #
769s # typedef struct
769s # {
769s # const _ExtendedGDBusPropertyInfo *info;
769s # guint prop_id;
769s # GValue orig_value; /* the value before the change */
769s # } ChangedProperty;
769s #
769s # static void
769s # _changed_property_free (ChangedProperty *data)
769s # {
769s # g_value_unset (&data->orig_value);
769s # g_free (data);
769s # }
769s #
769s # static gboolean
769s # _g_strv_equal0 (gchar **a, gchar **b)
769s # {
769s # gboolean ret = FALSE;
769s # guint n;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # if (g_strv_length (a) != g_strv_length (b))
769s # goto out;
769s # for (n = 0; a[n] != NULL; n++)
769s # if (g_strcmp0 (a[n], b[n]) != 0)
769s # goto out;
769s # ret = TRUE;
769s # out:
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _g_variant_equal0 (GVariant *a, GVariant *b)
769s # {
769s # gboolean ret = FALSE;
769s # if (a == NULL && b == NULL)
769s # {
769s # ret = TRUE;
769s # goto out;
769s # }
769s # if (a == NULL || b == NULL)
769s # goto out;
769s # ret = g_variant_equal (a, b);
769s # out:
769s # return ret;
769s # }
769s #
769s # G_GNUC_UNUSED static gboolean
769s # _g_value_equal (const GValue *a, const GValue *b)
769s # {
769s # gboolean ret = FALSE;
769s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
769s # switch (G_VALUE_TYPE (a))
769s # {
769s # case G_TYPE_BOOLEAN:
769s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
769s # break;
769s # case G_TYPE_UCHAR:
769s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
769s # break;
769s # case G_TYPE_INT:
769s # ret = (g_value_get_int (a) == g_value_get_int (b));
769s # break;
769s # case G_TYPE_UINT:
769s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
769s # break;
769s # case G_TYPE_INT64:
769s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
769s # break;
769s # case G_TYPE_UINT64:
769s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
769s # break;
769s # case G_TYPE_DOUBLE:
769s # {
769s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
769s # gdouble da = g_value_get_double (a);
769s # gdouble db = g_value_get_double (b);
769s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
769s # }
769s # break;
769s # case G_TYPE_STRING:
769s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
769s # break;
769s # case G_TYPE_VARIANT:
769s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
769s # break;
769s # default:
769s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
769s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
769s # else
769s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
769s # break;
769s # }
769s # return ret;
769s # }
769s #
769s # static void
769s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (
769s # GClosure *closure,
769s # GValue *return_value G_GNUC_UNUSED,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint G_GNUC_UNUSED,
769s # void *marshal_data)
769s # {
769s # typedef void (*_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
769s # (void *data1,
769s # gboolean arg_an_b,
769s # guchar arg_an_y,
769s # gint16 arg_an_n,
769s # guint16 arg_an_q,
769s # gint arg_an_i,
769s # guint arg_an_u,
769s # gint64 arg_an_x,
769s # guint64 arg_an_t,
769s # gdouble arg_an_d,
769s # const gchar *arg_an_s,
769s # const gchar *arg_an_o,
769s # const gchar *arg_an_g,
769s # GVariant *arg_an_h,
769s # const gchar *arg_an_ay,
769s # const gchar *const *arg_an_as,
769s # const gchar *const *arg_an_ao,
769s # const gchar *const *arg_an_aay,
769s # GVariant *arg_an_asv,
769s # void *data2);
769s # _GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc callback;
769s # GCClosure *cc = (GCClosure*) closure;
769s # void *data1, *data2;
769s #
769s # g_return_if_fail (n_param_values == 19);
769s #
769s # if (G_CCLOSURE_SWAP_DATA (closure))
769s # {
769s # data1 = closure->data;
769s # data2 = g_value_peek_pointer (param_values + 0);
769s # }
769s # else
769s # {
769s # data1 = g_value_peek_pointer (param_values + 0);
769s # data2 = closure->data;
769s # }
769s #
769s # callback = (_GDbusCodegenMarshalVoid_BooleanUcharIntUintIntUintInt64Uint64DoubleStringStringStringVariantStringBoxedBoxedBoxedVariantFunc)
769s # (marshal_data ? marshal_data : cc->callback);
769s #
769s # callback (data1,
769s # g_marshal_value_peek_boolean (param_values + 1),
769s # g_marshal_value_peek_uchar (param_values + 2),
769s # g_marshal_value_peek_int (param_values + 3),
769s # g_marshal_value_peek_uint (param_values + 4),
769s # g_marshal_value_peek_int (param_values + 5),
769s # g_marshal_value_peek_uint (param_values + 6),
769s # g_marshal_value_peek_int64 (param_values + 7),
769s # g_marshal_value_peek_uint64 (param_values + 8),
769s # g_marshal_value_peek_double (param_values + 9),
769s # g_marshal_value_peek_string (param_values + 10),
769s # g_marshal_value_peek_string (param_values + 11),
769s # g_marshal_value_peek_string (param_values + 12),
769s # g_marshal_value_peek_variant (param_values + 13),
769s # g_marshal_value_peek_string (param_values + 14),
769s # g_marshal_value_peek_boxed (param_values + 15),
769s # g_marshal_value_peek_boxed (param_values + 16),
769s # g_marshal_value_peek_boxed (param_values + 17),
769s # g_marshal_value_peek_variant (param_values + 18),
769s # data2);
769s # }
769s #
769s # /* ------------------------------------------------------------------------
769s # * Code for interface org.project.SignalingIface
769s # * ------------------------------------------------------------------------
769s # */
769s #
769s # /**
769s # * SECTION:OrgProjectSignalingIface
769s # * @title: OrgProjectSignalingIface
769s # * @short_description: Generated C code for the org.project.SignalingIface D-Bus interface
769s # *
769s # * This section contains code for working with the org.project.SignalingIface D-Bus interface in C.
769s # */
769s #
769s # enum
769s # {
769s # _ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL,
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS,
769s # };
769s #
769s # static unsigned _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[2] = { 0 };
769s #
769s # /* ---- Introspection data for org.project.SignalingIface ---- */
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_simple_signal =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SimpleSignal",
769s # NULL,
769s # NULL
769s # },
769s # "simple-signal"
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_b",
769s # (gchar *) "b",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_y",
769s # (gchar *) "y",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_n",
769s # (gchar *) "n",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_q",
769s # (gchar *) "q",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_i",
769s # (gchar *) "i",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_u",
769s # (gchar *) "u",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_x",
769s # (gchar *) "x",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_t",
769s # (gchar *) "t",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_d",
769s # (gchar *) "d",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_s",
769s # (gchar *) "s",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_o",
769s # (gchar *) "o",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_g",
769s # (gchar *) "g",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_h",
769s # (gchar *) "h",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_ay",
769s # (gchar *) "ay",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_as",
769s # (gchar *) "as",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_ao",
769s # (gchar *) "ao",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_aay",
769s # (gchar *) "aay",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const _ExtendedGDBusArgInfo _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv =
769s # {
769s # {
769s # -1,
769s # (gchar *) "an_asv",
769s # (gchar *) "a{sv}",
769s # NULL
769s # },
769s # FALSE
769s # };
769s #
769s # static const GDBusArgInfo * const _org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_b.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_y.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_n.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_q.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_i.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_u.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_x.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_t.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_d.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_s.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_o.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_g.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_h.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ay.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_as.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_ao.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_aay.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_an_asv.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusSignalInfo _org_project_signaling_iface_signal_info_signal_with_many_args =
769s # {
769s # {
769s # -1,
769s # (gchar *) "SignalWithManyArgs",
769s # (GDBusArgInfo **) &_org_project_signaling_iface_signal_info_signal_with_many_args_ARG_pointers,
769s # NULL
769s # },
769s # "signal-with-many-args"
769s # };
769s #
769s # static const GDBusSignalInfo * const _org_project_signaling_iface_signal_info_pointers[] =
769s # {
769s # &_org_project_signaling_iface_signal_info_simple_signal.parent_struct,
769s # &_org_project_signaling_iface_signal_info_signal_with_many_args.parent_struct,
769s # NULL
769s # };
769s #
769s # static const _ExtendedGDBusInterfaceInfo _org_project_signaling_iface_interface_info =
769s # {
769s # {
769s # -1,
769s # (gchar *) "org.project.SignalingIface",
769s # NULL,
769s # (GDBusSignalInfo **) &_org_project_signaling_iface_signal_info_pointers,
769s # NULL,
769s # NULL
769s # },
769s # "org-project-signaling-iface",
769s # };
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_interface_info:
769s # *
769s # * Gets a machine-readable description of the org.project.SignalingIface D-Bus interface.
769s # *
769s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
769s # */
769s # GDBusInterfaceInfo *
769s # org_project_signaling_iface_interface_info (void)
769s # {
769s # return (GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_override_properties:
769s # * @klass: The class structure for a #GObject derived class.
769s # * @property_id_begin: The property id to assign to the first overridden property.
769s # *
769s # * Overrides all #GObject properties in the #OrgProjectSignalingIface interface for a concrete class.
769s # * The properties are overridden in the order they are defined.
769s # *
769s # * Returns: The last property id.
769s # */
769s # guint
769s # org_project_signaling_iface_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
769s # {
769s # return property_id_begin - 1;
769s # }
769s #
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_simple_signal (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # g_cclosure_marshal_VOID__VOID (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s # inline static void
769s # org_project_signaling_iface_signal_marshal_signal_with_many_args (
769s # GClosure *closure,
769s # GValue *return_value,
769s # unsigned int n_param_values,
769s # const GValue *param_values,
769s # void *invocation_hint,
769s # void *marshal_data)
769s # {
769s # _g_dbus_codegen_marshal_VOID__BOOLEAN_UCHAR_INT_UINT_INT_UINT_INT64_UINT64_DOUBLE_STRING_STRING_STRING_VARIANT_STRING_BOXED_BOXED_BOXED_VARIANT (closure,
769s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
769s # }
769s #
769s #
769s # /**
769s # * OrgProjectSignalingIface:
769s # *
769s # * Abstract interface type for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceIface:
769s # * @parent_iface: The parent interface.
769s # * @signal_with_many_args: Handler for the #OrgProjectSignalingIface::signal-with-many-args signal.
769s # * @simple_signal: Handler for the #OrgProjectSignalingIface::simple-signal signal.
769s # *
769s # * Virtual table for the D-Bus interface org.project.SignalingIface.
769s # */
769s #
769s # typedef OrgProjectSignalingIfaceIface OrgProjectSignalingIfaceInterface;
769s # G_DEFINE_INTERFACE (OrgProjectSignalingIface, org_project_signaling_iface, G_TYPE_OBJECT)
769s #
769s # static void
769s # org_project_signaling_iface_default_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # /* GObject signals for received D-Bus signals: */
769s # /**
769s # * OrgProjectSignalingIface::simple-signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SimpleSignal" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL] =
769s # g_signal_new ("simple-signal",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, simple_signal),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_simple_signal,
769s # G_TYPE_NONE,
769s # 0);
769s #
769s # /**
769s # * OrgProjectSignalingIface::signal-with-many-args:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_an_b: Argument.
769s # * @arg_an_y: Argument.
769s # * @arg_an_n: Argument.
769s # * @arg_an_q: Argument.
769s # * @arg_an_i: Argument.
769s # * @arg_an_u: Argument.
769s # * @arg_an_x: Argument.
769s # * @arg_an_t: Argument.
769s # * @arg_an_d: Argument.
769s # * @arg_an_s: Argument.
769s # * @arg_an_o: Argument.
769s # * @arg_an_g: Argument.
769s # * @arg_an_h: Argument.
769s # * @arg_an_ay: Argument.
769s # * @arg_an_as: Argument.
769s # * @arg_an_ao: Argument.
769s # * @arg_an_aay: Argument.
769s # * @arg_an_asv: Argument.
769s # *
769s # * On the client-side, this signal is emitted whenever the D-Bus signal "SignalWithManyArgs" is received.
769s # *
769s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
769s # */
769s # _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIGNAL_WITH_MANY_ARGS] =
769s # g_signal_new ("signal-with-many-args",
769s # G_TYPE_FROM_INTERFACE (iface),
769s # G_SIGNAL_RUN_LAST,
769s # G_STRUCT_OFFSET (OrgProjectSignalingIfaceIface, signal_with_many_args),
769s # NULL,
769s # NULL,
769s # org_project_signaling_iface_signal_marshal_signal_with_many_args,
769s # G_TYPE_NONE,
769s # 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);
769s #
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_simple_signal:
769s # * @object: A #OrgProjectSignalingIface.
769s # *
769s # * Emits the "SimpleSignal" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # g_signal_emit (object, _ORG_PROJECT_SIGNALING_IFACE_SIGNALS[_ORG_PROJECT_SIGNALING_IFACE_SIMPLE_SIGNAL], 0);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_emit_signal_with_many_args:
769s # * @object: A #OrgProjectSignalingIface.
769s # * @arg_an_b: Argument to pass with the signal.
769s # * @arg_an_y: Argument to pass with the signal.
769s # * @arg_an_n: Argument to pass with the signal.
769s # * @arg_an_q: Argument to pass with the signal.
769s # * @arg_an_i: Argument to pass with the signal.
769s # * @arg_an_u: Argument to pass with the signal.
769s # * @arg_an_x: Argument to pass with the signal.
769s # * @arg_an_t: Argument to pass with the signal.
769s # * @arg_an_d: Argument to pass with the signal.
769s # * @arg_an_s: Argument to pass with the signal.
769s # * @arg_an_o: Argument to pass with the signal.
769s # * @arg_an_g: Argument to pass with the signal.
769s # * @arg_an_h: Argument to pass with the signal.
769s # * @arg_an_ay: Argument to pass with the signal.
769s # * @arg_an_as: Argument to pass with the signal.
769s # * @arg_an_ao: Argument to pass with the signal.
769s # * @arg_an_aay: Argument to pass with the signal.
769s # * @arg_an_asv: Argument to pass with the signal.
769s # *
769s # * Emits the "SignalWithManyArgs" D-Bus signal.
769s # */
769s # void
769s # org_project_signaling_iface_emit_signal_with_many_args (
769s # OrgProjectSignalingIface *object,
769s # gboolean arg_an_b,
769s # guchar arg_an_y,
769s # gint16 arg_an_n,
769s # guint16 arg_an_q,
769s # gint arg_an_i,
769s # guint arg_an_u,
769s # gint64 arg_an_x,
769s # guint64 arg_an_t,
769s # gdouble arg_an_d,
769s # const gchar *arg_an_s,
769s # const gchar *arg_an_o,
769s # const gchar *arg_an_g,
769s # GVariant *arg_an_h,
769s # const gchar *arg_an_ay,
769s # const gchar *const *arg_an_as,
769s # const gchar *const *arg_an_ao,
769s # const gchar *const *arg_an_aay,
769s # GVariant *arg_an_asv)
769s # {
769s # 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);
769s # }
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxy:
769s # *
769s # * The #OrgProjectSignalingIfaceProxy structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceProxyClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceProxy.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceProxyPrivate
769s # {
769s # GData *qdata;
769s # };
769s #
769s # static void org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface);
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceProxy)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceProxy, org_project_signaling_iface_proxy, G_TYPE_DBUS_PROXY,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_proxy_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_proxy_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (object);
769s # g_datalist_clear (&proxy->priv->qdata);
769s # G_OBJECT_CLASS (org_project_signaling_iface_proxy_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_get_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_set_property (GObject *object G_GNUC_UNUSED,
769s # guint prop_id G_GNUC_UNUSED,
769s # const GValue *value G_GNUC_UNUSED,
769s # GParamSpec *pspec G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_signal (GDBusProxy *proxy,
769s # const gchar *sender_name G_GNUC_UNUSED,
769s # const gchar *signal_name,
769s # GVariant *parameters)
769s # {
769s # _ExtendedGDBusSignalInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # gsize n;
769s # guint signal_id;
769s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, signal_name);
769s # if (info == NULL)
769s # return;
769s # num_params = g_variant_n_children (parameters);
769s # paramv = g_new0 (GValue, num_params + 1);
769s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[0], proxy);
769s # g_variant_iter_init (&iter, parameters);
769s # n = 1;
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_signal_emitv (paramv, signal_id, 0, NULL);
769s # for (n = 0; n < num_params + 1; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_g_properties_changed (GDBusProxy *_proxy,
769s # GVariant *changed_properties,
769s # const gchar *const *invalidated_properties)
769s # {
769s # OrgProjectSignalingIfaceProxy *proxy = ORG_PROJECT_SIGNALING_IFACE_PROXY (_proxy);
769s # guint n;
769s # const gchar *key;
769s # GVariantIter *iter;
769s # _ExtendedGDBusPropertyInfo *info;
769s # g_variant_get (changed_properties, "a{sv}", &iter);
769s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, key);
769s # g_datalist_remove_data (&proxy->priv->qdata, key);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # g_variant_iter_free (iter);
769s # for (n = 0; invalidated_properties[n] != NULL; n++)
769s # {
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, invalidated_properties[n]);
769s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
769s # if (info != NULL)
769s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
769s # }
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_init (OrgProjectSignalingIfaceProxy *proxy)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # proxy->priv = org_project_signaling_iface_proxy_get_instance_private (proxy);
769s # #else
769s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_SIGNALING_IFACE_PROXY, OrgProjectSignalingIfaceProxyPrivate);
769s # #endif
769s #
769s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_signaling_iface_interface_info ());
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_class_init (OrgProjectSignalingIfaceProxyClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusProxyClass *proxy_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_proxy_finalize;
769s # gobject_class->get_property = org_project_signaling_iface_proxy_get_property;
769s # gobject_class->set_property = org_project_signaling_iface_proxy_set_property;
769s #
769s # proxy_class = G_DBUS_PROXY_CLASS (klass);
769s # proxy_class->g_signal = org_project_signaling_iface_proxy_g_signal;
769s # proxy_class->g_properties_changed = org_project_signaling_iface_proxy_g_properties_changed;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceProxyPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_proxy_iface_init (OrgProjectSignalingIfaceIface *iface G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Asynchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new() for more details.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_sync:
769s # * @connection: A #GDBusConnection.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Synchronously creates a proxy for the D-Bus interface org.project.SignalingIface. See g_dbus_proxy_new_sync() for more details.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_sync (
769s # GDBusConnection *connection,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
769s # * @user_data: User data to pass to @callback.
769s # *
769s # * Like org_project_signaling_iface_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
769s # * You can then call org_project_signaling_iface_proxy_new_for_bus_finish() to get the result of the operation.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
769s # */
769s # void
769s # org_project_signaling_iface_proxy_new_for_bus (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GAsyncReadyCallback callback,
769s # gpointer user_data)
769s # {
769s # 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);
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_finish:
769s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_signaling_iface_proxy_new_for_bus().
769s # * @error: Return location for error or %NULL
769s # *
769s # * Finishes an operation started with org_project_signaling_iface_proxy_new_for_bus().
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_finish (
769s # GAsyncResult *res,
769s # GError **error)
769s # {
769s # GObject *ret;
769s # GObject *source_object;
769s # source_object = g_async_result_get_source_object (res);
769s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
769s # g_object_unref (source_object);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_proxy_new_for_bus_sync:
769s # * @bus_type: A #GBusType.
769s # * @flags: Flags from the #GDBusProxyFlags enumeration.
769s # * @name: A bus name (well-known or unique).
769s # * @object_path: An object path.
769s # * @cancellable: (nullable): A #GCancellable or %NULL.
769s # * @error: Return location for error or %NULL
769s # *
769s # * Like org_project_signaling_iface_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
769s # *
769s # * The calling thread is blocked until a reply is received.
769s # *
769s # * See org_project_signaling_iface_proxy_new_for_bus() for the asynchronous version of this constructor.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceProxy): The constructed proxy object or %NULL if @error is set.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_proxy_new_for_bus_sync (
769s # GBusType bus_type,
769s # GDBusProxyFlags flags,
769s # const gchar *name,
769s # const gchar *object_path,
769s # GCancellable *cancellable,
769s # GError **error)
769s # {
769s # GInitable *ret;
769s # 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);
769s # if (ret != NULL)
769s # return ORG_PROJECT_SIGNALING_IFACE (ret);
769s # else
769s # return NULL;
769s # }
769s #
769s #
769s # /* ------------------------------------------------------------------------ */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeleton:
769s # *
769s # * The #OrgProjectSignalingIfaceSkeleton structure contains only private data and should only be accessed using the provided API.
769s # */
769s #
769s # /**
769s # * OrgProjectSignalingIfaceSkeletonClass:
769s # * @parent_class: The parent class.
769s # *
769s # * Class structure for #OrgProjectSignalingIfaceSkeleton.
769s # */
769s #
769s # struct _OrgProjectSignalingIfaceSkeletonPrivate
769s # {
769s # GValue *properties;
769s # GList *changed_properties;
769s # GSource *changed_properties_idle_source;
769s # GMainContext *context;
769s # GMutex lock;
769s # };
769s #
769s # static void
769s # _org_project_signaling_iface_skeleton_handle_method_call (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name,
769s # const gchar *method_name,
769s # GVariant *parameters,
769s # GDBusMethodInvocation *invocation,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # _ExtendedGDBusMethodInfo *info;
769s # GVariantIter iter;
769s # GVariant *child;
769s # GValue *paramv;
769s # gsize num_params;
769s # guint num_extra;
769s # gsize n;
769s # guint signal_id;
769s # GValue return_value = G_VALUE_INIT;
769s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
769s # g_assert (info != NULL);
769s # num_params = g_variant_n_children (parameters);
769s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
769s # n = 0;
769s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_set_object (¶mv[n++], skeleton);
769s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
769s # g_value_set_object (¶mv[n++], invocation);
769s # if (info->pass_fdlist)
769s # {
769s # #ifdef G_OS_UNIX
769s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
769s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
769s # #else
769s # g_assert_not_reached ();
769s # #endif
769s # }
769s # g_variant_iter_init (&iter, parameters);
769s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
769s # {
769s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
769s # if (arg_info->use_gvariant)
769s # {
769s # g_value_init (¶mv[n], G_TYPE_VARIANT);
769s # g_value_set_variant (¶mv[n], child);
769s # n++;
769s # }
769s # else
769s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
769s # g_variant_unref (child);
769s # }
769s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_SIGNALING_IFACE);
769s # g_value_init (&return_value, G_TYPE_BOOLEAN);
769s # g_signal_emitv (paramv, signal_id, 0, &return_value);
769s # if (!g_value_get_boolean (&return_value))
769s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
769s # g_value_unset (&return_value);
769s # for (n = 0; n < num_params + num_extra; n++)
769s # g_value_unset (¶mv[n]);
769s # g_free (paramv);
769s # }
769s #
769s # static GVariant *
769s # _org_project_signaling_iface_skeleton_handle_get_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # GVariant *ret;
769s # ret = NULL;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # g_value_init (&value, pspec->value_type);
769s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
769s # g_value_unset (&value);
769s # }
769s # return ret;
769s # }
769s #
769s # static gboolean
769s # _org_project_signaling_iface_skeleton_handle_set_property (
769s # GDBusConnection *connection G_GNUC_UNUSED,
769s # const gchar *sender G_GNUC_UNUSED,
769s # const gchar *object_path G_GNUC_UNUSED,
769s # const gchar *interface_name G_GNUC_UNUSED,
769s # const gchar *property_name,
769s # GVariant *variant,
769s # GError **error,
769s # gpointer user_data)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (user_data);
769s # GValue value = G_VALUE_INIT;
769s # GParamSpec *pspec;
769s # _ExtendedGDBusPropertyInfo *info;
769s # gboolean ret;
769s # ret = FALSE;
769s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_signaling_iface_interface_info.parent_struct, property_name);
769s # g_assert (info != NULL);
769s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
769s # if (pspec == NULL)
769s # {
769s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
769s # }
769s # else
769s # {
769s # if (info->use_gvariant)
769s # g_value_set_variant (&value, variant);
769s # else
769s # g_dbus_gvariant_to_gvalue (variant, &value);
769s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
769s # g_value_unset (&value);
769s # ret = TRUE;
769s # }
769s # return ret;
769s # }
769s #
769s # static const GDBusInterfaceVTable _org_project_signaling_iface_skeleton_vtable =
769s # {
769s # _org_project_signaling_iface_skeleton_handle_method_call,
769s # _org_project_signaling_iface_skeleton_handle_get_property,
769s # _org_project_signaling_iface_skeleton_handle_set_property,
769s # {NULL}
769s # };
769s #
769s # static GDBusInterfaceInfo *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return org_project_signaling_iface_interface_info ();
769s # }
769s #
769s # static GDBusInterfaceVTable *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
769s # {
769s # return (GDBusInterfaceVTable *) &_org_project_signaling_iface_skeleton_vtable;
769s # }
769s #
769s # static GVariant *
769s # org_project_signaling_iface_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (_skeleton);
769s #
769s # GVariantBuilder builder;
769s # guint n;
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
769s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #else
769s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
769s # #endif
769s # if (_org_project_signaling_iface_interface_info.parent_struct.properties == NULL)
769s # goto out;
769s # for (n = 0; _org_project_signaling_iface_interface_info.parent_struct.properties[n] != NULL; n++)
769s # {
769s # GDBusPropertyInfo *info = _org_project_signaling_iface_interface_info.parent_struct.properties[n];
769s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
769s # {
769s # GVariant *value;
769s # 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);
769s # if (value != NULL)
769s # {
769s # g_variant_take_ref (value);
769s # g_variant_builder_add (&builder, "{sv}", info->name, value);
769s # g_variant_unref (value);
769s # }
769s # }
769s # }
769s # out:
769s # return g_variant_builder_end (&builder);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
769s # {
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_simple_signal (
769s # OrgProjectSignalingIface *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SimpleSignal",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void
769s # _org_project_signaling_iface_on_signal_signal_with_many_args (
769s # OrgProjectSignalingIface *object,
769s # gboolean arg_an_b,
769s # guchar arg_an_y,
769s # gint16 arg_an_n,
769s # guint16 arg_an_q,
769s # gint arg_an_i,
769s # guint arg_an_u,
769s # gint64 arg_an_x,
769s # guint64 arg_an_t,
769s # gdouble arg_an_d,
769s # const gchar *arg_an_s,
769s # const gchar *arg_an_o,
769s # const gchar *arg_an_g,
769s # GVariant *arg_an_h,
769s # const gchar *arg_an_ay,
769s # const gchar *const *arg_an_as,
769s # const gchar *const *arg_an_ao,
769s # const gchar *const *arg_an_aay,
769s # GVariant *arg_an_asv)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s #
769s # GList *connections, *l;
769s # GVariant *signal_variant;
769s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
769s #
769s # signal_variant = g_variant_ref_sink (g_variant_new ("(bynqiuxtdsog@h^ay^as^ao^aay@a{sv})",
769s # arg_an_b,
769s # arg_an_y,
769s # arg_an_n,
769s # arg_an_q,
769s # arg_an_i,
769s # arg_an_u,
769s # arg_an_x,
769s # arg_an_t,
769s # arg_an_d,
769s # arg_an_s,
769s # arg_an_o,
769s # arg_an_g,
769s # arg_an_h,
769s # arg_an_ay,
769s # arg_an_as,
769s # arg_an_ao,
769s # arg_an_aay,
769s # arg_an_asv));
769s # for (l = connections; l != NULL; l = l->next)
769s # {
769s # GDBusConnection *connection = l->data;
769s # g_dbus_connection_emit_signal (connection,
769s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "org.project.SignalingIface", "SignalWithManyArgs",
769s # signal_variant, NULL);
769s # }
769s # g_variant_unref (signal_variant);
769s # g_list_free_full (connections, g_object_unref);
769s # }
769s #
769s # static void org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface);
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_ADD_PRIVATE (OrgProjectSignalingIfaceSkeleton)
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #else
769s # G_DEFINE_TYPE_WITH_CODE (OrgProjectSignalingIfaceSkeleton, org_project_signaling_iface_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
769s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_SIGNALING_IFACE, org_project_signaling_iface_skeleton_iface_init))
769s #
769s # #endif
769s # static void
769s # org_project_signaling_iface_skeleton_finalize (GObject *object)
769s # {
769s # OrgProjectSignalingIfaceSkeleton *skeleton = ORG_PROJECT_SIGNALING_IFACE_SKELETON (object);
769s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
769s # if (skeleton->priv->changed_properties_idle_source != NULL)
769s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
769s # g_main_context_unref (skeleton->priv->context);
769s # g_mutex_clear (&skeleton->priv->lock);
769s # G_OBJECT_CLASS (org_project_signaling_iface_skeleton_parent_class)->finalize (object);
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_init (OrgProjectSignalingIfaceSkeleton *skeleton)
769s # {
769s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
769s # skeleton->priv = org_project_signaling_iface_skeleton_get_instance_private (skeleton);
769s # #else
769s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, OrgProjectSignalingIfaceSkeletonPrivate);
769s # #endif
769s #
769s # g_mutex_init (&skeleton->priv->lock);
769s # skeleton->priv->context = g_main_context_ref_thread_default ();
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_class_init (OrgProjectSignalingIfaceSkeletonClass *klass)
769s # {
769s # GObjectClass *gobject_class;
769s # GDBusInterfaceSkeletonClass *skeleton_class;
769s #
769s # gobject_class = G_OBJECT_CLASS (klass);
769s # gobject_class->finalize = org_project_signaling_iface_skeleton_finalize;
769s #
769s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
769s # skeleton_class->get_info = org_project_signaling_iface_skeleton_dbus_interface_get_info;
769s # skeleton_class->get_properties = org_project_signaling_iface_skeleton_dbus_interface_get_properties;
769s # skeleton_class->flush = org_project_signaling_iface_skeleton_dbus_interface_flush;
769s # skeleton_class->get_vtable = org_project_signaling_iface_skeleton_dbus_interface_get_vtable;
769s #
769s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
769s # g_type_class_add_private (klass, sizeof (OrgProjectSignalingIfaceSkeletonPrivate));
769s # #endif
769s # }
769s #
769s # static void
769s # org_project_signaling_iface_skeleton_iface_init (OrgProjectSignalingIfaceIface *iface)
769s # {
769s # iface->simple_signal = _org_project_signaling_iface_on_signal_simple_signal;
769s # iface->signal_with_many_args = _org_project_signaling_iface_on_signal_signal_with_many_args;
769s # }
769s #
769s # /**
769s # * org_project_signaling_iface_skeleton_new:
769s # *
769s # * Creates a skeleton object for the D-Bus interface org.project.SignalingIface.
769s # *
769s # * Returns: (transfer full) (type OrgProjectSignalingIfaceSkeleton): The skeleton object.
769s # */
769s # OrgProjectSignalingIface *
769s # org_project_signaling_iface_skeleton_new (void)
769s # {
769s # return ORG_PROJECT_SIGNALING_IFACE (g_object_new (TYPE_ORG_PROJECT_SIGNALING_IFACE_SKELETON, NULL));
769s # }
769s # Error:
769s ok 25 __main__.TestCodegen.test_generate_valid_docbook
769s # gdbus-codegen: /usr/bin/gdbus-codegen
769s # tmpdir: /tmp/tmpwegh_0ok
769s # /tmp/tmpwegh_0ok/tmp8k9l2o6i.xml:
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s #
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpwegh_0ok/tmp8k9l2o6i.xml', '--generate-docbook', 'test']
769s # Return code: 0
769s # Output:
769s #
769s # Error:
769s ok 26 __main__.TestCodegen.test_glib_max_allowed_less_than_min_required
769s # gdbus-codegen: /usr/bin/gdbus-codegen
769s # tmpdir: /tmp/tmpxivjorn0
769s # /tmp/tmpxivjorn0/tmpda6tws9h.xml:
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxivjorn0/tmpda6tws9h.xml', '--output', '-', '--body', '--glib-max-allowed', '2.62', '--glib-min-required', '2.64']
769s # Return code: 1
769s # Output:
769s #
769s # Error:
769s # ERROR: Invalid versions: --glib-min-required ((2, 64)) must be less than or equal to --glib-max-allowed ((2, 62))
769s ok 27 __main__.TestCodegen.test_glib_max_allowed_major_only
769s # gdbus-codegen: /usr/bin/gdbus-codegen
769s # tmpdir: /tmp/tmpixm2m_i9
769s # /tmp/tmpixm2m_i9/tmp9rdakjit.xml:
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpixm2m_i9/tmp9rdakjit.xml', '--output', '-', '--header', '--glib-max-allowed', '3']
769s # Return code: 0
769s # Output:
769s # /*
769s # * This file is generated by gdbus-codegen, do not modify it.
769s # *
769s # * The license of this code is the same as for the D-Bus interface description
769s # * it was derived from. Note that it links to GLib, so must comply with the
769s # * LGPL linking clauses.
769s # */
769s #
769s # #ifndef __STDOUT__
769s # #define __STDOUT__
769s #
769s # #include
769s #
769s # G_BEGIN_DECLS
769s #
769s #
769s # G_END_DECLS
769s #
769s # #endif /* __STDOUT__ */
769s # Error:
769s ok 28 __main__.TestCodegen.test_glib_max_allowed_too_low
769s # gdbus-codegen: /usr/bin/gdbus-codegen
769s # tmpdir: /tmp/tmpghy1mjt7
769s # /tmp/tmpghy1mjt7/tmpajl0a384.xml:
769s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpghy1mjt7/tmpajl0a384.xml', '--output', '-', '--body', '--glib-max-allowed', '2.6']
769s # Return code: 1
769s # Output:
769s #
769s # Error:
769s # ERROR: Invalid versions: --glib-min-required ((2, 30)) must be less than or equal to --glib-max-allowed ((2, 6))
770s ok 29 __main__.TestCodegen.test_glib_max_allowed_unstable
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpuy5nz8fi
770s # /tmp/tmpuy5nz8fi/tmp57iminxy.xml:
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpuy5nz8fi/tmp57iminxy.xml', '--output', '-', '--header', '--glib-max-allowed', '2.63', '--glib-min-required', '2.64']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s ok 30 __main__.TestCodegen.test_glib_max_allowed_with_micro
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpn0e7z_rz
770s # /tmp/tmpn0e7z_rz/tmpsa0ouiyt.xml:
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpn0e7z_rz/tmpsa0ouiyt.xml', '--output', '-', '--header', '--glib-max-allowed', '2.46.2']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s ok 31 __main__.TestCodegen.test_glib_min_required_invalid
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmp1wlhbyxb
770s # /tmp/tmp1wlhbyxb/tmpxvp336rh.xml:
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp1wlhbyxb/tmpxvp336rh.xml', '--output', '-', '--body', '--glib-min-required', 'hello mum']
770s # Return code: 1
770s # Output:
770s #
770s # Error:
770s # ERROR: Unrecognized --glib-min-required string ‘hello mum’
770s ok 32 __main__.TestCodegen.test_glib_min_required_major_only
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmp_8_7m7y4
770s # /tmp/tmp_8_7m7y4/tmp7dtn_i8p.xml:
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmp_8_7m7y4/tmp7dtn_i8p.xml', '--output', '-', '--header', '--glib-min-required', '3', '--glib-max-allowed', '3.2']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s ok 33 __main__.TestCodegen.test_glib_min_required_too_low
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpcgnyfu7q
770s # /tmp/tmpcgnyfu7q/tmpq6ctt7f_.xml:
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpcgnyfu7q/tmpq6ctt7f_.xml', '--output', '-', '--body', '--glib-min-required', '2.6']
770s # Return code: 1
770s # Output:
770s #
770s # Error:
770s # ERROR: Invalid --glib-min-required string ‘2.6’: minimum version is 2.30
770s ok 34 __main__.TestCodegen.test_glib_min_required_with_micro
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpxq4leqdp
770s # /tmp/tmpxq4leqdp/tmp0dv127y3.xml:
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpxq4leqdp/tmp0dv127y3.xml', '--output', '-', '--header', '--glib-min-required', '2.46.2']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s ok 35 __main__.TestCodegen.test_help
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmp2w8qdh43
770s # Running: ['/usr/bin/gdbus-codegen', '--help']
770s # Return code: 0
770s # Output:
770s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
770s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
770s # [--c-generate-autocleanup {none,objects,all}]
770s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
770s # [--generate-rst OUTFILES] [--pragma-once]
770s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
770s # [--glib-min-required VERSION]
770s # [--glib-max-allowed VERSION]
770s # [--symbol-decorator SYMBOL_DECORATOR]
770s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
770s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
770s # [--generate-c-code OUTFILES | --header | --body |
770s # --interface-info-header | --interface-info-body]
770s # [--output FILE | --output-directory OUTDIR]
770s # FILE [FILE ...]
770s #
770s # D-Bus code and documentation generator
770s #
770s # positional arguments:
770s # FILE D-Bus introspection XML file
770s #
770s # options:
770s # -h, --help show this help message and exit
770s # --interface-prefix PREFIX
770s # String to strip from D-Bus interface names for code
770s # and docs
770s # --c-namespace NAMESPACE
770s # The namespace to use for generated C code
770s # --c-generate-object-manager
770s # Generate a GDBusObjectManagerClient subclass when
770s # generating C code
770s # --c-generate-autocleanup {none,objects,all}
770s # Generate autocleanup support
770s # --generate-docbook OUTFILES
770s # Generate Docbook in OUTFILES-org.Project.IFace.xml
770s # --generate-md OUTFILES
770s # Generate Markdown in OUTFILES-org.Project.IFace.md
770s # --generate-rst OUTFILES
770s # Generate reStructuredText in OUTFILES-
770s # org.Project.IFace.rst
770s # --pragma-once Use "pragma once" as the inclusion guard
770s # --annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE
770s # Add annotation (may be used several times)
770s # --glib-min-required VERSION
770s # Minimum version of GLib to be supported by the
770s # outputted code (default: 2.30)
770s # --glib-max-allowed VERSION
770s # Maximum version of GLib to be used by the outputted
770s # code (default: current GLib version)
770s # --symbol-decorator SYMBOL_DECORATOR
770s # Macro used to decorate a symbol in the outputted
770s # header, possibly to export symbols
770s # --symbol-decorator-header SYMBOL_DECORATOR_HEADER
770s # Additional header required for decorator specified by
770s # --symbol-decorator
770s # --symbol-decorator-define SYMBOL_DECORATOR_DEFINE
770s # Additional define required for decorator specified by
770s # --symbol-decorator
770s # --generate-c-code OUTFILES
770s # Generate C code in OUTFILES.[ch]
770s # --header Generate C headers
770s # --body Generate C code
770s # --interface-info-header
770s # Generate GDBusInterfaceInfo C header
770s # --interface-info-body
770s # Generate GDBusInterfaceInfo C code
770s # --output FILE Write output into the specified file
770s # --output-directory OUTDIR
770s # Location to output generated files
770s # Error:
770s ok 36 __main__.TestCodegen.test_indentation_preservation_in_comments
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpapmzxmag
770s # /tmp/tmpapmzxmag/tmpujyc63a4.xml:
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpapmzxmag/tmpujyc63a4.xml', '--generate-rst', 'test']
770s # Return code: 0
770s # Output:
770s #
770s # Error:
770s #
770s # /tmp/tmpapmzxmag/tmpj7645o_4.xml:
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpapmzxmag/tmpj7645o_4.xml', '--generate-md', 'test']
770s # Return code: 0
770s # Output:
770s #
770s # Error:
770s #
770s # /tmp/tmpapmzxmag/tmpzitwy3i1.xml:
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpapmzxmag/tmpzitwy3i1.xml', '--generate-docbook', 'test']
770s # Return code: 0
770s # Output:
770s #
770s # Error:
770s ok 37 __main__.TestCodegen.test_no_args
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpybqw31b6
770s # Running: ['/usr/bin/gdbus-codegen']
770s # Return code: 2
770s # Output:
770s #
770s # Error:
770s # usage: gdbus-codegen [-h] [--interface-prefix PREFIX]
770s # [--c-namespace NAMESPACE] [--c-generate-object-manager]
770s # [--c-generate-autocleanup {none,objects,all}]
770s # [--generate-docbook OUTFILES] [--generate-md OUTFILES]
770s # [--generate-rst OUTFILES] [--pragma-once]
770s # [--annotate WHAT KEY VALUE WHAT KEY VALUE WHAT KEY VALUE]
770s # [--glib-min-required VERSION]
770s # [--glib-max-allowed VERSION]
770s # [--symbol-decorator SYMBOL_DECORATOR]
770s # [--symbol-decorator-header SYMBOL_DECORATOR_HEADER]
770s # [--symbol-decorator-define SYMBOL_DECORATOR_DEFINE]
770s # [--generate-c-code OUTFILES | --header | --body |
770s # --interface-info-header | --interface-info-body]
770s # [--output FILE | --output-directory OUTDIR]
770s # FILE [FILE ...]
770s # gdbus-codegen: error: the following arguments are required: FILE
770s ok 38 __main__.TestCodegen.test_reproducible
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpt_wpdjvd
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_wpdjvd/tmpqgls4p8s1.xml', '/tmp/tmpt_wpdjvd/tmpmvkrxj862.xml', '--output', '-', '--header']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s # /* Declarations for org.project.Bar.Frobnicator */
770s #
770s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
770s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
770s #
770s # struct _OrgProjectBarFrobnicator;
770s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
770s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
770s #
770s # struct _OrgProjectBarFrobnicatorIface
770s # {
770s # GTypeInterface parent_iface;
770s #
770s # gboolean (*handle_random_method) (
770s # OrgProjectBarFrobnicator *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # };
770s #
770s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
770s #
770s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
770s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
770s #
770s #
770s # /* D-Bus method call completion functions: */
770s # void org_project_bar_frobnicator_complete_random_method (
770s # OrgProjectBarFrobnicator *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s #
770s #
770s # /* D-Bus method calls: */
770s # void org_project_bar_frobnicator_call_random_method (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean org_project_bar_frobnicator_call_random_method_finish (
770s # OrgProjectBarFrobnicator *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean org_project_bar_frobnicator_call_random_method_sync (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
770s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
770s #
770s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
770s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
770s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
770s #
770s # struct _OrgProjectBarFrobnicatorProxy
770s # {
770s # /*< private >*/
770s # GDBusProxy parent_instance;
770s # OrgProjectBarFrobnicatorProxyPrivate *priv;
770s # };
770s #
770s # struct _OrgProjectBarFrobnicatorProxyClass
770s # {
770s # GDBusProxyClass parent_class;
770s # };
770s #
770s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
770s # #endif
770s #
770s # void org_project_bar_frobnicator_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void org_project_bar_frobnicator_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
770s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
770s #
770s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
770s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
770s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
770s #
770s # struct _OrgProjectBarFrobnicatorSkeleton
770s # {
770s # /*< private >*/
770s # GDBusInterfaceSkeleton parent_instance;
770s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
770s # };
770s #
770s # struct _OrgProjectBarFrobnicatorSkeletonClass
770s # {
770s # GDBusInterfaceSkeletonClass parent_class;
770s # };
770s #
770s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
770s # #endif
770s #
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s # /* Declarations for com.acme.Coyote */
770s #
770s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
770s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
770s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
770s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
770s #
770s # struct _ComAcmeCoyote;
770s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
770s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
770s #
770s # struct _ComAcmeCoyoteIface
770s # {
770s # GTypeInterface parent_iface;
770s #
770s #
770s #
770s # gboolean (*handle_attack) (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # gboolean (*handle_run) (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # gboolean (*handle_sleep) (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # const gchar * (*get_mood) (ComAcmeCoyote *object);
770s #
770s # void (*surprised) (
770s # ComAcmeCoyote *object);
770s #
770s # };
770s #
770s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
770s #
770s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
770s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
770s #
770s #
770s # /* D-Bus method call completion functions: */
770s # void com_acme_coyote_complete_run (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # void com_acme_coyote_complete_sleep (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # void com_acme_coyote_complete_attack (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s #
770s #
770s # /* D-Bus signal emissions functions: */
770s # void com_acme_coyote_emit_surprised (
770s # ComAcmeCoyote *object);
770s #
770s #
770s #
770s # /* D-Bus method calls: */
770s # void com_acme_coyote_call_run (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean com_acme_coyote_call_run_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean com_acme_coyote_call_run_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void com_acme_coyote_call_sleep (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean com_acme_coyote_call_sleep_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean com_acme_coyote_call_sleep_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void com_acme_coyote_call_attack (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean com_acme_coyote_call_attack_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean com_acme_coyote_call_attack_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s #
770s # /* D-Bus property accessors: */
770s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
770s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
770s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
770s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
770s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
770s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
770s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
770s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
770s #
770s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
770s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
770s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
770s #
770s # struct _ComAcmeCoyoteProxy
770s # {
770s # /*< private >*/
770s # GDBusProxy parent_instance;
770s # ComAcmeCoyoteProxyPrivate *priv;
770s # };
770s #
770s # struct _ComAcmeCoyoteProxyClass
770s # {
770s # GDBusProxyClass parent_class;
770s # };
770s #
770s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
770s # #endif
770s #
770s # void com_acme_coyote_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void com_acme_coyote_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
770s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
770s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
770s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
770s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
770s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
770s #
770s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
770s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
770s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
770s #
770s # struct _ComAcmeCoyoteSkeleton
770s # {
770s # /*< private >*/
770s # GDBusInterfaceSkeleton parent_instance;
770s # ComAcmeCoyoteSkeletonPrivate *priv;
770s # };
770s #
770s # struct _ComAcmeCoyoteSkeletonClass
770s # {
770s # GDBusInterfaceSkeletonClass parent_class;
770s # };
770s #
770s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
770s # #endif
770s #
770s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_wpdjvd/tmpmvkrxj862.xml', '/tmp/tmpt_wpdjvd/tmpqgls4p8s1.xml', '--output', '-', '--header']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s # /* Declarations for org.project.Bar.Frobnicator */
770s #
770s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR (org_project_bar_frobnicator_get_type ())
770s # #define ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicator))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR, OrgProjectBarFrobnicatorIface))
770s #
770s # struct _OrgProjectBarFrobnicator;
770s # typedef struct _OrgProjectBarFrobnicator OrgProjectBarFrobnicator;
770s # typedef struct _OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorIface;
770s #
770s # struct _OrgProjectBarFrobnicatorIface
770s # {
770s # GTypeInterface parent_iface;
770s #
770s # gboolean (*handle_random_method) (
770s # OrgProjectBarFrobnicator *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # };
770s #
770s # GType org_project_bar_frobnicator_get_type (void) G_GNUC_CONST;
770s #
770s # GDBusInterfaceInfo *org_project_bar_frobnicator_interface_info (void);
770s # guint org_project_bar_frobnicator_override_properties (GObjectClass *klass, guint property_id_begin);
770s #
770s #
770s # /* D-Bus method call completion functions: */
770s # void org_project_bar_frobnicator_complete_random_method (
770s # OrgProjectBarFrobnicator *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s #
770s #
770s # /* D-Bus method calls: */
770s # void org_project_bar_frobnicator_call_random_method (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean org_project_bar_frobnicator_call_random_method_finish (
770s # OrgProjectBarFrobnicator *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean org_project_bar_frobnicator_call_random_method_sync (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY (org_project_bar_frobnicator_proxy_get_type ())
770s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxy))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyClass))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY))
770s #
770s # typedef struct _OrgProjectBarFrobnicatorProxy OrgProjectBarFrobnicatorProxy;
770s # typedef struct _OrgProjectBarFrobnicatorProxyClass OrgProjectBarFrobnicatorProxyClass;
770s # typedef struct _OrgProjectBarFrobnicatorProxyPrivate OrgProjectBarFrobnicatorProxyPrivate;
770s #
770s # struct _OrgProjectBarFrobnicatorProxy
770s # {
770s # /*< private >*/
770s # GDBusProxy parent_instance;
770s # OrgProjectBarFrobnicatorProxyPrivate *priv;
770s # };
770s #
770s # struct _OrgProjectBarFrobnicatorProxyClass
770s # {
770s # GDBusProxyClass parent_class;
770s # };
770s #
770s # GType org_project_bar_frobnicator_proxy_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorProxy, g_object_unref)
770s # #endif
770s #
770s # void org_project_bar_frobnicator_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void org_project_bar_frobnicator_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON (org_project_bar_frobnicator_skeleton_get_type ())
770s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeleton))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
770s # #define ORG_PROJECT_BAR_FROBNICATOR_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonClass))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
770s # #define IS_ORG_PROJECT_BAR_FROBNICATOR_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON))
770s #
770s # typedef struct _OrgProjectBarFrobnicatorSkeleton OrgProjectBarFrobnicatorSkeleton;
770s # typedef struct _OrgProjectBarFrobnicatorSkeletonClass OrgProjectBarFrobnicatorSkeletonClass;
770s # typedef struct _OrgProjectBarFrobnicatorSkeletonPrivate OrgProjectBarFrobnicatorSkeletonPrivate;
770s #
770s # struct _OrgProjectBarFrobnicatorSkeleton
770s # {
770s # /*< private >*/
770s # GDBusInterfaceSkeleton parent_instance;
770s # OrgProjectBarFrobnicatorSkeletonPrivate *priv;
770s # };
770s #
770s # struct _OrgProjectBarFrobnicatorSkeletonClass
770s # {
770s # GDBusInterfaceSkeletonClass parent_class;
770s # };
770s #
770s # GType org_project_bar_frobnicator_skeleton_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (OrgProjectBarFrobnicatorSkeleton, g_object_unref)
770s # #endif
770s #
770s # OrgProjectBarFrobnicator *org_project_bar_frobnicator_skeleton_new (void);
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s # /* Declarations for com.acme.Coyote */
770s #
770s # #define TYPE_COM_ACME_COYOTE (com_acme_coyote_get_type ())
770s # #define COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyote))
770s # #define IS_COM_ACME_COYOTE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE))
770s # #define COM_ACME_COYOTE_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_COM_ACME_COYOTE, ComAcmeCoyoteIface))
770s #
770s # struct _ComAcmeCoyote;
770s # typedef struct _ComAcmeCoyote ComAcmeCoyote;
770s # typedef struct _ComAcmeCoyoteIface ComAcmeCoyoteIface;
770s #
770s # struct _ComAcmeCoyoteIface
770s # {
770s # GTypeInterface parent_iface;
770s #
770s #
770s #
770s # gboolean (*handle_attack) (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # gboolean (*handle_run) (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # gboolean (*handle_sleep) (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # const gchar * (*get_mood) (ComAcmeCoyote *object);
770s #
770s # void (*surprised) (
770s # ComAcmeCoyote *object);
770s #
770s # };
770s #
770s # GType com_acme_coyote_get_type (void) G_GNUC_CONST;
770s #
770s # GDBusInterfaceInfo *com_acme_coyote_interface_info (void);
770s # guint com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin);
770s #
770s #
770s # /* D-Bus method call completion functions: */
770s # void com_acme_coyote_complete_run (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # void com_acme_coyote_complete_sleep (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s # void com_acme_coyote_complete_attack (
770s # ComAcmeCoyote *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s #
770s #
770s # /* D-Bus signal emissions functions: */
770s # void com_acme_coyote_emit_surprised (
770s # ComAcmeCoyote *object);
770s #
770s #
770s #
770s # /* D-Bus method calls: */
770s # void com_acme_coyote_call_run (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean com_acme_coyote_call_run_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean com_acme_coyote_call_run_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void com_acme_coyote_call_sleep (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean com_acme_coyote_call_sleep_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean com_acme_coyote_call_sleep_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void com_acme_coyote_call_attack (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean com_acme_coyote_call_attack_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean com_acme_coyote_call_attack_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s #
770s # /* D-Bus property accessors: */
770s # const gchar *com_acme_coyote_get_mood (ComAcmeCoyote *object);
770s # gchar *com_acme_coyote_dup_mood (ComAcmeCoyote *object);
770s # void com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_COM_ACME_COYOTE_PROXY (com_acme_coyote_proxy_get_type ())
770s # #define COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxy))
770s # #define COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
770s # #define COM_ACME_COYOTE_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyClass))
770s # #define IS_COM_ACME_COYOTE_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_PROXY))
770s # #define IS_COM_ACME_COYOTE_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_PROXY))
770s #
770s # typedef struct _ComAcmeCoyoteProxy ComAcmeCoyoteProxy;
770s # typedef struct _ComAcmeCoyoteProxyClass ComAcmeCoyoteProxyClass;
770s # typedef struct _ComAcmeCoyoteProxyPrivate ComAcmeCoyoteProxyPrivate;
770s #
770s # struct _ComAcmeCoyoteProxy
770s # {
770s # /*< private >*/
770s # GDBusProxy parent_instance;
770s # ComAcmeCoyoteProxyPrivate *priv;
770s # };
770s #
770s # struct _ComAcmeCoyoteProxyClass
770s # {
770s # GDBusProxyClass parent_class;
770s # };
770s #
770s # GType com_acme_coyote_proxy_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteProxy, g_object_unref)
770s # #endif
770s #
770s # void com_acme_coyote_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void com_acme_coyote_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # ComAcmeCoyote *com_acme_coyote_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_COM_ACME_COYOTE_SKELETON (com_acme_coyote_skeleton_get_type ())
770s # #define COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeleton))
770s # #define COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
770s # #define COM_ACME_COYOTE_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonClass))
770s # #define IS_COM_ACME_COYOTE_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_COM_ACME_COYOTE_SKELETON))
770s # #define IS_COM_ACME_COYOTE_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_COM_ACME_COYOTE_SKELETON))
770s #
770s # typedef struct _ComAcmeCoyoteSkeleton ComAcmeCoyoteSkeleton;
770s # typedef struct _ComAcmeCoyoteSkeletonClass ComAcmeCoyoteSkeletonClass;
770s # typedef struct _ComAcmeCoyoteSkeletonPrivate ComAcmeCoyoteSkeletonPrivate;
770s #
770s # struct _ComAcmeCoyoteSkeleton
770s # {
770s # /*< private >*/
770s # GDBusInterfaceSkeleton parent_instance;
770s # ComAcmeCoyoteSkeletonPrivate *priv;
770s # };
770s #
770s # struct _ComAcmeCoyoteSkeletonClass
770s # {
770s # GDBusInterfaceSkeletonClass parent_class;
770s # };
770s #
770s # GType com_acme_coyote_skeleton_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (ComAcmeCoyoteSkeleton, g_object_unref)
770s # #endif
770s #
770s # ComAcmeCoyote *com_acme_coyote_skeleton_new (void);
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_wpdjvd/tmpqgls4p8s1.xml', '/tmp/tmpt_wpdjvd/tmpmvkrxj862.xml', '--output', '-', '--body']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifdef HAVE_CONFIG_H
770s # # include "config.h"
770s # #endif
770s #
770s # #include
770s # #ifdef G_OS_UNIX
770s # # include
770s # #endif
770s #
770s # #ifdef G_ENABLE_DEBUG
770s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
770s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
770s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
770s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
770s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
770s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
770s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
770s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
770s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
770s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
770s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
770s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
770s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
770s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
770s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
770s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
770s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
770s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
770s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
770s # #else /* !G_ENABLE_DEBUG */
770s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
770s # * Do not access GValues directly in your code. Instead, use the
770s # * g_value_get_*() functions
770s # */
770s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
770s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
770s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
770s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
770s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
770s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
770s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
770s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
770s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
770s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
770s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
770s # #endif /* !G_ENABLE_DEBUG */
770s #
770s # typedef struct
770s # {
770s # GDBusArgInfo parent_struct;
770s # gboolean use_gvariant;
770s # } _ExtendedGDBusArgInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusMethodInfo parent_struct;
770s # const gchar *signal_name;
770s # gboolean pass_fdlist;
770s # } _ExtendedGDBusMethodInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusSignalInfo parent_struct;
770s # const gchar *signal_name;
770s # } _ExtendedGDBusSignalInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusPropertyInfo parent_struct;
770s # const gchar *hyphen_name;
770s # guint use_gvariant : 1;
770s # guint emits_changed_signal : 1;
770s # } _ExtendedGDBusPropertyInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusInterfaceInfo parent_struct;
770s # const gchar *hyphen_name;
770s # } _ExtendedGDBusInterfaceInfo;
770s #
770s # typedef struct
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # guint prop_id;
770s # GValue orig_value; /* the value before the change */
770s # } ChangedProperty;
770s #
770s # static void
770s # _changed_property_free (ChangedProperty *data)
770s # {
770s # g_value_unset (&data->orig_value);
770s # g_free (data);
770s # }
770s #
770s # static gboolean
770s # _g_strv_equal0 (gchar **a, gchar **b)
770s # {
770s # gboolean ret = FALSE;
770s # guint n;
770s # if (a == NULL && b == NULL)
770s # {
770s # ret = TRUE;
770s # goto out;
770s # }
770s # if (a == NULL || b == NULL)
770s # goto out;
770s # if (g_strv_length (a) != g_strv_length (b))
770s # goto out;
770s # for (n = 0; a[n] != NULL; n++)
770s # if (g_strcmp0 (a[n], b[n]) != 0)
770s # goto out;
770s # ret = TRUE;
770s # out:
770s # return ret;
770s # }
770s #
770s # static gboolean
770s # _g_variant_equal0 (GVariant *a, GVariant *b)
770s # {
770s # gboolean ret = FALSE;
770s # if (a == NULL && b == NULL)
770s # {
770s # ret = TRUE;
770s # goto out;
770s # }
770s # if (a == NULL || b == NULL)
770s # goto out;
770s # ret = g_variant_equal (a, b);
770s # out:
770s # return ret;
770s # }
770s #
770s # G_GNUC_UNUSED static gboolean
770s # _g_value_equal (const GValue *a, const GValue *b)
770s # {
770s # gboolean ret = FALSE;
770s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
770s # switch (G_VALUE_TYPE (a))
770s # {
770s # case G_TYPE_BOOLEAN:
770s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
770s # break;
770s # case G_TYPE_UCHAR:
770s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
770s # break;
770s # case G_TYPE_INT:
770s # ret = (g_value_get_int (a) == g_value_get_int (b));
770s # break;
770s # case G_TYPE_UINT:
770s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
770s # break;
770s # case G_TYPE_INT64:
770s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
770s # break;
770s # case G_TYPE_UINT64:
770s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
770s # break;
770s # case G_TYPE_DOUBLE:
770s # {
770s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
770s # gdouble da = g_value_get_double (a);
770s # gdouble db = g_value_get_double (b);
770s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
770s # }
770s # break;
770s # case G_TYPE_STRING:
770s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
770s # break;
770s # case G_TYPE_VARIANT:
770s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
770s # break;
770s # default:
770s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
770s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
770s # else
770s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
770s # break;
770s # }
770s # return ret;
770s # }
770s #
770s # static void
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint G_GNUC_UNUSED,
770s # void *marshal_data)
770s # {
770s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
770s # (void *data1,
770s # GDBusMethodInvocation *arg_method_invocation,
770s # void *data2);
770s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
770s # GCClosure *cc = (GCClosure*) closure;
770s # void *data1, *data2;
770s # gboolean v_return;
770s #
770s # g_return_if_fail (return_value != NULL);
770s # g_return_if_fail (n_param_values == 2);
770s #
770s # if (G_CCLOSURE_SWAP_DATA (closure))
770s # {
770s # data1 = closure->data;
770s # data2 = g_value_peek_pointer (param_values + 0);
770s # }
770s # else
770s # {
770s # data1 = g_value_peek_pointer (param_values + 0);
770s # data2 = closure->data;
770s # }
770s #
770s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
770s # (marshal_data ? marshal_data : cc->callback);
770s #
770s # v_return =
770s # callback (data1,
770s # g_marshal_value_peek_object (param_values + 1),
770s # data2);
770s #
770s # g_value_set_boolean (return_value, v_return);
770s # }
770s #
770s # /* ------------------------------------------------------------------------
770s # * Code for interface org.project.Bar.Frobnicator
770s # * ------------------------------------------------------------------------
770s # */
770s #
770s # /**
770s # * SECTION:OrgProjectBarFrobnicator
770s # * @title: OrgProjectBarFrobnicator
770s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
770s # *
770s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
770s # */
770s #
770s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
770s #
770s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
770s # {
770s # {
770s # -1,
770s # (gchar *) "RandomMethod",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-random-method",
770s # FALSE
770s # };
770s #
770s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
770s # {
770s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
770s # {
770s # {
770s # -1,
770s # (gchar *) "org.project.Bar.Frobnicator",
770s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "org-project-bar-frobnicator",
770s # };
770s #
770s #
770s # /**
770s # * org_project_bar_frobnicator_interface_info:
770s # *
770s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
770s # *
770s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
770s # */
770s # GDBusInterfaceInfo *
770s # org_project_bar_frobnicator_interface_info (void)
770s # {
770s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_override_properties:
770s # * @klass: The class structure for a #GObject derived class.
770s # * @property_id_begin: The property id to assign to the first overridden property.
770s # *
770s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
770s # * The properties are overridden in the order they are defined.
770s # *
770s # * Returns: The last property id.
770s # */
770s # guint
770s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
770s # {
770s # return property_id_begin - 1;
770s # }
770s #
770s #
770s # inline static void
770s # org_project_bar_frobnicator_method_marshal_random_method (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s #
770s # /**
770s # * OrgProjectBarFrobnicator:
770s # *
770s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
770s # */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorIface:
770s # * @parent_iface: The parent interface.
770s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
770s # *
770s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
770s # */
770s #
770s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
770s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
770s #
770s # static void
770s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
770s # {
770s # /* GObject signals for incoming D-Bus method calls: */
770s # /**
770s # * OrgProjectBarFrobnicator::handle-random-method:
770s # * @object: A #OrgProjectBarFrobnicator.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-random-method",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # org_project_bar_frobnicator_method_marshal_random_method,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_call_random_method:
770s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
770s # *
770s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # org_project_bar_frobnicator_call_random_method (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "RandomMethod",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_call_random_method_finish:
770s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # org_project_bar_frobnicator_call_random_method_finish (
770s # OrgProjectBarFrobnicator *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_call_random_method_sync:
770s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # org_project_bar_frobnicator_call_random_method_sync (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "RandomMethod",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_complete_random_method:
770s # * @object: A #OrgProjectBarFrobnicator.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # org_project_bar_frobnicator_complete_random_method (
770s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorProxy:
770s # *
770s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorProxyClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #OrgProjectBarFrobnicatorProxy.
770s # */
770s #
770s # struct _OrgProjectBarFrobnicatorProxyPrivate
770s # {
770s # GData *qdata;
770s # };
770s #
770s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
770s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
770s #
770s # #endif
770s # static void
770s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
770s # {
770s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
770s # g_datalist_clear (&proxy->priv->qdata);
770s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
770s # guint prop_id G_GNUC_UNUSED,
770s # GValue *value G_GNUC_UNUSED,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
770s # guint prop_id G_GNUC_UNUSED,
770s # const GValue *value G_GNUC_UNUSED,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
770s # const gchar *sender_name G_GNUC_UNUSED,
770s # const gchar *signal_name,
770s # GVariant *parameters)
770s # {
770s # _ExtendedGDBusSignalInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # gsize n;
770s # guint signal_id;
770s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
770s # if (info == NULL)
770s # return;
770s # num_params = g_variant_n_children (parameters);
770s # paramv = g_new0 (GValue, num_params + 1);
770s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_value_set_object (¶mv[0], proxy);
770s # g_variant_iter_init (&iter, parameters);
770s # n = 1;
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_signal_emitv (paramv, signal_id, 0, NULL);
770s # for (n = 0; n < num_params + 1; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
770s # GVariant *changed_properties,
770s # const gchar *const *invalidated_properties)
770s # {
770s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
770s # guint n;
770s # const gchar *key;
770s # GVariantIter *iter;
770s # _ExtendedGDBusPropertyInfo *info;
770s # g_variant_get (changed_properties, "a{sv}", &iter);
770s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
770s # g_datalist_remove_data (&proxy->priv->qdata, key);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # g_variant_iter_free (iter);
770s # for (n = 0; invalidated_properties[n] != NULL; n++)
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
770s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
770s # #else
770s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
770s # #endif
770s #
770s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusProxyClass *proxy_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
770s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
770s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
770s #
770s # proxy_class = G_DBUS_PROXY_CLASS (klass);
770s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
770s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # org_project_bar_frobnicator_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_sync:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_for_bus:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # org_project_bar_frobnicator_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorSkeleton:
770s # *
770s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorSkeletonClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
770s # */
770s #
770s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
770s # {
770s # GValue *properties;
770s # GList *changed_properties;
770s # GSource *changed_properties_idle_source;
770s # GMainContext *context;
770s # GMutex lock;
770s # };
770s #
770s # static void
770s # _org_project_bar_frobnicator_skeleton_handle_method_call (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name,
770s # const gchar *method_name,
770s # GVariant *parameters,
770s # GDBusMethodInvocation *invocation,
770s # gpointer user_data)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
770s # _ExtendedGDBusMethodInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # guint num_extra;
770s # gsize n;
770s # guint signal_id;
770s # GValue return_value = G_VALUE_INIT;
770s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
770s # g_assert (info != NULL);
770s # num_params = g_variant_n_children (parameters);
770s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
770s # n = 0;
770s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_value_set_object (¶mv[n++], skeleton);
770s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
770s # g_value_set_object (¶mv[n++], invocation);
770s # if (info->pass_fdlist)
770s # {
770s # #ifdef G_OS_UNIX
770s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
770s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
770s # #else
770s # g_assert_not_reached ();
770s # #endif
770s # }
770s # g_variant_iter_init (&iter, parameters);
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_value_init (&return_value, G_TYPE_BOOLEAN);
770s # g_signal_emitv (paramv, signal_id, 0, &return_value);
770s # if (!g_value_get_boolean (&return_value))
770s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
770s # g_value_unset (&return_value);
770s # for (n = 0; n < num_params + num_extra; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static GVariant *
770s # _org_project_bar_frobnicator_skeleton_handle_get_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # GVariant *ret;
770s # ret = NULL;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # g_value_init (&value, pspec->value_type);
770s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
770s # g_value_unset (&value);
770s # }
770s # return ret;
770s # }
770s #
770s # static gboolean
770s # _org_project_bar_frobnicator_skeleton_handle_set_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GVariant *variant,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # gboolean ret;
770s # ret = FALSE;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # if (info->use_gvariant)
770s # g_value_set_variant (&value, variant);
770s # else
770s # g_dbus_gvariant_to_gvalue (variant, &value);
770s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # g_value_unset (&value);
770s # ret = TRUE;
770s # }
770s # return ret;
770s # }
770s #
770s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
770s # {
770s # _org_project_bar_frobnicator_skeleton_handle_method_call,
770s # _org_project_bar_frobnicator_skeleton_handle_get_property,
770s # _org_project_bar_frobnicator_skeleton_handle_set_property,
770s # {NULL}
770s # };
770s #
770s # static GDBusInterfaceInfo *
770s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return org_project_bar_frobnicator_interface_info ();
770s # }
770s #
770s # static GDBusInterfaceVTable *
770s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
770s # }
770s #
770s # static GVariant *
770s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
770s #
770s # GVariantBuilder builder;
770s # guint n;
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
770s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #else
770s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #endif
770s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
770s # goto out;
770s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
770s # {
770s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
770s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
770s # {
770s # GVariant *value;
770s # 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);
770s # if (value != NULL)
770s # {
770s # g_variant_take_ref (value);
770s # g_variant_builder_add (&builder, "{sv}", info->name, value);
770s # g_variant_unref (value);
770s # }
770s # }
770s # }
770s # out:
770s # return g_variant_builder_end (&builder);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
770s #
770s # #endif
770s # static void
770s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
770s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
770s # if (skeleton->priv->changed_properties_idle_source != NULL)
770s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
770s # g_main_context_unref (skeleton->priv->context);
770s # g_mutex_clear (&skeleton->priv->lock);
770s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
770s # #else
770s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
770s # #endif
770s #
770s # g_mutex_init (&skeleton->priv->lock);
770s # skeleton->priv->context = g_main_context_ref_thread_default ();
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusInterfaceSkeletonClass *skeleton_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
770s #
770s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
770s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
770s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
770s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
770s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_skeleton_new:
770s # *
770s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_skeleton_new (void)
770s # {
770s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
770s # }
770s #
770s # /* ------------------------------------------------------------------------
770s # * Code for interface com.acme.Coyote
770s # * ------------------------------------------------------------------------
770s # */
770s #
770s # /**
770s # * SECTION:ComAcmeCoyote
770s # * @title: ComAcmeCoyote
770s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
770s # *
770s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
770s # */
770s #
770s # enum
770s # {
770s # _COM_ACME_COYOTE_SURPRISED,
770s # };
770s #
770s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
770s #
770s # /* ---- Introspection data for com.acme.Coyote ---- */
770s #
770s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Run",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-run",
770s # FALSE
770s # };
770s #
770s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Sleep",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-sleep",
770s # FALSE
770s # };
770s #
770s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Attack",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-attack",
770s # FALSE
770s # };
770s #
770s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
770s # {
770s # &_com_acme_coyote_method_info_run.parent_struct,
770s # &_com_acme_coyote_method_info_sleep.parent_struct,
770s # &_com_acme_coyote_method_info_attack.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Surprised",
770s # NULL,
770s # NULL
770s # },
770s # "surprised"
770s # };
770s #
770s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
770s # {
770s # &_com_acme_coyote_signal_info_surprised.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Mood",
770s # (gchar *) "s",
770s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
770s # NULL
770s # },
770s # "mood",
770s # FALSE,
770s # TRUE
770s # };
770s #
770s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
770s # {
770s # &_com_acme_coyote_property_info_mood.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
770s # {
770s # {
770s # -1,
770s # (gchar *) "com.acme.Coyote",
770s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
770s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
770s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
770s # NULL
770s # },
770s # "com-acme-coyote",
770s # };
770s #
770s #
770s # /**
770s # * com_acme_coyote_interface_info:
770s # *
770s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
770s # *
770s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
770s # */
770s # GDBusInterfaceInfo *
770s # com_acme_coyote_interface_info (void)
770s # {
770s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_override_properties:
770s # * @klass: The class structure for a #GObject derived class.
770s # * @property_id_begin: The property id to assign to the first overridden property.
770s # *
770s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
770s # * The properties are overridden in the order they are defined.
770s # *
770s # * Returns: The last property id.
770s # */
770s # guint
770s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
770s # {
770s # g_object_class_override_property (klass, property_id_begin++, "mood");
770s # return property_id_begin - 1;
770s # }
770s #
770s #
770s # inline static void
770s # com_acme_coyote_signal_marshal_surprised (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # g_cclosure_marshal_VOID__VOID (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s # inline static void
770s # com_acme_coyote_method_marshal_run (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s # inline static void
770s # com_acme_coyote_method_marshal_sleep (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s # inline static void
770s # com_acme_coyote_method_marshal_attack (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s #
770s # /**
770s # * ComAcmeCoyote:
770s # *
770s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
770s # */
770s #
770s # /**
770s # * ComAcmeCoyoteIface:
770s # * @parent_iface: The parent interface.
770s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
770s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
770s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
770s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
770s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
770s # *
770s # * Virtual table for the D-Bus interface com.acme.Coyote.
770s # */
770s #
770s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
770s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
770s #
770s # static void
770s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
770s # {
770s # /* GObject signals for incoming D-Bus method calls: */
770s # /**
770s # * ComAcmeCoyote::handle-run:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-run",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # com_acme_coyote_method_marshal_run,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # /**
770s # * ComAcmeCoyote::handle-sleep:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-sleep",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # com_acme_coyote_method_marshal_sleep,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # /**
770s # * ComAcmeCoyote::handle-attack:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-attack",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # com_acme_coyote_method_marshal_attack,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # /* GObject signals for received D-Bus signals: */
770s # /**
770s # * ComAcmeCoyote::surprised:
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
770s # *
770s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
770s # */
770s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
770s # g_signal_new ("surprised",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
770s # NULL,
770s # NULL,
770s # com_acme_coyote_signal_marshal_surprised,
770s # G_TYPE_NONE,
770s # 0);
770s #
770s # /* GObject properties for D-Bus properties: */
770s # /**
770s # * ComAcmeCoyote:mood:
770s # *
770s # * Represents the D-Bus property "Mood".
770s # *
770s # * 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.
770s # */
770s # g_object_interface_install_property (iface,
770s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
770s # }
770s #
770s # /**
770s # * com_acme_coyote_get_mood: (skip)
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * Gets the value of the "Mood" D-Bus property.
770s # *
770s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # const gchar *
770s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
770s # {
770s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
770s #
770s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_dup_mood: (skip)
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * Gets a copy of the "Mood" D-Bus property.
770s # *
770s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
770s # *
770s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
770s # */
770s # gchar *
770s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
770s # {
770s # gchar *value;
770s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
770s # return value;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_set_mood: (skip)
770s # * @object: A #ComAcmeCoyote.
770s # * @value: The value to set.
770s # *
770s # * Sets the "Mood" D-Bus property to @value.
770s # *
770s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
770s # */
770s # void
770s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
770s # {
770s # g_object_set (G_OBJECT (object), "mood", value, NULL);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_emit_surprised:
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * Emits the "Surprised" D-Bus signal.
770s # */
770s # void
770s # com_acme_coyote_emit_surprised (
770s # ComAcmeCoyote *object)
770s # {
770s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_run:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the Run() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # com_acme_coyote_call_run (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "Run",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_run_finish:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with com_acme_coyote_call_run().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_run_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_run_sync:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_run_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "Run",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_sleep:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # com_acme_coyote_call_sleep (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "Sleep",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_sleep_finish:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with com_acme_coyote_call_sleep().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_sleep_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_sleep_sync:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_sleep_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "Sleep",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_attack:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # com_acme_coyote_call_attack (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "Attack",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_attack_finish:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with com_acme_coyote_call_attack().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_attack_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_attack_sync:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_attack_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "Attack",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_complete_run:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # com_acme_coyote_complete_run (
770s # ComAcmeCoyote *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /**
770s # * com_acme_coyote_complete_sleep:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # com_acme_coyote_complete_sleep (
770s # ComAcmeCoyote *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /**
770s # * com_acme_coyote_complete_attack:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # com_acme_coyote_complete_attack (
770s # ComAcmeCoyote *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * ComAcmeCoyoteProxy:
770s # *
770s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * ComAcmeCoyoteProxyClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #ComAcmeCoyoteProxy.
770s # */
770s #
770s # struct _ComAcmeCoyoteProxyPrivate
770s # {
770s # GData *qdata;
770s # };
770s #
770s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
770s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
770s #
770s # #endif
770s # static void
770s # com_acme_coyote_proxy_finalize (GObject *object)
770s # {
770s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
770s # g_datalist_clear (&proxy->priv->qdata);
770s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_get_property (GObject *object,
770s # guint prop_id,
770s # GValue *value,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # GVariant *variant;
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
770s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
770s # if (info->use_gvariant)
770s # {
770s # g_value_set_variant (value, variant);
770s # }
770s # else
770s # {
770s # if (variant != NULL)
770s # g_dbus_gvariant_to_gvalue (variant, value);
770s # }
770s # if (variant != NULL)
770s # g_variant_unref (variant);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
770s # GAsyncResult *res,
770s # gpointer user_data)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info = user_data;
770s # GError *error;
770s # GVariant *_ret;
770s # error = NULL;
770s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
770s # if (!_ret)
770s # {
770s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
770s # info->parent_struct.name,
770s # error->message, g_quark_to_string (error->domain), error->code);
770s # g_error_free (error);
770s # }
770s # else
770s # {
770s # g_variant_unref (_ret);
770s # }
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_set_property (GObject *object,
770s # guint prop_id,
770s # const GValue *value,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # GVariant *variant;
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
770s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
770s # g_dbus_proxy_call (G_DBUS_PROXY (object),
770s # "org.freedesktop.DBus.Properties.Set",
770s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
770s # g_variant_unref (variant);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
770s # const gchar *sender_name G_GNUC_UNUSED,
770s # const gchar *signal_name,
770s # GVariant *parameters)
770s # {
770s # _ExtendedGDBusSignalInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # gsize n;
770s # guint signal_id;
770s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
770s # if (info == NULL)
770s # return;
770s # num_params = g_variant_n_children (parameters);
770s # paramv = g_new0 (GValue, num_params + 1);
770s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
770s # g_value_set_object (¶mv[0], proxy);
770s # g_variant_iter_init (&iter, parameters);
770s # n = 1;
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
770s # g_signal_emitv (paramv, signal_id, 0, NULL);
770s # for (n = 0; n < num_params + 1; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
770s # GVariant *changed_properties,
770s # const gchar *const *invalidated_properties)
770s # {
770s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
770s # guint n;
770s # const gchar *key;
770s # GVariantIter *iter;
770s # _ExtendedGDBusPropertyInfo *info;
770s # g_variant_get (changed_properties, "a{sv}", &iter);
770s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
770s # g_datalist_remove_data (&proxy->priv->qdata, key);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # g_variant_iter_free (iter);
770s # for (n = 0; invalidated_properties[n] != NULL; n++)
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
770s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # }
770s #
770s # static const gchar *
770s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
770s # {
770s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
770s # GVariant *variant;
770s # const gchar *value = NULL;
770s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
770s # if (variant != NULL)
770s # {
770s # value = g_variant_get_string (variant, NULL);
770s # g_variant_unref (variant);
770s # }
770s # return value;
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
770s # #else
770s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
770s # #endif
770s #
770s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusProxyClass *proxy_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
770s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
770s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
770s #
770s # proxy_class = G_DBUS_PROXY_CLASS (klass);
770s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
770s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
770s #
770s # com_acme_coyote_override_properties (gobject_class, 1);
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
770s # {
770s # iface->get_mood = com_acme_coyote_proxy_get_mood;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # com_acme_coyote_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with com_acme_coyote_proxy_new().
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_sync:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_for_bus:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # com_acme_coyote_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_for_bus_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_for_bus_sync:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * ComAcmeCoyoteSkeleton:
770s # *
770s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * ComAcmeCoyoteSkeletonClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #ComAcmeCoyoteSkeleton.
770s # */
770s #
770s # struct _ComAcmeCoyoteSkeletonPrivate
770s # {
770s # GValue *properties;
770s # GList *changed_properties;
770s # GSource *changed_properties_idle_source;
770s # GMainContext *context;
770s # GMutex lock;
770s # };
770s #
770s # static void
770s # _com_acme_coyote_skeleton_handle_method_call (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name,
770s # const gchar *method_name,
770s # GVariant *parameters,
770s # GDBusMethodInvocation *invocation,
770s # gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # _ExtendedGDBusMethodInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # guint num_extra;
770s # gsize n;
770s # guint signal_id;
770s # GValue return_value = G_VALUE_INIT;
770s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
770s # g_assert (info != NULL);
770s # num_params = g_variant_n_children (parameters);
770s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
770s # n = 0;
770s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
770s # g_value_set_object (¶mv[n++], skeleton);
770s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
770s # g_value_set_object (¶mv[n++], invocation);
770s # if (info->pass_fdlist)
770s # {
770s # #ifdef G_OS_UNIX
770s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
770s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
770s # #else
770s # g_assert_not_reached ();
770s # #endif
770s # }
770s # g_variant_iter_init (&iter, parameters);
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
770s # g_value_init (&return_value, G_TYPE_BOOLEAN);
770s # g_signal_emitv (paramv, signal_id, 0, &return_value);
770s # if (!g_value_get_boolean (&return_value))
770s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
770s # g_value_unset (&return_value);
770s # for (n = 0; n < num_params + num_extra; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static GVariant *
770s # _com_acme_coyote_skeleton_handle_get_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # GVariant *ret;
770s # ret = NULL;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # g_value_init (&value, pspec->value_type);
770s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
770s # g_value_unset (&value);
770s # }
770s # return ret;
770s # }
770s #
770s # static gboolean
770s # _com_acme_coyote_skeleton_handle_set_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GVariant *variant,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # gboolean ret;
770s # ret = FALSE;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # if (info->use_gvariant)
770s # g_value_set_variant (&value, variant);
770s # else
770s # g_dbus_gvariant_to_gvalue (variant, &value);
770s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # g_value_unset (&value);
770s # ret = TRUE;
770s # }
770s # return ret;
770s # }
770s #
770s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
770s # {
770s # _com_acme_coyote_skeleton_handle_method_call,
770s # _com_acme_coyote_skeleton_handle_get_property,
770s # _com_acme_coyote_skeleton_handle_set_property,
770s # {NULL}
770s # };
770s #
770s # static GDBusInterfaceInfo *
770s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return com_acme_coyote_interface_info ();
770s # }
770s #
770s # static GDBusInterfaceVTable *
770s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
770s # }
770s #
770s # static GVariant *
770s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
770s #
770s # GVariantBuilder builder;
770s # guint n;
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
770s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #else
770s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #endif
770s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
770s # goto out;
770s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
770s # {
770s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
770s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
770s # {
770s # GVariant *value;
770s # 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);
770s # if (value != NULL)
770s # {
770s # g_variant_take_ref (value);
770s # g_variant_builder_add (&builder, "{sv}", info->name, value);
770s # g_variant_unref (value);
770s # }
770s # }
770s # }
770s # out:
770s # return g_variant_builder_end (&builder);
770s # }
770s #
770s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
770s #
770s # static void
770s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
770s # gboolean emit_changed = FALSE;
770s #
770s # g_mutex_lock (&skeleton->priv->lock);
770s # if (skeleton->priv->changed_properties_idle_source != NULL)
770s # {
770s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
770s # skeleton->priv->changed_properties_idle_source = NULL;
770s # emit_changed = TRUE;
770s # }
770s # g_mutex_unlock (&skeleton->priv->lock);
770s #
770s # if (emit_changed)
770s # _com_acme_coyote_emit_changed (skeleton);
770s # }
770s #
770s # static void
770s # _com_acme_coyote_on_signal_surprised (
770s # ComAcmeCoyote *object)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s #
770s # GList *connections, *l;
770s # GVariant *signal_variant;
770s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
770s #
770s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
770s # for (l = connections; l != NULL; l = l->next)
770s # {
770s # GDBusConnection *connection = l->data;
770s # g_dbus_connection_emit_signal (connection,
770s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
770s # signal_variant, NULL);
770s # }
770s # g_variant_unref (signal_variant);
770s # g_list_free_full (connections, g_object_unref);
770s # }
770s #
770s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
770s #
770s # #endif
770s # static void
770s # com_acme_coyote_skeleton_finalize (GObject *object)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # guint n;
770s # for (n = 0; n < 1; n++)
770s # g_value_unset (&skeleton->priv->properties[n]);
770s # g_free (skeleton->priv->properties);
770s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
770s # if (skeleton->priv->changed_properties_idle_source != NULL)
770s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
770s # g_main_context_unref (skeleton->priv->context);
770s # g_mutex_clear (&skeleton->priv->lock);
770s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_get_property (GObject *object,
770s # guint prop_id,
770s # GValue *value,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # g_mutex_lock (&skeleton->priv->lock);
770s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # }
770s #
770s # static gboolean
770s # _com_acme_coyote_emit_changed (gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # GList *l;
770s # GVariantBuilder builder;
770s # GVariantBuilder invalidated_builder;
770s # guint num_changes;
770s #
770s # g_mutex_lock (&skeleton->priv->lock);
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
770s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
770s # #else
770s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
770s # #endif
770s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
770s # {
770s # ChangedProperty *cp = l->data;
770s # GVariant *variant;
770s # const GValue *cur_value;
770s #
770s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
770s # if (!_g_value_equal (cur_value, &cp->orig_value))
770s # {
770s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
770s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
770s # g_variant_unref (variant);
770s # num_changes++;
770s # }
770s # }
770s # if (num_changes > 0)
770s # {
770s # GList *connections, *ll;
770s # GVariant *signal_variant;
770s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
770s # &builder, &invalidated_builder));
770s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
770s # for (ll = connections; ll != NULL; ll = ll->next)
770s # {
770s # GDBusConnection *connection = ll->data;
770s #
770s # g_dbus_connection_emit_signal (connection,
770s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
770s # "org.freedesktop.DBus.Properties",
770s # "PropertiesChanged",
770s # signal_variant,
770s # NULL);
770s # }
770s # g_variant_unref (signal_variant);
770s # g_list_free_full (connections, g_object_unref);
770s # }
770s # else
770s # {
770s # g_variant_builder_clear (&builder);
770s # g_variant_builder_clear (&invalidated_builder);
770s # }
770s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
770s # skeleton->priv->changed_properties = NULL;
770s # skeleton->priv->changed_properties_idle_source = NULL;
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # return FALSE;
770s # }
770s #
770s # static void
770s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
770s # {
770s # ChangedProperty *cp;
770s # GList *l;
770s # cp = NULL;
770s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
770s # {
770s # ChangedProperty *i_cp = l->data;
770s # if (i_cp->info == info)
770s # {
770s # cp = i_cp;
770s # break;
770s # }
770s # }
770s # if (cp == NULL)
770s # {
770s # cp = g_new0 (ChangedProperty, 1);
770s # cp->prop_id = prop_id;
770s # cp->info = info;
770s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
770s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
770s # g_value_copy (orig_value, &cp->orig_value);
770s # }
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_notify (GObject *object,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # g_mutex_lock (&skeleton->priv->lock);
770s # if (skeleton->priv->changed_properties != NULL &&
770s # skeleton->priv->changed_properties_idle_source == NULL)
770s # {
770s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
770s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
770s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
770s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
770s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
770s # g_source_unref (skeleton->priv->changed_properties_idle_source);
770s # }
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_set_property (GObject *object,
770s # guint prop_id,
770s # const GValue *value,
770s # GParamSpec *pspec)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
770s # g_mutex_lock (&skeleton->priv->lock);
770s # g_object_freeze_notify (object);
770s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
770s # {
770s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
770s # info->emits_changed_signal)
770s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
770s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
770s # g_object_notify_by_pspec (object, pspec);
770s # }
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # g_object_thaw_notify (object);
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
770s # #else
770s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
770s # #endif
770s #
770s # g_mutex_init (&skeleton->priv->lock);
770s # skeleton->priv->context = g_main_context_ref_thread_default ();
770s # skeleton->priv->properties = g_new0 (GValue, 1);
770s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
770s # }
770s #
770s # static const gchar *
770s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # const gchar *value;
770s # g_mutex_lock (&skeleton->priv->lock);
770s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # return value;
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusInterfaceSkeletonClass *skeleton_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
770s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
770s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
770s # gobject_class->notify = com_acme_coyote_skeleton_notify;
770s #
770s #
770s # com_acme_coyote_override_properties (gobject_class, 1);
770s #
770s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
770s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
770s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
770s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
770s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
770s # {
770s # iface->surprised = _com_acme_coyote_on_signal_surprised;
770s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_skeleton_new:
770s # *
770s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_skeleton_new (void)
770s # {
770s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
770s # }
770s # Error:
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpt_wpdjvd/tmpmvkrxj862.xml', '/tmp/tmpt_wpdjvd/tmpqgls4p8s1.xml', '--output', '-', '--body']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifdef HAVE_CONFIG_H
770s # # include "config.h"
770s # #endif
770s #
770s # #include
770s # #ifdef G_OS_UNIX
770s # # include
770s # #endif
770s #
770s # #ifdef G_ENABLE_DEBUG
770s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
770s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
770s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
770s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
770s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
770s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
770s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
770s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
770s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
770s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
770s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
770s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
770s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
770s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
770s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
770s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
770s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
770s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
770s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
770s # #else /* !G_ENABLE_DEBUG */
770s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
770s # * Do not access GValues directly in your code. Instead, use the
770s # * g_value_get_*() functions
770s # */
770s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
770s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
770s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
770s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
770s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
770s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
770s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
770s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
770s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
770s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
770s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
770s # #endif /* !G_ENABLE_DEBUG */
770s #
770s # typedef struct
770s # {
770s # GDBusArgInfo parent_struct;
770s # gboolean use_gvariant;
770s # } _ExtendedGDBusArgInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusMethodInfo parent_struct;
770s # const gchar *signal_name;
770s # gboolean pass_fdlist;
770s # } _ExtendedGDBusMethodInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusSignalInfo parent_struct;
770s # const gchar *signal_name;
770s # } _ExtendedGDBusSignalInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusPropertyInfo parent_struct;
770s # const gchar *hyphen_name;
770s # guint use_gvariant : 1;
770s # guint emits_changed_signal : 1;
770s # } _ExtendedGDBusPropertyInfo;
770s #
770s # typedef struct
770s # {
770s # GDBusInterfaceInfo parent_struct;
770s # const gchar *hyphen_name;
770s # } _ExtendedGDBusInterfaceInfo;
770s #
770s # typedef struct
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # guint prop_id;
770s # GValue orig_value; /* the value before the change */
770s # } ChangedProperty;
770s #
770s # static void
770s # _changed_property_free (ChangedProperty *data)
770s # {
770s # g_value_unset (&data->orig_value);
770s # g_free (data);
770s # }
770s #
770s # static gboolean
770s # _g_strv_equal0 (gchar **a, gchar **b)
770s # {
770s # gboolean ret = FALSE;
770s # guint n;
770s # if (a == NULL && b == NULL)
770s # {
770s # ret = TRUE;
770s # goto out;
770s # }
770s # if (a == NULL || b == NULL)
770s # goto out;
770s # if (g_strv_length (a) != g_strv_length (b))
770s # goto out;
770s # for (n = 0; a[n] != NULL; n++)
770s # if (g_strcmp0 (a[n], b[n]) != 0)
770s # goto out;
770s # ret = TRUE;
770s # out:
770s # return ret;
770s # }
770s #
770s # static gboolean
770s # _g_variant_equal0 (GVariant *a, GVariant *b)
770s # {
770s # gboolean ret = FALSE;
770s # if (a == NULL && b == NULL)
770s # {
770s # ret = TRUE;
770s # goto out;
770s # }
770s # if (a == NULL || b == NULL)
770s # goto out;
770s # ret = g_variant_equal (a, b);
770s # out:
770s # return ret;
770s # }
770s #
770s # G_GNUC_UNUSED static gboolean
770s # _g_value_equal (const GValue *a, const GValue *b)
770s # {
770s # gboolean ret = FALSE;
770s # g_assert (G_VALUE_TYPE (a) == G_VALUE_TYPE (b));
770s # switch (G_VALUE_TYPE (a))
770s # {
770s # case G_TYPE_BOOLEAN:
770s # ret = (g_value_get_boolean (a) == g_value_get_boolean (b));
770s # break;
770s # case G_TYPE_UCHAR:
770s # ret = (g_value_get_uchar (a) == g_value_get_uchar (b));
770s # break;
770s # case G_TYPE_INT:
770s # ret = (g_value_get_int (a) == g_value_get_int (b));
770s # break;
770s # case G_TYPE_UINT:
770s # ret = (g_value_get_uint (a) == g_value_get_uint (b));
770s # break;
770s # case G_TYPE_INT64:
770s # ret = (g_value_get_int64 (a) == g_value_get_int64 (b));
770s # break;
770s # case G_TYPE_UINT64:
770s # ret = (g_value_get_uint64 (a) == g_value_get_uint64 (b));
770s # break;
770s # case G_TYPE_DOUBLE:
770s # {
770s # /* Avoid -Wfloat-equal warnings by doing a direct bit compare */
770s # gdouble da = g_value_get_double (a);
770s # gdouble db = g_value_get_double (b);
770s # ret = memcmp (&da, &db, sizeof (gdouble)) == 0;
770s # }
770s # break;
770s # case G_TYPE_STRING:
770s # ret = (g_strcmp0 (g_value_get_string (a), g_value_get_string (b)) == 0);
770s # break;
770s # case G_TYPE_VARIANT:
770s # ret = _g_variant_equal0 (g_value_get_variant (a), g_value_get_variant (b));
770s # break;
770s # default:
770s # if (G_VALUE_TYPE (a) == G_TYPE_STRV)
770s # ret = _g_strv_equal0 (g_value_get_boxed (a), g_value_get_boxed (b));
770s # else
770s # g_critical ("_g_value_equal() does not handle type %s", g_type_name (G_VALUE_TYPE (a)));
770s # break;
770s # }
770s # return ret;
770s # }
770s #
770s # static void
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint G_GNUC_UNUSED,
770s # void *marshal_data)
770s # {
770s # typedef gboolean (*_GDbusCodegenMarshalBoolean_ObjectFunc)
770s # (void *data1,
770s # GDBusMethodInvocation *arg_method_invocation,
770s # void *data2);
770s # _GDbusCodegenMarshalBoolean_ObjectFunc callback;
770s # GCClosure *cc = (GCClosure*) closure;
770s # void *data1, *data2;
770s # gboolean v_return;
770s #
770s # g_return_if_fail (return_value != NULL);
770s # g_return_if_fail (n_param_values == 2);
770s #
770s # if (G_CCLOSURE_SWAP_DATA (closure))
770s # {
770s # data1 = closure->data;
770s # data2 = g_value_peek_pointer (param_values + 0);
770s # }
770s # else
770s # {
770s # data1 = g_value_peek_pointer (param_values + 0);
770s # data2 = closure->data;
770s # }
770s #
770s # callback = (_GDbusCodegenMarshalBoolean_ObjectFunc)
770s # (marshal_data ? marshal_data : cc->callback);
770s #
770s # v_return =
770s # callback (data1,
770s # g_marshal_value_peek_object (param_values + 1),
770s # data2);
770s #
770s # g_value_set_boolean (return_value, v_return);
770s # }
770s #
770s # /* ------------------------------------------------------------------------
770s # * Code for interface org.project.Bar.Frobnicator
770s # * ------------------------------------------------------------------------
770s # */
770s #
770s # /**
770s # * SECTION:OrgProjectBarFrobnicator
770s # * @title: OrgProjectBarFrobnicator
770s # * @short_description: Generated C code for the org.project.Bar.Frobnicator D-Bus interface
770s # *
770s # * This section contains code for working with the org.project.Bar.Frobnicator D-Bus interface in C.
770s # */
770s #
770s # /* ---- Introspection data for org.project.Bar.Frobnicator ---- */
770s #
770s # static const _ExtendedGDBusMethodInfo _org_project_bar_frobnicator_method_info_random_method =
770s # {
770s # {
770s # -1,
770s # (gchar *) "RandomMethod",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-random-method",
770s # FALSE
770s # };
770s #
770s # static const GDBusMethodInfo * const _org_project_bar_frobnicator_method_info_pointers[] =
770s # {
770s # &_org_project_bar_frobnicator_method_info_random_method.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusInterfaceInfo _org_project_bar_frobnicator_interface_info =
770s # {
770s # {
770s # -1,
770s # (gchar *) "org.project.Bar.Frobnicator",
770s # (GDBusMethodInfo **) &_org_project_bar_frobnicator_method_info_pointers,
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "org-project-bar-frobnicator",
770s # };
770s #
770s #
770s # /**
770s # * org_project_bar_frobnicator_interface_info:
770s # *
770s # * Gets a machine-readable description of the org.project.Bar.Frobnicator D-Bus interface.
770s # *
770s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
770s # */
770s # GDBusInterfaceInfo *
770s # org_project_bar_frobnicator_interface_info (void)
770s # {
770s # return (GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_override_properties:
770s # * @klass: The class structure for a #GObject derived class.
770s # * @property_id_begin: The property id to assign to the first overridden property.
770s # *
770s # * Overrides all #GObject properties in the #OrgProjectBarFrobnicator interface for a concrete class.
770s # * The properties are overridden in the order they are defined.
770s # *
770s # * Returns: The last property id.
770s # */
770s # guint
770s # org_project_bar_frobnicator_override_properties (GObjectClass *klass G_GNUC_UNUSED, guint property_id_begin)
770s # {
770s # return property_id_begin - 1;
770s # }
770s #
770s #
770s # inline static void
770s # org_project_bar_frobnicator_method_marshal_random_method (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s #
770s # /**
770s # * OrgProjectBarFrobnicator:
770s # *
770s # * Abstract interface type for the D-Bus interface org.project.Bar.Frobnicator.
770s # */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorIface:
770s # * @parent_iface: The parent interface.
770s # * @handle_random_method: Handler for the #OrgProjectBarFrobnicator::handle-random-method signal.
770s # *
770s # * Virtual table for the D-Bus interface org.project.Bar.Frobnicator.
770s # */
770s #
770s # typedef OrgProjectBarFrobnicatorIface OrgProjectBarFrobnicatorInterface;
770s # G_DEFINE_INTERFACE (OrgProjectBarFrobnicator, org_project_bar_frobnicator, G_TYPE_OBJECT)
770s #
770s # static void
770s # org_project_bar_frobnicator_default_init (OrgProjectBarFrobnicatorIface *iface)
770s # {
770s # /* GObject signals for incoming D-Bus method calls: */
770s # /**
770s # * OrgProjectBarFrobnicator::handle-random-method:
770s # * @object: A #OrgProjectBarFrobnicator.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the RandomMethod() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-random-method",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (OrgProjectBarFrobnicatorIface, handle_random_method),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # org_project_bar_frobnicator_method_marshal_random_method,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_call_random_method:
770s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the RandomMethod() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call org_project_bar_frobnicator_call_random_method_finish() to get the result of the operation.
770s # *
770s # * See org_project_bar_frobnicator_call_random_method_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # org_project_bar_frobnicator_call_random_method (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "RandomMethod",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_call_random_method_finish:
770s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_call_random_method().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with org_project_bar_frobnicator_call_random_method().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # org_project_bar_frobnicator_call_random_method_finish (
770s # OrgProjectBarFrobnicator *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_call_random_method_sync:
770s # * @proxy: A #OrgProjectBarFrobnicatorProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the RandomMethod() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See org_project_bar_frobnicator_call_random_method() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # org_project_bar_frobnicator_call_random_method_sync (
770s # OrgProjectBarFrobnicator *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "RandomMethod",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_complete_random_method:
770s # * @object: A #OrgProjectBarFrobnicator.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # org_project_bar_frobnicator_complete_random_method (
770s # OrgProjectBarFrobnicator *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorProxy:
770s # *
770s # * The #OrgProjectBarFrobnicatorProxy structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorProxyClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #OrgProjectBarFrobnicatorProxy.
770s # */
770s #
770s # struct _OrgProjectBarFrobnicatorProxyPrivate
770s # {
770s # GData *qdata;
770s # };
770s #
770s # static void org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface);
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
770s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorProxy)
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorProxy, org_project_bar_frobnicator_proxy, G_TYPE_DBUS_PROXY,
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_proxy_iface_init))
770s #
770s # #endif
770s # static void
770s # org_project_bar_frobnicator_proxy_finalize (GObject *object)
770s # {
770s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (object);
770s # g_datalist_clear (&proxy->priv->qdata);
770s # G_OBJECT_CLASS (org_project_bar_frobnicator_proxy_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_get_property (GObject *object G_GNUC_UNUSED,
770s # guint prop_id G_GNUC_UNUSED,
770s # GValue *value G_GNUC_UNUSED,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_set_property (GObject *object G_GNUC_UNUSED,
770s # guint prop_id G_GNUC_UNUSED,
770s # const GValue *value G_GNUC_UNUSED,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_g_signal (GDBusProxy *proxy,
770s # const gchar *sender_name G_GNUC_UNUSED,
770s # const gchar *signal_name,
770s # GVariant *parameters)
770s # {
770s # _ExtendedGDBusSignalInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # gsize n;
770s # guint signal_id;
770s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, signal_name);
770s # if (info == NULL)
770s # return;
770s # num_params = g_variant_n_children (parameters);
770s # paramv = g_new0 (GValue, num_params + 1);
770s # g_value_init (¶mv[0], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_value_set_object (¶mv[0], proxy);
770s # g_variant_iter_init (&iter, parameters);
770s # n = 1;
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_signal_emitv (paramv, signal_id, 0, NULL);
770s # for (n = 0; n < num_params + 1; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_g_properties_changed (GDBusProxy *_proxy,
770s # GVariant *changed_properties,
770s # const gchar *const *invalidated_properties)
770s # {
770s # OrgProjectBarFrobnicatorProxy *proxy = ORG_PROJECT_BAR_FROBNICATOR_PROXY (_proxy);
770s # guint n;
770s # const gchar *key;
770s # GVariantIter *iter;
770s # _ExtendedGDBusPropertyInfo *info;
770s # g_variant_get (changed_properties, "a{sv}", &iter);
770s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, key);
770s # g_datalist_remove_data (&proxy->priv->qdata, key);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # g_variant_iter_free (iter);
770s # for (n = 0; invalidated_properties[n] != NULL; n++)
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, invalidated_properties[n]);
770s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_init (OrgProjectBarFrobnicatorProxy *proxy)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # proxy->priv = org_project_bar_frobnicator_proxy_get_instance_private (proxy);
770s # #else
770s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_ORG_PROJECT_BAR_FROBNICATOR_PROXY, OrgProjectBarFrobnicatorProxyPrivate);
770s # #endif
770s #
770s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), org_project_bar_frobnicator_interface_info ());
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_class_init (OrgProjectBarFrobnicatorProxyClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusProxyClass *proxy_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = org_project_bar_frobnicator_proxy_finalize;
770s # gobject_class->get_property = org_project_bar_frobnicator_proxy_get_property;
770s # gobject_class->set_property = org_project_bar_frobnicator_proxy_set_property;
770s #
770s # proxy_class = G_DBUS_PROXY_CLASS (klass);
770s # proxy_class->g_signal = org_project_bar_frobnicator_proxy_g_signal;
770s # proxy_class->g_properties_changed = org_project_bar_frobnicator_proxy_g_properties_changed;
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorProxyPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_proxy_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new() for more details.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call org_project_bar_frobnicator_proxy_new_finish() to get the result of the operation.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # org_project_bar_frobnicator_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new().
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_sync:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Synchronously creates a proxy for the D-Bus interface org.project.Bar.Frobnicator. See g_dbus_proxy_new_sync() for more details.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_for_bus:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Like org_project_bar_frobnicator_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call org_project_bar_frobnicator_proxy_new_for_bus_finish() to get the result of the operation.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # org_project_bar_frobnicator_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_for_bus_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to org_project_bar_frobnicator_proxy_new_for_bus().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with org_project_bar_frobnicator_proxy_new_for_bus().
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_proxy_new_for_bus_sync:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Like org_project_bar_frobnicator_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See org_project_bar_frobnicator_proxy_new_for_bus() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return ORG_PROJECT_BAR_FROBNICATOR (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorSkeleton:
770s # *
770s # * The #OrgProjectBarFrobnicatorSkeleton structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * OrgProjectBarFrobnicatorSkeletonClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #OrgProjectBarFrobnicatorSkeleton.
770s # */
770s #
770s # struct _OrgProjectBarFrobnicatorSkeletonPrivate
770s # {
770s # GValue *properties;
770s # GList *changed_properties;
770s # GSource *changed_properties_idle_source;
770s # GMainContext *context;
770s # GMutex lock;
770s # };
770s #
770s # static void
770s # _org_project_bar_frobnicator_skeleton_handle_method_call (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name,
770s # const gchar *method_name,
770s # GVariant *parameters,
770s # GDBusMethodInvocation *invocation,
770s # gpointer user_data)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
770s # _ExtendedGDBusMethodInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # guint num_extra;
770s # gsize n;
770s # guint signal_id;
770s # GValue return_value = G_VALUE_INIT;
770s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
770s # g_assert (info != NULL);
770s # num_params = g_variant_n_children (parameters);
770s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
770s # n = 0;
770s # g_value_init (¶mv[n], TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_value_set_object (¶mv[n++], skeleton);
770s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
770s # g_value_set_object (¶mv[n++], invocation);
770s # if (info->pass_fdlist)
770s # {
770s # #ifdef G_OS_UNIX
770s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
770s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
770s # #else
770s # g_assert_not_reached ();
770s # #endif
770s # }
770s # g_variant_iter_init (&iter, parameters);
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_ORG_PROJECT_BAR_FROBNICATOR);
770s # g_value_init (&return_value, G_TYPE_BOOLEAN);
770s # g_signal_emitv (paramv, signal_id, 0, &return_value);
770s # if (!g_value_get_boolean (&return_value))
770s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
770s # g_value_unset (&return_value);
770s # for (n = 0; n < num_params + num_extra; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static GVariant *
770s # _org_project_bar_frobnicator_skeleton_handle_get_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # GVariant *ret;
770s # ret = NULL;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # g_value_init (&value, pspec->value_type);
770s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
770s # g_value_unset (&value);
770s # }
770s # return ret;
770s # }
770s #
770s # static gboolean
770s # _org_project_bar_frobnicator_skeleton_handle_set_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GVariant *variant,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # gboolean ret;
770s # ret = FALSE;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_org_project_bar_frobnicator_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # if (info->use_gvariant)
770s # g_value_set_variant (&value, variant);
770s # else
770s # g_dbus_gvariant_to_gvalue (variant, &value);
770s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # g_value_unset (&value);
770s # ret = TRUE;
770s # }
770s # return ret;
770s # }
770s #
770s # static const GDBusInterfaceVTable _org_project_bar_frobnicator_skeleton_vtable =
770s # {
770s # _org_project_bar_frobnicator_skeleton_handle_method_call,
770s # _org_project_bar_frobnicator_skeleton_handle_get_property,
770s # _org_project_bar_frobnicator_skeleton_handle_set_property,
770s # {NULL}
770s # };
770s #
770s # static GDBusInterfaceInfo *
770s # org_project_bar_frobnicator_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return org_project_bar_frobnicator_interface_info ();
770s # }
770s #
770s # static GDBusInterfaceVTable *
770s # org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return (GDBusInterfaceVTable *) &_org_project_bar_frobnicator_skeleton_vtable;
770s # }
770s #
770s # static GVariant *
770s # org_project_bar_frobnicator_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (_skeleton);
770s #
770s # GVariantBuilder builder;
770s # guint n;
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
770s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #else
770s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #endif
770s # if (_org_project_bar_frobnicator_interface_info.parent_struct.properties == NULL)
770s # goto out;
770s # for (n = 0; _org_project_bar_frobnicator_interface_info.parent_struct.properties[n] != NULL; n++)
770s # {
770s # GDBusPropertyInfo *info = _org_project_bar_frobnicator_interface_info.parent_struct.properties[n];
770s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
770s # {
770s # GVariant *value;
770s # 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);
770s # if (value != NULL)
770s # {
770s # g_variant_take_ref (value);
770s # g_variant_builder_add (&builder, "{sv}", info->name, value);
770s # g_variant_unref (value);
770s # }
770s # }
770s # }
770s # out:
770s # return g_variant_builder_end (&builder);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # static void org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface);
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_ADD_PRIVATE (OrgProjectBarFrobnicatorSkeleton)
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (OrgProjectBarFrobnicatorSkeleton, org_project_bar_frobnicator_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_IMPLEMENT_INTERFACE (TYPE_ORG_PROJECT_BAR_FROBNICATOR, org_project_bar_frobnicator_skeleton_iface_init))
770s #
770s # #endif
770s # static void
770s # org_project_bar_frobnicator_skeleton_finalize (GObject *object)
770s # {
770s # OrgProjectBarFrobnicatorSkeleton *skeleton = ORG_PROJECT_BAR_FROBNICATOR_SKELETON (object);
770s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
770s # if (skeleton->priv->changed_properties_idle_source != NULL)
770s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
770s # g_main_context_unref (skeleton->priv->context);
770s # g_mutex_clear (&skeleton->priv->lock);
770s # G_OBJECT_CLASS (org_project_bar_frobnicator_skeleton_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_init (OrgProjectBarFrobnicatorSkeleton *skeleton)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # skeleton->priv = org_project_bar_frobnicator_skeleton_get_instance_private (skeleton);
770s # #else
770s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, OrgProjectBarFrobnicatorSkeletonPrivate);
770s # #endif
770s #
770s # g_mutex_init (&skeleton->priv->lock);
770s # skeleton->priv->context = g_main_context_ref_thread_default ();
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_class_init (OrgProjectBarFrobnicatorSkeletonClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusInterfaceSkeletonClass *skeleton_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = org_project_bar_frobnicator_skeleton_finalize;
770s #
770s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
770s # skeleton_class->get_info = org_project_bar_frobnicator_skeleton_dbus_interface_get_info;
770s # skeleton_class->get_properties = org_project_bar_frobnicator_skeleton_dbus_interface_get_properties;
770s # skeleton_class->flush = org_project_bar_frobnicator_skeleton_dbus_interface_flush;
770s # skeleton_class->get_vtable = org_project_bar_frobnicator_skeleton_dbus_interface_get_vtable;
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (OrgProjectBarFrobnicatorSkeletonPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # org_project_bar_frobnicator_skeleton_iface_init (OrgProjectBarFrobnicatorIface *iface G_GNUC_UNUSED)
770s # {
770s # }
770s #
770s # /**
770s # * org_project_bar_frobnicator_skeleton_new:
770s # *
770s # * Creates a skeleton object for the D-Bus interface org.project.Bar.Frobnicator.
770s # *
770s # * Returns: (transfer full) (type OrgProjectBarFrobnicatorSkeleton): The skeleton object.
770s # */
770s # OrgProjectBarFrobnicator *
770s # org_project_bar_frobnicator_skeleton_new (void)
770s # {
770s # return ORG_PROJECT_BAR_FROBNICATOR (g_object_new (TYPE_ORG_PROJECT_BAR_FROBNICATOR_SKELETON, NULL));
770s # }
770s #
770s # /* ------------------------------------------------------------------------
770s # * Code for interface com.acme.Coyote
770s # * ------------------------------------------------------------------------
770s # */
770s #
770s # /**
770s # * SECTION:ComAcmeCoyote
770s # * @title: ComAcmeCoyote
770s # * @short_description: Generated C code for the com.acme.Coyote D-Bus interface
770s # *
770s # * This section contains code for working with the com.acme.Coyote D-Bus interface in C.
770s # */
770s #
770s # enum
770s # {
770s # _COM_ACME_COYOTE_SURPRISED,
770s # };
770s #
770s # static unsigned _COM_ACME_COYOTE_SIGNALS[1] = { 0 };
770s #
770s # /* ---- Introspection data for com.acme.Coyote ---- */
770s #
770s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_run =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Run",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-run",
770s # FALSE
770s # };
770s #
770s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_sleep =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Sleep",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-sleep",
770s # FALSE
770s # };
770s #
770s # static const _ExtendedGDBusMethodInfo _com_acme_coyote_method_info_attack =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Attack",
770s # NULL,
770s # NULL,
770s # NULL
770s # },
770s # "handle-attack",
770s # FALSE
770s # };
770s #
770s # static const GDBusMethodInfo * const _com_acme_coyote_method_info_pointers[] =
770s # {
770s # &_com_acme_coyote_method_info_run.parent_struct,
770s # &_com_acme_coyote_method_info_sleep.parent_struct,
770s # &_com_acme_coyote_method_info_attack.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusSignalInfo _com_acme_coyote_signal_info_surprised =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Surprised",
770s # NULL,
770s # NULL
770s # },
770s # "surprised"
770s # };
770s #
770s # static const GDBusSignalInfo * const _com_acme_coyote_signal_info_pointers[] =
770s # {
770s # &_com_acme_coyote_signal_info_surprised.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusPropertyInfo _com_acme_coyote_property_info_mood =
770s # {
770s # {
770s # -1,
770s # (gchar *) "Mood",
770s # (gchar *) "s",
770s # G_DBUS_PROPERTY_INFO_FLAGS_READABLE,
770s # NULL
770s # },
770s # "mood",
770s # FALSE,
770s # TRUE
770s # };
770s #
770s # static const GDBusPropertyInfo * const _com_acme_coyote_property_info_pointers[] =
770s # {
770s # &_com_acme_coyote_property_info_mood.parent_struct,
770s # NULL
770s # };
770s #
770s # static const _ExtendedGDBusInterfaceInfo _com_acme_coyote_interface_info =
770s # {
770s # {
770s # -1,
770s # (gchar *) "com.acme.Coyote",
770s # (GDBusMethodInfo **) &_com_acme_coyote_method_info_pointers,
770s # (GDBusSignalInfo **) &_com_acme_coyote_signal_info_pointers,
770s # (GDBusPropertyInfo **) &_com_acme_coyote_property_info_pointers,
770s # NULL
770s # },
770s # "com-acme-coyote",
770s # };
770s #
770s #
770s # /**
770s # * com_acme_coyote_interface_info:
770s # *
770s # * Gets a machine-readable description of the com.acme.Coyote D-Bus interface.
770s # *
770s # * Returns: (transfer none): A #GDBusInterfaceInfo. Do not free.
770s # */
770s # GDBusInterfaceInfo *
770s # com_acme_coyote_interface_info (void)
770s # {
770s # return (GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_override_properties:
770s # * @klass: The class structure for a #GObject derived class.
770s # * @property_id_begin: The property id to assign to the first overridden property.
770s # *
770s # * Overrides all #GObject properties in the #ComAcmeCoyote interface for a concrete class.
770s # * The properties are overridden in the order they are defined.
770s # *
770s # * Returns: The last property id.
770s # */
770s # guint
770s # com_acme_coyote_override_properties (GObjectClass *klass, guint property_id_begin)
770s # {
770s # g_object_class_override_property (klass, property_id_begin++, "mood");
770s # return property_id_begin - 1;
770s # }
770s #
770s #
770s # inline static void
770s # com_acme_coyote_signal_marshal_surprised (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # g_cclosure_marshal_VOID__VOID (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s # inline static void
770s # com_acme_coyote_method_marshal_run (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s # inline static void
770s # com_acme_coyote_method_marshal_sleep (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s # inline static void
770s # com_acme_coyote_method_marshal_attack (
770s # GClosure *closure,
770s # GValue *return_value,
770s # unsigned int n_param_values,
770s # const GValue *param_values,
770s # void *invocation_hint,
770s # void *marshal_data)
770s # {
770s # _g_dbus_codegen_marshal_BOOLEAN__OBJECT (closure,
770s # return_value, n_param_values, param_values, invocation_hint, marshal_data);
770s # }
770s #
770s #
770s # /**
770s # * ComAcmeCoyote:
770s # *
770s # * Abstract interface type for the D-Bus interface com.acme.Coyote.
770s # */
770s #
770s # /**
770s # * ComAcmeCoyoteIface:
770s # * @parent_iface: The parent interface.
770s # * @handle_attack: Handler for the #ComAcmeCoyote::handle-attack signal.
770s # * @handle_run: Handler for the #ComAcmeCoyote::handle-run signal.
770s # * @handle_sleep: Handler for the #ComAcmeCoyote::handle-sleep signal.
770s # * @get_mood: Getter for the #ComAcmeCoyote:mood property.
770s # * @surprised: Handler for the #ComAcmeCoyote::surprised signal.
770s # *
770s # * Virtual table for the D-Bus interface com.acme.Coyote.
770s # */
770s #
770s # typedef ComAcmeCoyoteIface ComAcmeCoyoteInterface;
770s # G_DEFINE_INTERFACE (ComAcmeCoyote, com_acme_coyote, G_TYPE_OBJECT)
770s #
770s # static void
770s # com_acme_coyote_default_init (ComAcmeCoyoteIface *iface)
770s # {
770s # /* GObject signals for incoming D-Bus method calls: */
770s # /**
770s # * ComAcmeCoyote::handle-run:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the Run() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-run",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_run),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # com_acme_coyote_method_marshal_run,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # /**
770s # * ComAcmeCoyote::handle-sleep:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the Sleep() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-sleep",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_sleep),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # com_acme_coyote_method_marshal_sleep,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # /**
770s # * ComAcmeCoyote::handle-attack:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: A #GDBusMethodInvocation.
770s # *
770s # * Signal emitted when a remote caller is invoking the Attack() D-Bus method.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # g_signal_new ("handle-attack",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, handle_attack),
770s # g_signal_accumulator_true_handled,
770s # NULL,
770s # com_acme_coyote_method_marshal_attack,
770s # G_TYPE_BOOLEAN,
770s # 1,
770s # G_TYPE_DBUS_METHOD_INVOCATION);
770s #
770s # /* GObject signals for received D-Bus signals: */
770s # /**
770s # * ComAcmeCoyote::surprised:
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * On the client-side, this signal is emitted whenever the D-Bus signal "Surprised" is received.
770s # *
770s # * On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
770s # */
770s # _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED] =
770s # g_signal_new ("surprised",
770s # G_TYPE_FROM_INTERFACE (iface),
770s # G_SIGNAL_RUN_LAST,
770s # G_STRUCT_OFFSET (ComAcmeCoyoteIface, surprised),
770s # NULL,
770s # NULL,
770s # com_acme_coyote_signal_marshal_surprised,
770s # G_TYPE_NONE,
770s # 0);
770s #
770s # /* GObject properties for D-Bus properties: */
770s # /**
770s # * ComAcmeCoyote:mood:
770s # *
770s # * Represents the D-Bus property "Mood".
770s # *
770s # * 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.
770s # */
770s # g_object_interface_install_property (iface,
770s # g_param_spec_string ("mood", "Mood", "Mood", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
770s # }
770s #
770s # /**
770s # * com_acme_coyote_get_mood: (skip)
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * Gets the value of the "Mood" D-Bus property.
770s # *
770s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
770s # *
770s # * 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.
770s # *
770s # * 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.
770s # */
770s # const gchar *
770s # com_acme_coyote_get_mood (ComAcmeCoyote *object)
770s # {
770s # g_return_val_if_fail (IS_COM_ACME_COYOTE (object), NULL);
770s #
770s # return COM_ACME_COYOTE_GET_IFACE (object)->get_mood (object);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_dup_mood: (skip)
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * Gets a copy of the "Mood" D-Bus property.
770s # *
770s # * Since this D-Bus property is readable, it is meaningful to use this function on both the client- and service-side.
770s # *
770s # * Returns: (transfer full) (nullable): The property value or %NULL if the property is not set. The returned value should be freed with g_free().
770s # */
770s # gchar *
770s # com_acme_coyote_dup_mood (ComAcmeCoyote *object)
770s # {
770s # gchar *value;
770s # g_object_get (G_OBJECT (object), "mood", &value, NULL);
770s # return value;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_set_mood: (skip)
770s # * @object: A #ComAcmeCoyote.
770s # * @value: The value to set.
770s # *
770s # * Sets the "Mood" D-Bus property to @value.
770s # *
770s # * Since this D-Bus property is not writable, it is only meaningful to use this function on the service-side.
770s # */
770s # void
770s # com_acme_coyote_set_mood (ComAcmeCoyote *object, const gchar *value)
770s # {
770s # g_object_set (G_OBJECT (object), "mood", value, NULL);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_emit_surprised:
770s # * @object: A #ComAcmeCoyote.
770s # *
770s # * Emits the "Surprised" D-Bus signal.
770s # */
770s # void
770s # com_acme_coyote_emit_surprised (
770s # ComAcmeCoyote *object)
770s # {
770s # g_signal_emit (object, _COM_ACME_COYOTE_SIGNALS[_COM_ACME_COYOTE_SURPRISED], 0);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_run:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the Run() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_call_run_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_call_run_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # com_acme_coyote_call_run (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "Run",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_run_finish:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_run().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with com_acme_coyote_call_run().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_run_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_run_sync:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the Run() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_call_run() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_run_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "Run",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_sleep:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the Sleep() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_call_sleep_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_call_sleep_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # com_acme_coyote_call_sleep (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "Sleep",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_sleep_finish:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_sleep().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with com_acme_coyote_call_sleep().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_sleep_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_sleep_sync:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the Sleep() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_call_sleep() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_sleep_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "Sleep",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_attack:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied or %NULL.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously invokes the Attack() D-Bus method on @proxy.
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_call_attack_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_call_attack_sync() for the synchronous, blocking version of this method.
770s # */
770s # void
770s # com_acme_coyote_call_attack (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # g_dbus_proxy_call (G_DBUS_PROXY (proxy),
770s # "Attack",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # callback,
770s # user_data);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_attack_finish:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_call_attack().
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Finishes an operation started with com_acme_coyote_call_attack().
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_attack_finish (
770s # ComAcmeCoyote *proxy,
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_finish (G_DBUS_PROXY (proxy), res, error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_call_attack_sync:
770s # * @proxy: A #ComAcmeCoyoteProxy.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL.
770s # *
770s # * Synchronously invokes the Attack() D-Bus method on @proxy. The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_call_attack() for the asynchronous version of this method.
770s # *
770s # * Returns: (skip): %TRUE if the call succeeded, %FALSE if @error is set.
770s # */
770s # gboolean
770s # com_acme_coyote_call_attack_sync (
770s # ComAcmeCoyote *proxy,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GVariant *_ret;
770s # _ret = g_dbus_proxy_call_sync (G_DBUS_PROXY (proxy),
770s # "Attack",
770s # g_variant_new ("()"),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # cancellable,
770s # error);
770s # if (_ret == NULL)
770s # goto _out;
770s # g_variant_get (_ret,
770s # "()");
770s # g_variant_unref (_ret);
770s # _out:
770s # return _ret != NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_complete_run:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # com_acme_coyote_complete_run (
770s # ComAcmeCoyote *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /**
770s # * com_acme_coyote_complete_sleep:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # com_acme_coyote_complete_sleep (
770s # ComAcmeCoyote *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /**
770s # * com_acme_coyote_complete_attack:
770s # * @object: A #ComAcmeCoyote.
770s # * @invocation: (transfer full): A #GDBusMethodInvocation.
770s # *
770s # * 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.
770s # *
770s # * This method will free @invocation, you cannot use it afterwards.
770s # */
770s # void
770s # com_acme_coyote_complete_attack (
770s # ComAcmeCoyote *object G_GNUC_UNUSED,
770s # GDBusMethodInvocation *invocation)
770s # {
770s # g_dbus_method_invocation_return_value (invocation,
770s # g_variant_new ("()"));
770s # }
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * ComAcmeCoyoteProxy:
770s # *
770s # * The #ComAcmeCoyoteProxy structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * ComAcmeCoyoteProxyClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #ComAcmeCoyoteProxy.
770s # */
770s #
770s # struct _ComAcmeCoyoteProxyPrivate
770s # {
770s # GData *qdata;
770s # };
770s #
770s # static void com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface);
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
770s # G_ADD_PRIVATE (ComAcmeCoyoteProxy)
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteProxy, com_acme_coyote_proxy, G_TYPE_DBUS_PROXY,
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_proxy_iface_init))
770s #
770s # #endif
770s # static void
770s # com_acme_coyote_proxy_finalize (GObject *object)
770s # {
770s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
770s # g_datalist_clear (&proxy->priv->qdata);
770s # G_OBJECT_CLASS (com_acme_coyote_proxy_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_get_property (GObject *object,
770s # guint prop_id,
770s # GValue *value,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # GVariant *variant;
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
770s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (object), info->parent_struct.name);
770s # if (info->use_gvariant)
770s # {
770s # g_value_set_variant (value, variant);
770s # }
770s # else
770s # {
770s # if (variant != NULL)
770s # g_dbus_gvariant_to_gvalue (variant, value);
770s # }
770s # if (variant != NULL)
770s # g_variant_unref (variant);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_set_property_cb (GDBusProxy *proxy,
770s # GAsyncResult *res,
770s # gpointer user_data)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info = user_data;
770s # GError *error;
770s # GVariant *_ret;
770s # error = NULL;
770s # _ret = g_dbus_proxy_call_finish (proxy, res, &error);
770s # if (!_ret)
770s # {
770s # g_warning ("Error setting property '%s' on interface com.acme.Coyote: %s (%s, %d)",
770s # info->parent_struct.name,
770s # error->message, g_quark_to_string (error->domain), error->code);
770s # g_error_free (error);
770s # }
770s # else
770s # {
770s # g_variant_unref (_ret);
770s # }
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_set_property (GObject *object,
770s # guint prop_id,
770s # const GValue *value,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # GVariant *variant;
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
770s # variant = g_dbus_gvalue_to_gvariant (value, G_VARIANT_TYPE (info->parent_struct.signature));
770s # g_dbus_proxy_call (G_DBUS_PROXY (object),
770s # "org.freedesktop.DBus.Properties.Set",
770s # g_variant_new ("(ssv)", "com.acme.Coyote", info->parent_struct.name, variant),
770s # G_DBUS_CALL_FLAGS_NONE,
770s # -1,
770s # NULL, (GAsyncReadyCallback) com_acme_coyote_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
770s # g_variant_unref (variant);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_g_signal (GDBusProxy *proxy,
770s # const gchar *sender_name G_GNUC_UNUSED,
770s # const gchar *signal_name,
770s # GVariant *parameters)
770s # {
770s # _ExtendedGDBusSignalInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # gsize n;
770s # guint signal_id;
770s # info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, signal_name);
770s # if (info == NULL)
770s # return;
770s # num_params = g_variant_n_children (parameters);
770s # paramv = g_new0 (GValue, num_params + 1);
770s # g_value_init (¶mv[0], TYPE_COM_ACME_COYOTE);
770s # g_value_set_object (¶mv[0], proxy);
770s # g_variant_iter_init (&iter, parameters);
770s # n = 1;
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.args[n - 1];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
770s # g_signal_emitv (paramv, signal_id, 0, NULL);
770s # for (n = 0; n < num_params + 1; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_g_properties_changed (GDBusProxy *_proxy,
770s # GVariant *changed_properties,
770s # const gchar *const *invalidated_properties)
770s # {
770s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (_proxy);
770s # guint n;
770s # const gchar *key;
770s # GVariantIter *iter;
770s # _ExtendedGDBusPropertyInfo *info;
770s # g_variant_get (changed_properties, "a{sv}", &iter);
770s # while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, key);
770s # g_datalist_remove_data (&proxy->priv->qdata, key);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # g_variant_iter_free (iter);
770s # for (n = 0; invalidated_properties[n] != NULL; n++)
770s # {
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, invalidated_properties[n]);
770s # g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
770s # if (info != NULL)
770s # g_object_notify (G_OBJECT (proxy), info->hyphen_name);
770s # }
770s # }
770s #
770s # static const gchar *
770s # com_acme_coyote_proxy_get_mood (ComAcmeCoyote *object)
770s # {
770s # ComAcmeCoyoteProxy *proxy = COM_ACME_COYOTE_PROXY (object);
770s # GVariant *variant;
770s # const gchar *value = NULL;
770s # variant = g_dbus_proxy_get_cached_property (G_DBUS_PROXY (proxy), "Mood");
770s # if (variant != NULL)
770s # {
770s # value = g_variant_get_string (variant, NULL);
770s # g_variant_unref (variant);
770s # }
770s # return value;
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_init (ComAcmeCoyoteProxy *proxy)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # proxy->priv = com_acme_coyote_proxy_get_instance_private (proxy);
770s # #else
770s # proxy->priv = G_TYPE_INSTANCE_GET_PRIVATE (proxy, TYPE_COM_ACME_COYOTE_PROXY, ComAcmeCoyoteProxyPrivate);
770s # #endif
770s #
770s # g_dbus_proxy_set_interface_info (G_DBUS_PROXY (proxy), com_acme_coyote_interface_info ());
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_class_init (ComAcmeCoyoteProxyClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusProxyClass *proxy_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = com_acme_coyote_proxy_finalize;
770s # gobject_class->get_property = com_acme_coyote_proxy_get_property;
770s # gobject_class->set_property = com_acme_coyote_proxy_set_property;
770s #
770s # proxy_class = G_DBUS_PROXY_CLASS (klass);
770s # proxy_class->g_signal = com_acme_coyote_proxy_g_signal;
770s # proxy_class->g_properties_changed = com_acme_coyote_proxy_g_properties_changed;
770s #
770s # com_acme_coyote_override_properties (gobject_class, 1);
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteProxyPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # com_acme_coyote_proxy_iface_init (ComAcmeCoyoteIface *iface)
770s # {
770s # iface->get_mood = com_acme_coyote_proxy_get_mood;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Asynchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new() for more details.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_proxy_new_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_proxy_new_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # com_acme_coyote_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with com_acme_coyote_proxy_new().
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_sync:
770s # * @connection: A #GDBusConnection.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: (nullable): A bus name (well-known or unique) or %NULL if @connection is not a message bus connection.
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Synchronously creates a proxy for the D-Bus interface com.acme.Coyote. See g_dbus_proxy_new_sync() for more details.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_proxy_new() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_for_bus:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @callback: A #GAsyncReadyCallback to call when the request is satisfied.
770s # * @user_data: User data to pass to @callback.
770s # *
770s # * Like com_acme_coyote_proxy_new() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * When the operation is finished, @callback will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
770s # * You can then call com_acme_coyote_proxy_new_for_bus_finish() to get the result of the operation.
770s # *
770s # * See com_acme_coyote_proxy_new_for_bus_sync() for the synchronous, blocking version of this constructor.
770s # */
770s # void
770s # com_acme_coyote_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data)
770s # {
770s # 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);
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_for_bus_finish:
770s # * @res: The #GAsyncResult obtained from the #GAsyncReadyCallback passed to com_acme_coyote_proxy_new_for_bus().
770s # * @error: Return location for error or %NULL
770s # *
770s # * Finishes an operation started with com_acme_coyote_proxy_new_for_bus().
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error)
770s # {
770s # GObject *ret;
770s # GObject *source_object;
770s # source_object = g_async_result_get_source_object (res);
770s # ret = g_async_initable_new_finish (G_ASYNC_INITABLE (source_object), res, error);
770s # g_object_unref (source_object);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_proxy_new_for_bus_sync:
770s # * @bus_type: A #GBusType.
770s # * @flags: Flags from the #GDBusProxyFlags enumeration.
770s # * @name: A bus name (well-known or unique).
770s # * @object_path: An object path.
770s # * @cancellable: (nullable): A #GCancellable or %NULL.
770s # * @error: Return location for error or %NULL
770s # *
770s # * Like com_acme_coyote_proxy_new_sync() but takes a #GBusType instead of a #GDBusConnection.
770s # *
770s # * The calling thread is blocked until a reply is received.
770s # *
770s # * See com_acme_coyote_proxy_new_for_bus() for the asynchronous version of this constructor.
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteProxy): The constructed proxy object or %NULL if @error is set.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error)
770s # {
770s # GInitable *ret;
770s # 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);
770s # if (ret != NULL)
770s # return COM_ACME_COYOTE (ret);
770s # else
770s # return NULL;
770s # }
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s #
770s # /**
770s # * ComAcmeCoyoteSkeleton:
770s # *
770s # * The #ComAcmeCoyoteSkeleton structure contains only private data and should only be accessed using the provided API.
770s # */
770s #
770s # /**
770s # * ComAcmeCoyoteSkeletonClass:
770s # * @parent_class: The parent class.
770s # *
770s # * Class structure for #ComAcmeCoyoteSkeleton.
770s # */
770s #
770s # struct _ComAcmeCoyoteSkeletonPrivate
770s # {
770s # GValue *properties;
770s # GList *changed_properties;
770s # GSource *changed_properties_idle_source;
770s # GMainContext *context;
770s # GMutex lock;
770s # };
770s #
770s # static void
770s # _com_acme_coyote_skeleton_handle_method_call (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name,
770s # const gchar *method_name,
770s # GVariant *parameters,
770s # GDBusMethodInvocation *invocation,
770s # gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # _ExtendedGDBusMethodInfo *info;
770s # GVariantIter iter;
770s # GVariant *child;
770s # GValue *paramv;
770s # gsize num_params;
770s # guint num_extra;
770s # gsize n;
770s # guint signal_id;
770s # GValue return_value = G_VALUE_INIT;
770s # info = (_ExtendedGDBusMethodInfo *) g_dbus_method_invocation_get_method_info (invocation);
770s # g_assert (info != NULL);
770s # num_params = g_variant_n_children (parameters);
770s # num_extra = info->pass_fdlist ? 3 : 2; paramv = g_new0 (GValue, num_params + num_extra);
770s # n = 0;
770s # g_value_init (¶mv[n], TYPE_COM_ACME_COYOTE);
770s # g_value_set_object (¶mv[n++], skeleton);
770s # g_value_init (¶mv[n], G_TYPE_DBUS_METHOD_INVOCATION);
770s # g_value_set_object (¶mv[n++], invocation);
770s # if (info->pass_fdlist)
770s # {
770s # #ifdef G_OS_UNIX
770s # g_value_init (¶mv[n], G_TYPE_UNIX_FD_LIST);
770s # g_value_set_object (¶mv[n++], g_dbus_message_get_unix_fd_list (g_dbus_method_invocation_get_message (invocation)));
770s # #else
770s # g_assert_not_reached ();
770s # #endif
770s # }
770s # g_variant_iter_init (&iter, parameters);
770s # while ((child = g_variant_iter_next_value (&iter)) != NULL)
770s # {
770s # _ExtendedGDBusArgInfo *arg_info = (_ExtendedGDBusArgInfo *) info->parent_struct.in_args[n - num_extra];
770s # if (arg_info->use_gvariant)
770s # {
770s # g_value_init (¶mv[n], G_TYPE_VARIANT);
770s # g_value_set_variant (¶mv[n], child);
770s # n++;
770s # }
770s # else
770s # g_dbus_gvariant_to_gvalue (child, ¶mv[n++]);
770s # g_variant_unref (child);
770s # }
770s # signal_id = g_signal_lookup (info->signal_name, TYPE_COM_ACME_COYOTE);
770s # g_value_init (&return_value, G_TYPE_BOOLEAN);
770s # g_signal_emitv (paramv, signal_id, 0, &return_value);
770s # if (!g_value_get_boolean (&return_value))
770s # g_dbus_method_invocation_return_error (invocation, G_DBUS_ERROR, G_DBUS_ERROR_UNKNOWN_METHOD, "Method %s is not implemented on interface %s", method_name, interface_name);
770s # g_value_unset (&return_value);
770s # for (n = 0; n < num_params + num_extra; n++)
770s # g_value_unset (¶mv[n]);
770s # g_free (paramv);
770s # }
770s #
770s # static GVariant *
770s # _com_acme_coyote_skeleton_handle_get_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # GVariant *ret;
770s # ret = NULL;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # g_value_init (&value, pspec->value_type);
770s # g_object_get_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # ret = g_dbus_gvalue_to_gvariant (&value, G_VARIANT_TYPE (info->parent_struct.signature));
770s # g_value_unset (&value);
770s # }
770s # return ret;
770s # }
770s #
770s # static gboolean
770s # _com_acme_coyote_skeleton_handle_set_property (
770s # GDBusConnection *connection G_GNUC_UNUSED,
770s # const gchar *sender G_GNUC_UNUSED,
770s # const gchar *object_path G_GNUC_UNUSED,
770s # const gchar *interface_name G_GNUC_UNUSED,
770s # const gchar *property_name,
770s # GVariant *variant,
770s # GError **error,
770s # gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # GValue value = G_VALUE_INIT;
770s # GParamSpec *pspec;
770s # _ExtendedGDBusPropertyInfo *info;
770s # gboolean ret;
770s # ret = FALSE;
770s # info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_com_acme_coyote_interface_info.parent_struct, property_name);
770s # g_assert (info != NULL);
770s # pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
770s # if (pspec == NULL)
770s # {
770s # g_set_error (error, G_DBUS_ERROR, G_DBUS_ERROR_INVALID_ARGS, "No property with name %s", property_name);
770s # }
770s # else
770s # {
770s # if (info->use_gvariant)
770s # g_value_set_variant (&value, variant);
770s # else
770s # g_dbus_gvariant_to_gvalue (variant, &value);
770s # g_object_set_property (G_OBJECT (skeleton), info->hyphen_name, &value);
770s # g_value_unset (&value);
770s # ret = TRUE;
770s # }
770s # return ret;
770s # }
770s #
770s # static const GDBusInterfaceVTable _com_acme_coyote_skeleton_vtable =
770s # {
770s # _com_acme_coyote_skeleton_handle_method_call,
770s # _com_acme_coyote_skeleton_handle_get_property,
770s # _com_acme_coyote_skeleton_handle_set_property,
770s # {NULL}
770s # };
770s #
770s # static GDBusInterfaceInfo *
770s # com_acme_coyote_skeleton_dbus_interface_get_info (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return com_acme_coyote_interface_info ();
770s # }
770s #
770s # static GDBusInterfaceVTable *
770s # com_acme_coyote_skeleton_dbus_interface_get_vtable (GDBusInterfaceSkeleton *skeleton G_GNUC_UNUSED)
770s # {
770s # return (GDBusInterfaceVTable *) &_com_acme_coyote_skeleton_vtable;
770s # }
770s #
770s # static GVariant *
770s # com_acme_coyote_skeleton_dbus_interface_get_properties (GDBusInterfaceSkeleton *_skeleton)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
770s #
770s # GVariantBuilder builder;
770s # guint n;
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
770s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #else
770s # g_variant_builder_init(&builder, G_VARIANT_TYPE ("a{sv}"));
770s # #endif
770s # if (_com_acme_coyote_interface_info.parent_struct.properties == NULL)
770s # goto out;
770s # for (n = 0; _com_acme_coyote_interface_info.parent_struct.properties[n] != NULL; n++)
770s # {
770s # GDBusPropertyInfo *info = _com_acme_coyote_interface_info.parent_struct.properties[n];
770s # if (info->flags & G_DBUS_PROPERTY_INFO_FLAGS_READABLE)
770s # {
770s # GVariant *value;
770s # 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);
770s # if (value != NULL)
770s # {
770s # g_variant_take_ref (value);
770s # g_variant_builder_add (&builder, "{sv}", info->name, value);
770s # g_variant_unref (value);
770s # }
770s # }
770s # }
770s # out:
770s # return g_variant_builder_end (&builder);
770s # }
770s #
770s # static gboolean _com_acme_coyote_emit_changed (gpointer user_data);
770s #
770s # static void
770s # com_acme_coyote_skeleton_dbus_interface_flush (GDBusInterfaceSkeleton *_skeleton)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (_skeleton);
770s # gboolean emit_changed = FALSE;
770s #
770s # g_mutex_lock (&skeleton->priv->lock);
770s # if (skeleton->priv->changed_properties_idle_source != NULL)
770s # {
770s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
770s # skeleton->priv->changed_properties_idle_source = NULL;
770s # emit_changed = TRUE;
770s # }
770s # g_mutex_unlock (&skeleton->priv->lock);
770s #
770s # if (emit_changed)
770s # _com_acme_coyote_emit_changed (skeleton);
770s # }
770s #
770s # static void
770s # _com_acme_coyote_on_signal_surprised (
770s # ComAcmeCoyote *object)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s #
770s # GList *connections, *l;
770s # GVariant *signal_variant;
770s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
770s #
770s # signal_variant = g_variant_ref_sink (g_variant_new ("()"));
770s # for (l = connections; l != NULL; l = l->next)
770s # {
770s # GDBusConnection *connection = l->data;
770s # g_dbus_connection_emit_signal (connection,
770s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)), "com.acme.Coyote", "Surprised",
770s # signal_variant, NULL);
770s # }
770s # g_variant_unref (signal_variant);
770s # g_list_free_full (connections, g_object_unref);
770s # }
770s #
770s # static void com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface);
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_ADD_PRIVATE (ComAcmeCoyoteSkeleton)
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
770s #
770s # #else
770s # G_DEFINE_TYPE_WITH_CODE (ComAcmeCoyoteSkeleton, com_acme_coyote_skeleton, G_TYPE_DBUS_INTERFACE_SKELETON,
770s # G_IMPLEMENT_INTERFACE (TYPE_COM_ACME_COYOTE, com_acme_coyote_skeleton_iface_init))
770s #
770s # #endif
770s # static void
770s # com_acme_coyote_skeleton_finalize (GObject *object)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # guint n;
770s # for (n = 0; n < 1; n++)
770s # g_value_unset (&skeleton->priv->properties[n]);
770s # g_free (skeleton->priv->properties);
770s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
770s # if (skeleton->priv->changed_properties_idle_source != NULL)
770s # g_source_destroy (skeleton->priv->changed_properties_idle_source);
770s # g_main_context_unref (skeleton->priv->context);
770s # g_mutex_clear (&skeleton->priv->lock);
770s # G_OBJECT_CLASS (com_acme_coyote_skeleton_parent_class)->finalize (object);
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_get_property (GObject *object,
770s # guint prop_id,
770s # GValue *value,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # g_mutex_lock (&skeleton->priv->lock);
770s # g_value_copy (&skeleton->priv->properties[prop_id - 1], value);
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # }
770s #
770s # static gboolean
770s # _com_acme_coyote_emit_changed (gpointer user_data)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (user_data);
770s # GList *l;
770s # GVariantBuilder builder;
770s # GVariantBuilder invalidated_builder;
770s # guint num_changes;
770s #
770s # g_mutex_lock (&skeleton->priv->lock);
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_84
770s # g_variant_builder_init_static (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # g_variant_builder_init_static (&invalidated_builder, G_VARIANT_TYPE ("as"));
770s # #else
770s # g_variant_builder_init (&builder, G_VARIANT_TYPE ("a{sv}"));
770s # g_variant_builder_init (&invalidated_builder, G_VARIANT_TYPE ("as"));
770s # #endif
770s # for (l = skeleton->priv->changed_properties, num_changes = 0; l != NULL; l = l->next)
770s # {
770s # ChangedProperty *cp = l->data;
770s # GVariant *variant;
770s # const GValue *cur_value;
770s #
770s # cur_value = &skeleton->priv->properties[cp->prop_id - 1];
770s # if (!_g_value_equal (cur_value, &cp->orig_value))
770s # {
770s # variant = g_dbus_gvalue_to_gvariant (cur_value, G_VARIANT_TYPE (cp->info->parent_struct.signature));
770s # g_variant_builder_add (&builder, "{sv}", cp->info->parent_struct.name, variant);
770s # g_variant_unref (variant);
770s # num_changes++;
770s # }
770s # }
770s # if (num_changes > 0)
770s # {
770s # GList *connections, *ll;
770s # GVariant *signal_variant;
770s # signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "com.acme.Coyote",
770s # &builder, &invalidated_builder));
770s # connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
770s # for (ll = connections; ll != NULL; ll = ll->next)
770s # {
770s # GDBusConnection *connection = ll->data;
770s #
770s # g_dbus_connection_emit_signal (connection,
770s # NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),
770s # "org.freedesktop.DBus.Properties",
770s # "PropertiesChanged",
770s # signal_variant,
770s # NULL);
770s # }
770s # g_variant_unref (signal_variant);
770s # g_list_free_full (connections, g_object_unref);
770s # }
770s # else
770s # {
770s # g_variant_builder_clear (&builder);
770s # g_variant_builder_clear (&invalidated_builder);
770s # }
770s # g_list_free_full (skeleton->priv->changed_properties, (GDestroyNotify) _changed_property_free);
770s # skeleton->priv->changed_properties = NULL;
770s # skeleton->priv->changed_properties_idle_source = NULL;
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # return FALSE;
770s # }
770s #
770s # static void
770s # _com_acme_coyote_schedule_emit_changed (ComAcmeCoyoteSkeleton *skeleton, const _ExtendedGDBusPropertyInfo *info, guint prop_id, const GValue *orig_value)
770s # {
770s # ChangedProperty *cp;
770s # GList *l;
770s # cp = NULL;
770s # for (l = skeleton->priv->changed_properties; l != NULL; l = l->next)
770s # {
770s # ChangedProperty *i_cp = l->data;
770s # if (i_cp->info == info)
770s # {
770s # cp = i_cp;
770s # break;
770s # }
770s # }
770s # if (cp == NULL)
770s # {
770s # cp = g_new0 (ChangedProperty, 1);
770s # cp->prop_id = prop_id;
770s # cp->info = info;
770s # skeleton->priv->changed_properties = g_list_prepend (skeleton->priv->changed_properties, cp);
770s # g_value_init (&cp->orig_value, G_VALUE_TYPE (orig_value));
770s # g_value_copy (orig_value, &cp->orig_value);
770s # }
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_notify (GObject *object,
770s # GParamSpec *pspec G_GNUC_UNUSED)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # g_mutex_lock (&skeleton->priv->lock);
770s # if (skeleton->priv->changed_properties != NULL &&
770s # skeleton->priv->changed_properties_idle_source == NULL)
770s # {
770s # skeleton->priv->changed_properties_idle_source = g_idle_source_new ();
770s # g_source_set_priority (skeleton->priv->changed_properties_idle_source, G_PRIORITY_DEFAULT);
770s # g_source_set_callback (skeleton->priv->changed_properties_idle_source, _com_acme_coyote_emit_changed, g_object_ref (skeleton), (GDestroyNotify) g_object_unref);
770s # g_source_set_name (skeleton->priv->changed_properties_idle_source, "[generated] _com_acme_coyote_emit_changed");
770s # g_source_attach (skeleton->priv->changed_properties_idle_source, skeleton->priv->context);
770s # g_source_unref (skeleton->priv->changed_properties_idle_source);
770s # }
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_set_property (GObject *object,
770s # guint prop_id,
770s # const GValue *value,
770s # GParamSpec *pspec)
770s # {
770s # const _ExtendedGDBusPropertyInfo *info;
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # g_assert (prop_id != 0 && prop_id - 1 < 1);
770s # info = (const _ExtendedGDBusPropertyInfo *) _com_acme_coyote_property_info_pointers[prop_id - 1];
770s # g_mutex_lock (&skeleton->priv->lock);
770s # g_object_freeze_notify (object);
770s # if (!_g_value_equal (value, &skeleton->priv->properties[prop_id - 1]))
770s # {
770s # if (g_dbus_interface_skeleton_get_connection (G_DBUS_INTERFACE_SKELETON (skeleton)) != NULL &&
770s # info->emits_changed_signal)
770s # _com_acme_coyote_schedule_emit_changed (skeleton, info, prop_id, &skeleton->priv->properties[prop_id - 1]);
770s # g_value_copy (value, &skeleton->priv->properties[prop_id - 1]);
770s # g_object_notify_by_pspec (object, pspec);
770s # }
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # g_object_thaw_notify (object);
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_init (ComAcmeCoyoteSkeleton *skeleton)
770s # {
770s # #if GLIB_VERSION_MAX_ALLOWED >= GLIB_VERSION_2_38
770s # skeleton->priv = com_acme_coyote_skeleton_get_instance_private (skeleton);
770s # #else
770s # skeleton->priv = G_TYPE_INSTANCE_GET_PRIVATE (skeleton, TYPE_COM_ACME_COYOTE_SKELETON, ComAcmeCoyoteSkeletonPrivate);
770s # #endif
770s #
770s # g_mutex_init (&skeleton->priv->lock);
770s # skeleton->priv->context = g_main_context_ref_thread_default ();
770s # skeleton->priv->properties = g_new0 (GValue, 1);
770s # g_value_init (&skeleton->priv->properties[0], G_TYPE_STRING);
770s # }
770s #
770s # static const gchar *
770s # com_acme_coyote_skeleton_get_mood (ComAcmeCoyote *object)
770s # {
770s # ComAcmeCoyoteSkeleton *skeleton = COM_ACME_COYOTE_SKELETON (object);
770s # const gchar *value;
770s # g_mutex_lock (&skeleton->priv->lock);
770s # value = g_marshal_value_peek_string (&(skeleton->priv->properties[0]));
770s # g_mutex_unlock (&skeleton->priv->lock);
770s # return value;
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_class_init (ComAcmeCoyoteSkeletonClass *klass)
770s # {
770s # GObjectClass *gobject_class;
770s # GDBusInterfaceSkeletonClass *skeleton_class;
770s #
770s # gobject_class = G_OBJECT_CLASS (klass);
770s # gobject_class->finalize = com_acme_coyote_skeleton_finalize;
770s # gobject_class->get_property = com_acme_coyote_skeleton_get_property;
770s # gobject_class->set_property = com_acme_coyote_skeleton_set_property;
770s # gobject_class->notify = com_acme_coyote_skeleton_notify;
770s #
770s #
770s # com_acme_coyote_override_properties (gobject_class, 1);
770s #
770s # skeleton_class = G_DBUS_INTERFACE_SKELETON_CLASS (klass);
770s # skeleton_class->get_info = com_acme_coyote_skeleton_dbus_interface_get_info;
770s # skeleton_class->get_properties = com_acme_coyote_skeleton_dbus_interface_get_properties;
770s # skeleton_class->flush = com_acme_coyote_skeleton_dbus_interface_flush;
770s # skeleton_class->get_vtable = com_acme_coyote_skeleton_dbus_interface_get_vtable;
770s #
770s # #if GLIB_VERSION_MAX_ALLOWED < GLIB_VERSION_2_38
770s # g_type_class_add_private (klass, sizeof (ComAcmeCoyoteSkeletonPrivate));
770s # #endif
770s # }
770s #
770s # static void
770s # com_acme_coyote_skeleton_iface_init (ComAcmeCoyoteIface *iface)
770s # {
770s # iface->surprised = _com_acme_coyote_on_signal_surprised;
770s # iface->get_mood = com_acme_coyote_skeleton_get_mood;
770s # }
770s #
770s # /**
770s # * com_acme_coyote_skeleton_new:
770s # *
770s # * Creates a skeleton object for the D-Bus interface com.acme.Coyote.
770s # *
770s # * Returns: (transfer full) (type ComAcmeCoyoteSkeleton): The skeleton object.
770s # */
770s # ComAcmeCoyote *
770s # com_acme_coyote_skeleton_new (void)
770s # {
770s # return COM_ACME_COYOTE (g_object_new (TYPE_COM_ACME_COYOTE_SKELETON, NULL));
770s # }
770s # Error:
770s ok 39 __main__.TestCodegen.test_unix_fd_types_and_annotations
770s # gdbus-codegen: /usr/bin/gdbus-codegen
770s # tmpdir: /tmp/tmpj26t7ybc
770s # /tmp/tmpj26t7ybc/tmpa3wwg7r3.xml:
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj26t7ybc/tmpa3wwg7r3.xml', '--output', '-', '--header']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s # /* Declarations for FDPassing */
770s #
770s # #define TYPE_FDPASSING (fdpassing_get_type ())
770s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
770s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
770s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
770s #
770s # struct _FDPassing;
770s # typedef struct _FDPassing FDPassing;
770s # typedef struct _FDPassingIface FDPassingIface;
770s #
770s # struct _FDPassingIface
770s # {
770s # GTypeInterface parent_iface;
770s #
770s # gboolean (*handle_hello_fd) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # const gchar *arg_greeting);
770s #
770s # gboolean (*handle_no_annotation) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale);
770s #
770s # gboolean (*handle_no_annotation_nested) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GVariant *arg_files);
770s #
770s # };
770s #
770s # GType fdpassing_get_type (void) G_GNUC_CONST;
770s #
770s # GDBusInterfaceInfo *fdpassing_interface_info (void);
770s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
770s #
770s #
770s # /* D-Bus method call completion functions: */
770s # void fdpassing_complete_hello_fd (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # const gchar *response);
770s #
770s # void fdpassing_complete_no_annotation (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GVariant *response,
770s # const gchar *response_locale);
770s #
770s # void fdpassing_complete_no_annotation_nested (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s #
770s #
770s # /* D-Bus method calls: */
770s # void fdpassing_call_hello_fd (
770s # FDPassing *proxy,
770s # const gchar *arg_greeting,
770s # GUnixFDList *fd_list,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_hello_fd_finish (
770s # FDPassing *proxy,
770s # gchar **out_response,
770s # GUnixFDList **out_fd_list,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_hello_fd_sync (
770s # FDPassing *proxy,
770s # const gchar *arg_greeting,
770s # GUnixFDList *fd_list,
770s # gchar **out_response,
770s # GUnixFDList **out_fd_list,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_call_no_annotation (
770s # FDPassing *proxy,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_no_annotation_finish (
770s # FDPassing *proxy,
770s # GVariant **out_response,
770s # gchar **out_response_locale,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_no_annotation_sync (
770s # FDPassing *proxy,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale,
770s # GVariant **out_response,
770s # gchar **out_response_locale,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_call_no_annotation_nested (
770s # FDPassing *proxy,
770s # GVariant *arg_files,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_no_annotation_nested_finish (
770s # FDPassing *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_no_annotation_nested_sync (
770s # FDPassing *proxy,
770s # GVariant *arg_files,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
770s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
770s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
770s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
770s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
770s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
770s #
770s # typedef struct _FDPassingProxy FDPassingProxy;
770s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
770s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
770s #
770s # struct _FDPassingProxy
770s # {
770s # /*< private >*/
770s # GDBusProxy parent_instance;
770s # FDPassingProxyPrivate *priv;
770s # };
770s #
770s # struct _FDPassingProxyClass
770s # {
770s # GDBusProxyClass parent_class;
770s # };
770s #
770s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
770s # #endif
770s #
770s # void fdpassing_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # FDPassing *fdpassing_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # FDPassing *fdpassing_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # FDPassing *fdpassing_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # FDPassing *fdpassing_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
770s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
770s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
770s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
770s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
770s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
770s #
770s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
770s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
770s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
770s #
770s # struct _FDPassingSkeleton
770s # {
770s # /*< private >*/
770s # GDBusInterfaceSkeleton parent_instance;
770s # FDPassingSkeletonPrivate *priv;
770s # };
770s #
770s # struct _FDPassingSkeletonClass
770s # {
770s # GDBusInterfaceSkeletonClass parent_class;
770s # };
770s #
770s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
770s # #endif
770s #
770s # FDPassing *fdpassing_skeleton_new (void);
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s #
770s # /tmp/tmpj26t7ybc/tmpkpv7rde6.xml:
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj26t7ybc/tmpkpv7rde6.xml', '--output', '-', '--header', '--glib-min-required', '2.32']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s # /* Declarations for FDPassing */
770s #
770s # #define TYPE_FDPASSING (fdpassing_get_type ())
770s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
770s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
770s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
770s #
770s # struct _FDPassing;
770s # typedef struct _FDPassing FDPassing;
770s # typedef struct _FDPassingIface FDPassingIface;
770s #
770s # struct _FDPassingIface
770s # {
770s # GTypeInterface parent_iface;
770s #
770s # gboolean (*handle_hello_fd) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # const gchar *arg_greeting);
770s #
770s # gboolean (*handle_no_annotation) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale);
770s #
770s # gboolean (*handle_no_annotation_nested) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GVariant *arg_files);
770s #
770s # };
770s #
770s # GType fdpassing_get_type (void) G_GNUC_CONST;
770s #
770s # GDBusInterfaceInfo *fdpassing_interface_info (void);
770s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
770s #
770s #
770s # /* D-Bus method call completion functions: */
770s # void fdpassing_complete_hello_fd (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # const gchar *response);
770s #
770s # void fdpassing_complete_no_annotation (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GVariant *response,
770s # const gchar *response_locale);
770s #
770s # void fdpassing_complete_no_annotation_nested (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation);
770s #
770s #
770s #
770s # /* D-Bus method calls: */
770s # void fdpassing_call_hello_fd (
770s # FDPassing *proxy,
770s # const gchar *arg_greeting,
770s # GUnixFDList *fd_list,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_hello_fd_finish (
770s # FDPassing *proxy,
770s # gchar **out_response,
770s # GUnixFDList **out_fd_list,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_hello_fd_sync (
770s # FDPassing *proxy,
770s # const gchar *arg_greeting,
770s # GUnixFDList *fd_list,
770s # gchar **out_response,
770s # GUnixFDList **out_fd_list,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_call_no_annotation (
770s # FDPassing *proxy,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_no_annotation_finish (
770s # FDPassing *proxy,
770s # GVariant **out_response,
770s # gchar **out_response_locale,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_no_annotation_sync (
770s # FDPassing *proxy,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale,
770s # GVariant **out_response,
770s # gchar **out_response_locale,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_call_no_annotation_nested (
770s # FDPassing *proxy,
770s # GVariant *arg_files,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_no_annotation_nested_finish (
770s # FDPassing *proxy,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_no_annotation_nested_sync (
770s # FDPassing *proxy,
770s # GVariant *arg_files,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
770s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
770s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
770s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
770s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
770s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
770s #
770s # typedef struct _FDPassingProxy FDPassingProxy;
770s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
770s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
770s #
770s # struct _FDPassingProxy
770s # {
770s # /*< private >*/
770s # GDBusProxy parent_instance;
770s # FDPassingProxyPrivate *priv;
770s # };
770s #
770s # struct _FDPassingProxyClass
770s # {
770s # GDBusProxyClass parent_class;
770s # };
770s #
770s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
770s # #endif
770s #
770s # void fdpassing_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # FDPassing *fdpassing_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # FDPassing *fdpassing_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # FDPassing *fdpassing_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # FDPassing *fdpassing_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
770s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
770s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
770s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
770s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
770s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
770s #
770s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
770s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
770s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
770s #
770s # struct _FDPassingSkeleton
770s # {
770s # /*< private >*/
770s # GDBusInterfaceSkeleton parent_instance;
770s # FDPassingSkeletonPrivate *priv;
770s # };
770s #
770s # struct _FDPassingSkeletonClass
770s # {
770s # GDBusInterfaceSkeletonClass parent_class;
770s # };
770s #
770s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
770s # #endif
770s #
770s # FDPassing *fdpassing_skeleton_new (void);
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s #
770s # /tmp/tmpj26t7ybc/tmpuhtkw99i.xml:
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s #
770s # Running: ['/usr/bin/gdbus-codegen', '/tmp/tmpj26t7ybc/tmpuhtkw99i.xml', '--output', '-', '--header', '--glib-min-required', '2.64']
770s # Return code: 0
770s # Output:
770s # /*
770s # * This file is generated by gdbus-codegen, do not modify it.
770s # *
770s # * The license of this code is the same as for the D-Bus interface description
770s # * it was derived from. Note that it links to GLib, so must comply with the
770s # * LGPL linking clauses.
770s # */
770s #
770s # #ifndef __STDOUT__
770s # #define __STDOUT__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # /* ------------------------------------------------------------------------ */
770s # /* Declarations for FDPassing */
770s #
770s # #define TYPE_FDPASSING (fdpassing_get_type ())
770s # #define FDPASSING(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING, FDPassing))
770s # #define IS_FDPASSING(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING))
770s # #define FDPASSING_GET_IFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), TYPE_FDPASSING, FDPassingIface))
770s #
770s # struct _FDPassing;
770s # typedef struct _FDPassing FDPassing;
770s # typedef struct _FDPassingIface FDPassingIface;
770s #
770s # struct _FDPassingIface
770s # {
770s # GTypeInterface parent_iface;
770s #
770s # gboolean (*handle_hello_fd) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # const gchar *arg_greeting);
770s #
770s # gboolean (*handle_no_annotation) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale);
770s #
770s # gboolean (*handle_no_annotation_nested) (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # GVariant *arg_files);
770s #
770s # };
770s #
770s # GType fdpassing_get_type (void) G_GNUC_CONST;
770s #
770s # GDBusInterfaceInfo *fdpassing_interface_info (void);
770s # guint fdpassing_override_properties (GObjectClass *klass, guint property_id_begin);
770s #
770s #
770s # /* D-Bus method call completion functions: */
770s # void fdpassing_complete_hello_fd (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # const gchar *response);
770s #
770s # void fdpassing_complete_no_annotation (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list,
770s # GVariant *response,
770s # const gchar *response_locale);
770s #
770s # void fdpassing_complete_no_annotation_nested (
770s # FDPassing *object,
770s # GDBusMethodInvocation *invocation,
770s # GUnixFDList *fd_list);
770s #
770s #
770s #
770s # /* D-Bus method calls: */
770s # void fdpassing_call_hello_fd (
770s # FDPassing *proxy,
770s # const gchar *arg_greeting,
770s # GDBusCallFlags call_flags,
770s # gint timeout_msec,
770s # GUnixFDList *fd_list,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_hello_fd_finish (
770s # FDPassing *proxy,
770s # gchar **out_response,
770s # GUnixFDList **out_fd_list,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_hello_fd_sync (
770s # FDPassing *proxy,
770s # const gchar *arg_greeting,
770s # GDBusCallFlags call_flags,
770s # gint timeout_msec,
770s # GUnixFDList *fd_list,
770s # gchar **out_response,
770s # GUnixFDList **out_fd_list,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_call_no_annotation (
770s # FDPassing *proxy,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale,
770s # GDBusCallFlags call_flags,
770s # gint timeout_msec,
770s # GUnixFDList *fd_list,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_no_annotation_finish (
770s # FDPassing *proxy,
770s # GVariant **out_response,
770s # gchar **out_response_locale,
770s # GUnixFDList **out_fd_list,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_no_annotation_sync (
770s # FDPassing *proxy,
770s # GVariant *arg_greeting,
770s # const gchar *arg_greeting_locale,
770s # GDBusCallFlags call_flags,
770s # gint timeout_msec,
770s # GUnixFDList *fd_list,
770s # GVariant **out_response,
770s # gchar **out_response_locale,
770s # GUnixFDList **out_fd_list,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_call_no_annotation_nested (
770s # FDPassing *proxy,
770s # GVariant *arg_files,
770s # GDBusCallFlags call_flags,
770s # gint timeout_msec,
770s # GUnixFDList *fd_list,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s #
770s # gboolean fdpassing_call_no_annotation_nested_finish (
770s # FDPassing *proxy,
770s # GUnixFDList **out_fd_list,
770s # GAsyncResult *res,
770s # GError **error);
770s #
770s # gboolean fdpassing_call_no_annotation_nested_sync (
770s # FDPassing *proxy,
770s # GVariant *arg_files,
770s # GDBusCallFlags call_flags,
770s # gint timeout_msec,
770s # GUnixFDList *fd_list,
770s # GUnixFDList **out_fd_list,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_FDPASSING_PROXY (fdpassing_proxy_get_type ())
770s # #define FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_PROXY, FDPassingProxy))
770s # #define FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
770s # #define FDPASSING_PROXY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_PROXY, FDPassingProxyClass))
770s # #define IS_FDPASSING_PROXY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_PROXY))
770s # #define IS_FDPASSING_PROXY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_PROXY))
770s #
770s # typedef struct _FDPassingProxy FDPassingProxy;
770s # typedef struct _FDPassingProxyClass FDPassingProxyClass;
770s # typedef struct _FDPassingProxyPrivate FDPassingProxyPrivate;
770s #
770s # struct _FDPassingProxy
770s # {
770s # /*< private >*/
770s # GDBusProxy parent_instance;
770s # FDPassingProxyPrivate *priv;
770s # };
770s #
770s # struct _FDPassingProxyClass
770s # {
770s # GDBusProxyClass parent_class;
770s # };
770s #
770s # GType fdpassing_proxy_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingProxy, g_object_unref)
770s # #endif
770s #
770s # void fdpassing_proxy_new (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # FDPassing *fdpassing_proxy_new_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # FDPassing *fdpassing_proxy_new_sync (
770s # GDBusConnection *connection,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s # void fdpassing_proxy_new_for_bus (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GAsyncReadyCallback callback,
770s # gpointer user_data);
770s # FDPassing *fdpassing_proxy_new_for_bus_finish (
770s # GAsyncResult *res,
770s # GError **error);
770s # FDPassing *fdpassing_proxy_new_for_bus_sync (
770s # GBusType bus_type,
770s # GDBusProxyFlags flags,
770s # const gchar *name,
770s # const gchar *object_path,
770s # GCancellable *cancellable,
770s # GError **error);
770s #
770s #
770s # /* ---- */
770s #
770s # #define TYPE_FDPASSING_SKELETON (fdpassing_skeleton_get_type ())
770s # #define FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeleton))
770s # #define FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
770s # #define FDPASSING_SKELETON_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), TYPE_FDPASSING_SKELETON, FDPassingSkeletonClass))
770s # #define IS_FDPASSING_SKELETON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), TYPE_FDPASSING_SKELETON))
770s # #define IS_FDPASSING_SKELETON_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), TYPE_FDPASSING_SKELETON))
770s #
770s # typedef struct _FDPassingSkeleton FDPassingSkeleton;
770s # typedef struct _FDPassingSkeletonClass FDPassingSkeletonClass;
770s # typedef struct _FDPassingSkeletonPrivate FDPassingSkeletonPrivate;
770s #
770s # struct _FDPassingSkeleton
770s # {
770s # /*< private >*/
770s # GDBusInterfaceSkeleton parent_instance;
770s # FDPassingSkeletonPrivate *priv;
770s # };
770s #
770s # struct _FDPassingSkeletonClass
770s # {
770s # GDBusInterfaceSkeletonClass parent_class;
770s # };
770s #
770s # GType fdpassing_skeleton_get_type (void) G_GNUC_CONST;
770s #
770s # #if GLIB_CHECK_VERSION(2, 44, 0)
770s # G_DEFINE_AUTOPTR_CLEANUP_FUNC (FDPassingSkeleton, g_object_unref)
770s # #endif
770s #
770s # FDPassing *fdpassing_skeleton_new (void);
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __STDOUT__ */
770s # Error:
770s 1..39
770s ok - glib/codegen.py.test
770s # Running test: glib/dump.test
770s ok - glib/dump.test
770s # Running test: glib/gdbus-sasl.test
770s ok - glib/gdbus-sasl.test
770s # Running test: glib/data-output-stream.test
770s TAP version 14
770s # random seed: R02S4a457fbde545d018718d533066d2376a
770s 1..4
770s # Start of dump tests
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_734952/dump/empty-file/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_734952/dump/empty-file/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_734952/dump/empty-file/.dirs/system-config1:/tmp/test_dump_734952/dump/empty-file/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_734952/dump/empty-file/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_734952/dump/empty-file/.dirs/system-data1:/tmp/test_dump_734952/dump/empty-file/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_734952/dump/empty-file/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_734952/dump/empty-file/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_734952/dump/empty-file/.dirs/runtime
770s ok 1 /dump/empty-file
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_734952/dump/missing-get-type/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_734952/dump/missing-get-type/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_734952/dump/missing-get-type/.dirs/system-config1:/tmp/test_dump_734952/dump/missing-get-type/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_734952/dump/missing-get-type/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_734952/dump/missing-get-type/.dirs/system-data1:/tmp/test_dump_734952/dump/missing-get-type/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_734952/dump/missing-get-type/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_734952/dump/missing-get-type/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_734952/dump/missing-get-type/.dirs/runtime
770s Invalid GType function: 'does_not_exist_get_type'
770s ok 2 /dump/missing-get-type
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_734952/dump/missing-quark/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_734952/dump/missing-quark/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_734952/dump/missing-quark/.dirs/system-config1:/tmp/test_dump_734952/dump/missing-quark/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_734952/dump/missing-quark/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_734952/dump/missing-quark/.dirs/system-data1:/tmp/test_dump_734952/dump/missing-quark/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_734952/dump/missing-quark/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_734952/dump/missing-quark/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_734952/dump/missing-quark/.dirs/runtime
770s Invalid error quark function: 'does_not_exist_error'
770s ok 3 /dump/missing-quark
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dump_734952/dump/basic/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dump_734952/dump/basic/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dump_734952/dump/basic/.dirs/system-config1:/tmp/test_dump_734952/dump/basic/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dump_734952/dump/basic/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dump_734952/dump/basic/.dirs/system-data1:/tmp/test_dump_734952/dump/basic/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dump_734952/dump/basic/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dump_734952/dump/basic/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dump_734952/dump/basic/.dirs/runtime
770s ok 4 /dump/basic
770s # End of dump tests
770s TAP version 14
770s # random seed: R02S6f6bed58a987d8b26c368197ff68a9a0
770s 1..1
770s # Start of gdbus tests
770s # Start of sasl tests
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/system-config1:/tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/system-data1:/tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-sasl_9Z0952/gdbus/sasl/server/.dirs/runtime
770s # New handshake: EXTERNAL with incorrect initial response
770s # C:“AUTH EXTERNAL 30â€
770s # Expect: /^REJECTED.*$/
770s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
770s # New handshake: EXTERNAL without initial response, failing to authenticate
770s # C:“AUTH EXTERNALâ€
770s # Expect: /^DATA$/
770s # S:“DATAâ€
770s # C:“DATA 30â€
770s # Expect: /^REJECTED.*$/
770s # S:“REJECTED EXTERNAL DBUS_COOKIE_SHA1â€
770s # New handshake: EXTERNAL with initial response
770s # C:“AUTH EXTERNAL 31303030â€
770s # Expect: /^OK [0-9a-f]+$/
770s # S:“OK 232658f6cf46b823f330ebdb68149234â€
770s # New handshake: EXTERNAL without initial response
770s # C:“AUTH EXTERNALâ€
770s # Expect: /^DATA$/
770s # S:“DATAâ€
770s # C:“DATA 31303030â€
770s # Expect: /^OK [0-9a-f]+$/
770s # S:“OK 232658f6cf46b823f330ebdb68149234â€
770s # New handshake: EXTERNAL with empty authorization identity
770s # C:“AUTH EXTERNALâ€
770s # Expect: /^DATA$/
770s # S:“DATAâ€
770s # C:“DATAâ€
770s # Expect: /^OK [0-9a-f]+$/
770s # S:“OK 232658f6cf46b823f330ebdb68149234â€
770s # New handshake: EXTERNAL with empty authorization identity and whitespace
770s # C:“AUTH EXTERNALâ€
770s # Expect: /^DATA$/
770s # S:“DATAâ€
770s # C:“DATA â€
770s # Expect: /^OK [0-9a-f]+$/
770s # S:“OK 232658f6cf46b823f330ebdb68149234â€
770s ok 1 /gdbus/sasl/server
770s # End of sasl tests
770s # End of gdbus tests
770s TAP version 14
770s # random seed: R02S05744085fb81497a440057be3ac58db6
770s 1..7
770s # Start of data-output-stream tests
770s ok 1 /data-output-stream/basic
770s ok 2 /data-output-stream/write-lines-LF
770s ok 3 /data-output-stream/write-lines-CR
770s ok 4 /data-output-stream/write-lines-CR-LF
770s ok 5 /data-output-stream/write-int
770s ok 6 /data-output-stream/seek
770s ok 7 /data-output-stream/truncate
770s # End of data-output-stream tests
770s ok - glib/data-output-stream.test
770s # Running test: glib/gthash.test
770s ok - glib/gthash.test
770s TAP version 14
770s # random seed: R02S9f7b5f38752b7726aa17ab474cef7ec0
770s 1..1
770s # Start of gthash tests
770s ok 1 /gthash/build-retrieve
770s # End of gthash tests
770s TAP version 14
770s # random seed: R02S9587c5a6c9b8db491e4a1967db1f0a82
770s 1..1
770s # Start of portal-support tests
770s # Start of flatpak tests
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/system-config1:/tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/system-data1:/tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/runtime
770s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-full_4PZ852/portal-support/flatpak/full/.dirs/runtime/.flatpak-info
770s ok 1 /portal-support/flatpak/full
770s # End of flatpak tests
770s # End of portal-support tests
770s # Running test: glib/portal-support-flatpak-full.test
770s ok - glib/portal-support-flatpak-full.test
770s # Running test: glib/portal-support-snap-classic.test
770s TAP version 14
770s # random seed: R02S476709e9cfe7a9d6bb20640b32b1192a
770s 1..3
770s # Start of portal-support tests
770s # Start of snap-classic tests
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl/.dirs/runtime
770s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/no-snapctl: No such file or directory
770s ok 1 /portal-support/snap-classic/no-snapctl
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/runtime
770s # Created snap.yaml in /tmp/test_portal-support-snap-classic_WFB952/meta/snap.yaml
770s # Created snapctl in /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none/.dirs/runtime/snapctl
770s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/none: No such file or directory
770s ok 2 /portal-support/snap-classic/none
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/system-config1:/tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/system-data1:/tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/runtime
770s # Created snap.yaml in /tmp/test_portal-support-snap-classic_WFB952/meta/snap.yaml
770s # Created snapctl in /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all/.dirs/runtime/snapctl
770s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WFB952/portal-support/snap-classic/all: No such file or directory
770s ok 3 /portal-support/snap-classic/all
770s # End of snap-classic tests
770s # End of portal-support tests
770s ok - glib/portal-support-snap-classic.test
770s # Running test: glib/gdbus-names.test
770s Unable to clean up temporary directory /tmp/test_portal-support-snap-classic_WFB952: No such file or directory
770s TAP version 14
770s # random seed: R02S93f907f6fe9b06b22474086680f67e27
770s 1..10
770s # Start of gdbus tests
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/validate-names/.dirs/runtime
770s ok 1 /gdbus/validate-names
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-own-name/.dirs/runtime
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 2 /gdbus/bus-own-name
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name/.dirs/runtime
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 3 /gdbus/bus-watch-name
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start/.dirs/runtime
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 4 /gdbus/bus-watch-name-auto-start
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-auto-start-service-exist/.dirs/runtime
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s dbus-daemon[3867]: [session uid=1000 pid=3867 pidfd=4] Activating service name='org.gtk.GDBus.FakeService' requested by ':1.0' (uid=1000 pid=3858 comm="/usr/libexec/installed-tests/glib/gdbus-names" label="unconfined")
770s # Acquired a message bus connection
770s dbus-daemon[3867]: [session uid=1000 pid=3867 pidfd=4] Successfully activated service 'org.gtk.GDBus.FakeService'
770s # Acquired the name org.gtk.GDBus.FakeService
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 5 /gdbus/bus-watch-name-auto-start-service-exist
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures/.dirs/runtime
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 6 /gdbus/bus-watch-name-closures
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-watch-name-closures-auto-start/.dirs/runtime
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 7 /gdbus/bus-watch-name-closures-auto-start
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-watch-different-context/.dirs/runtime
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 8 /gdbus/bus-watch-different-context
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/bus-unwatch-early/.dirs/runtime
770s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/604
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
770s ok 9 /gdbus/bus-unwatch-early
770s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/home
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/cache
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/system-config1:/tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/system-config2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/config
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/system-data1:/tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/system-data2
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/data
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/state
770s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-names_147852/gdbus/escape-object-path/.dirs/runtime
770s ok 10 /gdbus/escape-object-path
770s # End of gdbus tests
770s ok - glib/gdbus-names.test
770s TAP version 14
770s # random seed: R02S4bdf7dc77667b1fa41d0ee0710cb2a2f
770s 1..2
770s # Start of cmph-bdz tests
770s ok 1 /cmph-bdz/search
770s ok 2 /cmph-bdz/search-packed
770s # End of cmph-bdz tests
770s # Running test: glib/cmph-bdz.test
770s ok - glib/cmph-bdz.test
770s # Running test: glib/flags.test
770s TAP version 14
770s # random seed: R02Sff20567a17d856b987979a8f776b8cf2
770s 1..1
770s # Start of gobject tests
770s # Start of flags tests
770s ok 1 /gobject/flags/validate
770s # End of flags tests
770s # End of gobject tests
770s ok - glib/flags.test
770s # Running test: glib/genmarshal.py.test
770s TAP version 13
770s ok 1 __main__.TestGenmarshal.test_empty_list
770s # glib-genmarshal: /usr/bin/glib-genmarshal
770s # tmpdir: /tmp/tmpiqihuq10
770s # /tmp/tmpiqihuq10/tmphq83dijq.list:
770s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpiqihuq10/tmphq83dijq.list', '--header', '--quiet']
770s # Return code: 0
770s # Output:
770s # /* 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. */
770s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
770s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
770s #
770s # #include
770s #
770s # G_BEGIN_DECLS
770s #
770s #
770s # G_END_DECLS
770s #
770s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
770s # Error:
770s #
770s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpiqihuq10/tmphq83dijq.list', '--body', '--quiet']
770s # Return code: 0
770s # Output:
770s # /* 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. */
770s # #include
770s #
770s # #ifdef G_ENABLE_DEBUG
770s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
770s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
770s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
770s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
770s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
770s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
770s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
770s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
770s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
770s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
770s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
770s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
770s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
770s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
770s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
770s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
770s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
770s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
770s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
770s # #else /* !G_ENABLE_DEBUG */
770s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
770s # * Do not access GValues directly in your code. Instead, use the
770s # * g_value_get_*() functions
770s # */
770s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
770s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
770s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
770s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
770s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
770s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
770s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
770s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
770s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
770s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
770s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
770s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
770s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
770s # #endif /* !G_ENABLE_DEBUG */
770s # Error:
770s ok 2 __main__.TestGenmarshal.test_help
770s # glib-genmarshal: /usr/bin/glib-genmarshal
770s # tmpdir: /tmp/tmps4la5faj
770s # Running: ['/usr/bin/glib-genmarshal', '--help']
770s # Return code: 0
770s # Output:
770s # usage: glib-genmarshal [-h] [--prefix STRING] [--output FILE] [--skip-source]
770s # [--internal] [--valist-marshallers] [-v]
770s # [--g-fatal-warnings] [--include-header [HEADER]]
770s # [--pragma-once] [-D CPP_DEFINES] [-U CPP_UNDEFINES]
770s # [--prototypes] [--header] [--body] [--stdinc |
770s # --nostdinc] [--quiet | --verbose]
770s # [FILE ...]
770s #
770s # Generate signal marshallers for GObject
770s #
770s # positional arguments:
770s # FILE Files with lists of marshallers to generate, or "-"
770s # for standard input
770s #
770s # options:
770s # -h, --help show this help message and exit
770s # --prefix STRING Specify marshaller prefix
770s # --output FILE Write output into the specified file
770s # --skip-source Skip source location comments
770s # --internal Mark generated functions as internal
770s # --valist-marshallers Generate va_list marshallers
770s # -v, --version Print version information, and exit
770s # --g-fatal-warnings Make warnings fatal
770s # --include-header [HEADER]
770s # Include the specified header in the body
770s # --pragma-once Use "pragma once" as the inclusion guard
770s # -D CPP_DEFINES Pre-processor define
770s # -U CPP_UNDEFINES Pre-processor undefine
770s # --prototypes Generate the marshallers prototype in the C code
770s # --header Generate C headers
770s # --body Generate C code
770s # --stdinc Include standard marshallers
770s # --nostdinc Use standard marshallers
770s # --quiet Only print warnings and errors
770s # --verbose Be verbose, and include debugging information
770s # Error:
770s ok 3 __main__.TestGenmarshal.test_no_args
770s # glib-genmarshal: /usr/bin/glib-genmarshal
770s # tmpdir: /tmp/tmp8jhnpuwc
770s # Running: ['/usr/bin/glib-genmarshal']
770s # Return code: 0
770s # Output:
770s #
770s # Error:
771s ok 4 __main__.TestGenmarshal.test_void_boolean
771s # glib-genmarshal: /usr/bin/glib-genmarshal
771s # tmpdir: /tmp/tmpd4dsji53
771s # /tmp/tmpd4dsji53/tmppy1b28nj.list: VOID:BOOLEAN
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpd4dsji53/tmppy1b28nj.list', '--header', '--quiet']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s #
771s # #include
771s #
771s # G_BEGIN_DECLS
771s #
771s # /* VOID:BOOLEAN (/tmp/tmpd4dsji53/tmppy1b28nj.list:1) */
771s # #define g_cclosure_user_marshal_VOID__BOOLEAN g_cclosure_marshal_VOID__BOOLEAN
771s #
771s #
771s # G_END_DECLS
771s #
771s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
771s # Error:
771s #
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpd4dsji53/tmppy1b28nj.list', '--body', '--quiet']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #include
771s #
771s # #ifdef G_ENABLE_DEBUG
771s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
771s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
771s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
771s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
771s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
771s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
771s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
771s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
771s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
771s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
771s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
771s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
771s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
771s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
771s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
771s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
771s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
771s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
771s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
771s # #else /* !G_ENABLE_DEBUG */
771s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
771s # * Do not access GValues directly in your code. Instead, use the
771s # * g_value_get_*() functions
771s # */
771s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
771s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
771s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
771s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
771s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
771s # #endif /* !G_ENABLE_DEBUG */
771s # Error:
771s ok 5 __main__.TestGenmarshal.test_void_boolean_int64
771s # glib-genmarshal: /usr/bin/glib-genmarshal
771s # tmpdir: /tmp/tmplccq2q6n
771s # /tmp/tmplccq2q6n/tmpmrlcq9ch.list: VOID:BOOLEAN,INT64
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplccq2q6n/tmpmrlcq9ch.list', '--header', '--quiet']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s #
771s # #include
771s #
771s # G_BEGIN_DECLS
771s #
771s # /* VOID:BOOLEAN,INT64 (/tmp/tmplccq2q6n/tmpmrlcq9ch.list:1) */
771s # extern
771s # void g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
771s # GValue *return_value,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint,
771s # gpointer marshal_data);
771s #
771s #
771s # G_END_DECLS
771s #
771s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
771s # Error:
771s #
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmplccq2q6n/tmpmrlcq9ch.list', '--body', '--quiet']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #include
771s #
771s # #ifdef G_ENABLE_DEBUG
771s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
771s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
771s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
771s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
771s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
771s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
771s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
771s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
771s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
771s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
771s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
771s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
771s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
771s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
771s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
771s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
771s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
771s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
771s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
771s # #else /* !G_ENABLE_DEBUG */
771s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
771s # * Do not access GValues directly in your code. Instead, use the
771s # * g_value_get_*() functions
771s # */
771s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
771s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
771s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
771s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
771s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
771s # #endif /* !G_ENABLE_DEBUG */
771s #
771s # /* VOID:BOOLEAN,INT64 (/tmp/tmplccq2q6n/tmpmrlcq9ch.list:1) */
771s # void
771s # g_cclosure_user_marshal_VOID__BOOLEAN_INT64 (GClosure *closure,
771s # GValue *return_value G_GNUC_UNUSED,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint G_GNUC_UNUSED,
771s # gpointer marshal_data)
771s # {
771s # typedef void (*GMarshalFunc_VOID__BOOLEAN_INT64) (gpointer data1,
771s # gboolean arg1,
771s # gint64 arg2,
771s # gpointer data2);
771s # GCClosure *cc = (GCClosure *) closure;
771s # gpointer data1, data2;
771s # GMarshalFunc_VOID__BOOLEAN_INT64 callback;
771s #
771s # g_return_if_fail (n_param_values == 3);
771s #
771s # if (G_CCLOSURE_SWAP_DATA (closure))
771s # {
771s # data1 = closure->data;
771s # data2 = g_value_peek_pointer (param_values + 0);
771s # }
771s # else
771s # {
771s # data1 = g_value_peek_pointer (param_values + 0);
771s # data2 = closure->data;
771s # }
771s # callback = (GMarshalFunc_VOID__BOOLEAN_INT64) (marshal_data ? marshal_data : cc->callback);
771s #
771s # callback (data1,
771s # g_marshal_value_peek_boolean (param_values + 1),
771s # g_marshal_value_peek_int64 (param_values + 2),
771s # data2);
771s # }
771s # Error:
771s ok 6 __main__.TestGenmarshal.test_void_param_nostdinc
771s # glib-genmarshal: /usr/bin/glib-genmarshal
771s # tmpdir: /tmp/tmpzlwjaka5
771s # /tmp/tmpzlwjaka5/tmp8zeu_dbm.list: VOID:PARAM
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzlwjaka5/tmp8zeu_dbm.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s #
771s # G_BEGIN_DECLS
771s #
771s # /* VOID:PARAM (/tmp/tmpzlwjaka5/tmp8zeu_dbm.list:1) */
771s # extern
771s # void g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
771s # GValue *return_value,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint,
771s # gpointer marshal_data);
771s # extern
771s # void g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
771s # GValue *return_value,
771s # gpointer instance,
771s # va_list args,
771s # gpointer marshal_data,
771s # int n_params,
771s # GType *param_types);
771s #
771s #
771s # G_END_DECLS
771s #
771s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
771s # Error:
771s #
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpzlwjaka5/tmp8zeu_dbm.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifdef G_ENABLE_DEBUG
771s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
771s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
771s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
771s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
771s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
771s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
771s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
771s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
771s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
771s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
771s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
771s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
771s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
771s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
771s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
771s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
771s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
771s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
771s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
771s # #else /* !G_ENABLE_DEBUG */
771s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
771s # * Do not access GValues directly in your code. Instead, use the
771s # * g_value_get_*() functions
771s # */
771s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
771s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
771s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
771s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
771s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
771s # #endif /* !G_ENABLE_DEBUG */
771s #
771s # /* VOID:PARAM (/tmp/tmpzlwjaka5/tmp8zeu_dbm.list:1) */
771s # void
771s # g_cclosure_user_marshal_VOID__PARAM (GClosure *closure,
771s # GValue *return_value G_GNUC_UNUSED,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint G_GNUC_UNUSED,
771s # gpointer marshal_data)
771s # {
771s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
771s # gpointer arg1,
771s # gpointer data2);
771s # GCClosure *cc = (GCClosure *) closure;
771s # gpointer data1, data2;
771s # GMarshalFunc_VOID__PARAM callback;
771s #
771s # g_return_if_fail (n_param_values == 2);
771s #
771s # if (G_CCLOSURE_SWAP_DATA (closure))
771s # {
771s # data1 = closure->data;
771s # data2 = g_value_peek_pointer (param_values + 0);
771s # }
771s # else
771s # {
771s # data1 = g_value_peek_pointer (param_values + 0);
771s # data2 = closure->data;
771s # }
771s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
771s #
771s # callback (data1,
771s # g_marshal_value_peek_param (param_values + 1),
771s # data2);
771s # }
771s #
771s # void
771s # g_cclosure_user_marshal_VOID__PARAMv (GClosure *closure,
771s # GValue *return_value G_GNUC_UNUSED,
771s # gpointer instance,
771s # va_list args,
771s # gpointer marshal_data,
771s # int n_params,
771s # GType *param_types)
771s # {
771s # typedef void (*GMarshalFunc_VOID__PARAM) (gpointer data1,
771s # gpointer arg1,
771s # gpointer data2);
771s # GCClosure *cc = (GCClosure *) closure;
771s # gpointer data1, data2;
771s # GMarshalFunc_VOID__PARAM callback;
771s # gpointer arg0;
771s # va_list args_copy;
771s #
771s # va_copy (args_copy, args);
771s # arg0 = (gpointer) va_arg (args_copy, gpointer);
771s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
771s # arg0 = g_param_spec_ref (arg0);
771s # va_end (args_copy);
771s #
771s #
771s # if (G_CCLOSURE_SWAP_DATA (closure))
771s # {
771s # data1 = closure->data;
771s # data2 = instance;
771s # }
771s # else
771s # {
771s # data1 = instance;
771s # data2 = closure->data;
771s # }
771s # callback = (GMarshalFunc_VOID__PARAM) (marshal_data ? marshal_data : cc->callback);
771s #
771s # callback (data1,
771s # arg0,
771s # data2);
771s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
771s # g_param_spec_unref (arg0);
771s # }
771s # Error:
771s ok 7 __main__.TestGenmarshal.test_void_string_nostdinc
771s # glib-genmarshal: /usr/bin/glib-genmarshal
771s # tmpdir: /tmp/tmp73vghpp7
771s # /tmp/tmp73vghpp7/tmp78mmnmkf.list: VOID:STRING
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp73vghpp7/tmp78mmnmkf.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s #
771s # G_BEGIN_DECLS
771s #
771s # /* VOID:STRING (/tmp/tmp73vghpp7/tmp78mmnmkf.list:1) */
771s # extern
771s # void g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
771s # GValue *return_value,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint,
771s # gpointer marshal_data);
771s # extern
771s # void g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
771s # GValue *return_value,
771s # gpointer instance,
771s # va_list args,
771s # gpointer marshal_data,
771s # int n_params,
771s # GType *param_types);
771s #
771s #
771s # G_END_DECLS
771s #
771s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
771s # Error:
771s #
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmp73vghpp7/tmp78mmnmkf.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifdef G_ENABLE_DEBUG
771s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
771s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
771s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
771s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
771s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
771s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
771s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
771s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
771s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
771s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
771s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
771s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
771s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
771s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
771s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
771s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
771s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
771s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
771s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
771s # #else /* !G_ENABLE_DEBUG */
771s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
771s # * Do not access GValues directly in your code. Instead, use the
771s # * g_value_get_*() functions
771s # */
771s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
771s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
771s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
771s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
771s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
771s # #endif /* !G_ENABLE_DEBUG */
771s #
771s # /* VOID:STRING (/tmp/tmp73vghpp7/tmp78mmnmkf.list:1) */
771s # void
771s # g_cclosure_user_marshal_VOID__STRING (GClosure *closure,
771s # GValue *return_value G_GNUC_UNUSED,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint G_GNUC_UNUSED,
771s # gpointer marshal_data)
771s # {
771s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
771s # gpointer arg1,
771s # gpointer data2);
771s # GCClosure *cc = (GCClosure *) closure;
771s # gpointer data1, data2;
771s # GMarshalFunc_VOID__STRING callback;
771s #
771s # g_return_if_fail (n_param_values == 2);
771s #
771s # if (G_CCLOSURE_SWAP_DATA (closure))
771s # {
771s # data1 = closure->data;
771s # data2 = g_value_peek_pointer (param_values + 0);
771s # }
771s # else
771s # {
771s # data1 = g_value_peek_pointer (param_values + 0);
771s # data2 = closure->data;
771s # }
771s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
771s #
771s # callback (data1,
771s # g_marshal_value_peek_string (param_values + 1),
771s # data2);
771s # }
771s #
771s # void
771s # g_cclosure_user_marshal_VOID__STRINGv (GClosure *closure,
771s # GValue *return_value G_GNUC_UNUSED,
771s # gpointer instance,
771s # va_list args,
771s # gpointer marshal_data,
771s # int n_params,
771s # GType *param_types)
771s # {
771s # typedef void (*GMarshalFunc_VOID__STRING) (gpointer data1,
771s # gpointer arg1,
771s # gpointer data2);
771s # GCClosure *cc = (GCClosure *) closure;
771s # gpointer data1, data2;
771s # GMarshalFunc_VOID__STRING callback;
771s # gpointer arg0;
771s # va_list args_copy;
771s #
771s # va_copy (args_copy, args);
771s # arg0 = (gpointer) va_arg (args_copy, gpointer);
771s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
771s # arg0 = g_strdup (arg0);
771s # va_end (args_copy);
771s #
771s #
771s # if (G_CCLOSURE_SWAP_DATA (closure))
771s # {
771s # data1 = closure->data;
771s # data2 = instance;
771s # }
771s # else
771s # {
771s # data1 = instance;
771s # data2 = closure->data;
771s # }
771s # callback = (GMarshalFunc_VOID__STRING) (marshal_data ? marshal_data : cc->callback);
771s #
771s # callback (data1,
771s # arg0,
771s # data2);
771s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
771s # g_free (arg0);
771s # }
771s # Error:
771s ok 8 __main__.TestGenmarshal.test_void_variant_nostdinc_valist_marshaller
771s # glib-genmarshal: /usr/bin/glib-genmarshal
771s # tmpdir: /tmp/tmpmxaajzl4
771s # /tmp/tmpmxaajzl4/tmp_2iy8gq4.list: VOID:VARIANT
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmxaajzl4/tmp_2iy8gq4.list', '--header', '--quiet', '--nostdinc', '--valist-marshaller']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifndef __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s # #define __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__
771s #
771s # G_BEGIN_DECLS
771s #
771s # /* VOID:VARIANT (/tmp/tmpmxaajzl4/tmp_2iy8gq4.list:1) */
771s # extern
771s # void g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
771s # GValue *return_value,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint,
771s # gpointer marshal_data);
771s # extern
771s # void g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
771s # GValue *return_value,
771s # gpointer instance,
771s # va_list args,
771s # gpointer marshal_data,
771s # int n_params,
771s # GType *param_types);
771s #
771s #
771s # G_END_DECLS
771s #
771s # #endif /* __G_CCLOSURE_USER_MARSHAL_MARSHAL_H__ */
771s # Error:
771s #
771s # Running: ['/usr/bin/glib-genmarshal', '/tmp/tmpmxaajzl4/tmp_2iy8gq4.list', '--body', '--quiet', '--nostdinc', '--valist-marshaller']
771s # Return code: 0
771s # Output:
771s # /* 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. */
771s # #ifdef G_ENABLE_DEBUG
771s # #define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
771s # #define g_marshal_value_peek_char(v) g_value_get_schar (v)
771s # #define g_marshal_value_peek_uchar(v) g_value_get_uchar (v)
771s # #define g_marshal_value_peek_int(v) g_value_get_int (v)
771s # #define g_marshal_value_peek_uint(v) g_value_get_uint (v)
771s # #define g_marshal_value_peek_long(v) g_value_get_long (v)
771s # #define g_marshal_value_peek_ulong(v) g_value_get_ulong (v)
771s # #define g_marshal_value_peek_int64(v) g_value_get_int64 (v)
771s # #define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v)
771s # #define g_marshal_value_peek_enum(v) g_value_get_enum (v)
771s # #define g_marshal_value_peek_flags(v) g_value_get_flags (v)
771s # #define g_marshal_value_peek_float(v) g_value_get_float (v)
771s # #define g_marshal_value_peek_double(v) g_value_get_double (v)
771s # #define g_marshal_value_peek_string(v) (char*) g_value_get_string (v)
771s # #define g_marshal_value_peek_param(v) g_value_get_param (v)
771s # #define g_marshal_value_peek_boxed(v) g_value_get_boxed (v)
771s # #define g_marshal_value_peek_pointer(v) g_value_get_pointer (v)
771s # #define g_marshal_value_peek_object(v) g_value_get_object (v)
771s # #define g_marshal_value_peek_variant(v) g_value_get_variant (v)
771s # #else /* !G_ENABLE_DEBUG */
771s # /* WARNING: This code accesses GValues directly, which is UNSUPPORTED API.
771s # * Do not access GValues directly in your code. Instead, use the
771s # * g_value_get_*() functions
771s # */
771s # #define g_marshal_value_peek_boolean(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_char(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_int(v) (v)->data[0].v_int
771s # #define g_marshal_value_peek_uint(v) (v)->data[0].v_uint
771s # #define g_marshal_value_peek_long(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_int64(v) (v)->data[0].v_int64
771s # #define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64
771s # #define g_marshal_value_peek_enum(v) (v)->data[0].v_long
771s # #define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong
771s # #define g_marshal_value_peek_float(v) (v)->data[0].v_float
771s # #define g_marshal_value_peek_double(v) (v)->data[0].v_double
771s # #define g_marshal_value_peek_string(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_param(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
771s # #define g_marshal_value_peek_variant(v) (v)->data[0].v_pointer
771s # #endif /* !G_ENABLE_DEBUG */
771s #
771s # /* VOID:VARIANT (/tmp/tmpmxaajzl4/tmp_2iy8gq4.list:1) */
771s # void
771s # g_cclosure_user_marshal_VOID__VARIANT (GClosure *closure,
771s # GValue *return_value G_GNUC_UNUSED,
771s # guint n_param_values,
771s # const GValue *param_values,
771s # gpointer invocation_hint G_GNUC_UNUSED,
771s # gpointer marshal_data)
771s # {
771s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
771s # gpointer arg1,
771s # gpointer data2);
771s # GCClosure *cc = (GCClosure *) closure;
771s # gpointer data1, data2;
771s # GMarshalFunc_VOID__VARIANT callback;
771s #
771s # g_return_if_fail (n_param_values == 2);
771s #
771s # if (G_CCLOSURE_SWAP_DATA (closure))
771s # {
771s # data1 = closure->data;
771s # data2 = g_value_peek_pointer (param_values + 0);
771s # }
771s # else
771s # {
771s # data1 = g_value_peek_pointer (param_values + 0);
771s # data2 = closure->data;
771s # }
771s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
771s #
771s # callback (data1,
771s # g_marshal_value_peek_variant (param_values + 1),
771s # data2);
771s # }
771s #
771s # void
771s # g_cclosure_user_marshal_VOID__VARIANTv (GClosure *closure,
771s # GValue *return_value G_GNUC_UNUSED,
771s # gpointer instance,
771s # va_list args,
771s # gpointer marshal_data,
771s # int n_params,
771s # GType *param_types)
771s # {
771s # typedef void (*GMarshalFunc_VOID__VARIANT) (gpointer data1,
771s # gpointer arg1,
771s # gpointer data2);
771s # GCClosure *cc = (GCClosure *) closure;
771s # gpointer data1, data2;
771s # GMarshalFunc_VOID__VARIANT callback;
771s # gpointer arg0;
771s # va_list args_copy;
771s #
771s # va_copy (args_copy, args);
771s # arg0 = (gpointer) va_arg (args_copy, gpointer);
771s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
771s # arg0 = g_variant_ref_sink (arg0);
771s # va_end (args_copy);
771s #
771s #
771s # if (G_CCLOSURE_SWAP_DATA (closure))
771s # {
771s # data1 = closure->data;
771s # data2 = instance;
771s # }
771s # else
771s # {
771s # data1 = instance;
771s # data2 = closure->data;
771s # }
771s # callback = (GMarshalFunc_VOID__VARIANT) (marshal_data ? marshal_data : cc->callback);
771s #
771s # callback (data1,
771s # arg0,
771s # data2);
771s # if ((param_types[0] & G_SIGNAL_TYPE_STATIC_SCOPE) == 0 && arg0 != NULL)
771s # g_variant_unref (arg0);
771s # }
771s # Error:
771s 1..8
771s ok - glib/genmarshal.py.test
771s # Running test: glib/search-utils.test
771s TAP version 14
771s # random seed: R02Sf24a15516e26adbc6d0a28949b455fd6
771s # GLib-DEBUG: Current user locale: C.UTF-8
771s 1..6
771s # Start of search tests
771s # GLib-DEBUG: Started
771s # GLib-DEBUG: 'he' - 'Hello World' should match: OK
771s # GLib-DEBUG: 'wo' - 'Hello World' should match: OK
771s # GLib-DEBUG: 'lo' - 'Hello World' should NOT match: OK
771s # GLib-DEBUG: 'ld' - 'Hello World' should NOT match: OK
771s # GLib-DEBUG: 'wo' - 'Hello-World' should match: OK
771s # GLib-DEBUG: 'wo' - 'HelloWorld' should NOT match: OK
771s ok 1 /search/basic
771s # GLib-DEBUG: Started
771s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
771s # GLib-DEBUG: 'gaetan' - 'Gaëtan' should match: OK
771s # GLib-DEBUG: 'ele' - 'élève' should match: OK
771s # GLib-DEBUG: 'AzaÃs' - 'Azais' should NOT match: OK
771s # GLib-DEBUG: 'Azais' - 'AzaÃs' should match: OK
771s ok 2 /search/composed
771s # GLib-DEBUG: Started
771s # GLib-DEBUG: 'Jör' - 'Jorgen' should NOT match: OK
771s # GLib-DEBUG: 'jor' - 'Jörgen' should match: OK
771s ok 3 /search/decomposed
771s # GLib-DEBUG: Started
771s # GLib-DEBUG: 'ist' - 'İstanbul' should match: OK
771s # GLib-DEBUG: 'diyarbakir' - 'Diyarbakır' should match: OK
771s ok 4 /search/turkish
771s # GLib-DEBUG: Started
771s # GLib-DEBUG: 'jor' - 'J?rgen' should match: OK
771s # GLib-DEBUG: 'Jo?r' - 'Jorgen' should NOT match: OK
771s # GLib-DEBUG: 'jor' - 'Jo?rgen' should match: OK
771s ok 5 /search/c_locale_unicode
771s # GLib-DEBUG: Started
771s # GLib-DEBUG: 'Xav Cla' - 'Xavier Claessens' should match: OK
771s # GLib-DEBUG: 'Cla Xav' - 'Xavier Claessens' should match: OK
771s # GLib-DEBUG: ' b ' - 'Foo Bar Baz' should match: OK
771s ok - glib/search-utils.test
771s # Running test: glib/cxx-14.test
771s # GLib-DEBUG: 'bar bazz' - 'Foo Bar Baz' should NOT match: OK
771s ok 6 /search/multi_words
771s # End of search tests
771s TAP version 14
771s # random seed: R02Sf33b8726bd3f036c8bc865667a4cc707
771s 1..2
771s # Start of gtask tests
771s # 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.
771s ok 1 /gtask/name
771s # Start of name tests
771s # 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.
771s ok 2 /gtask/name/macro-wrapper
771s # End of name tests
771s # End of gtask tests
771s ok - glib/cxx-14.test
771s # Running test: glib/testing.test
771s TAP version 14
771s # random seed: R02S5e6c83959a7b45273ae2c8836f9905cd
771s 1..1
771s # Start of assert tests
771s ok 1 /assert/finalize_object
771s # Start of finalize_object tests
771s # Start of subprocess tests
771s # End of subprocess tests
771s # End of finalize_object tests
771s # End of assert tests
771s ok - glib/testing.test
771s # Running test: glib/dbus-appinfo.test
771s TAP version 14
771s # random seed: R02S574ea79a6523c1a024e3d1a634418c7a
771s 1..7
771s # Start of appinfo tests
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/system-config1:/tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/system-data1:/tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/runtime
771s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
771s ok 1 /appinfo/dbusappinfo
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/runtime
771s # /appinfo/flatpak-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
771s # Acquired a message bus connection
771s # Acquired the name org.freedesktop.portal.Documents
771s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JS7052/appinfo/dbusappinfo/.dirs/config to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/config
771s # on_flatpak_open received file '/document-portal/document-id/org.gtk.test.dbusappinfo.flatpak.desktop'
771s # fake-document-portal cancelled
771s ok 2 /appinfo/flatpak-doc-export
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/system-config1:/tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/system-data1:/tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/runtime
771s # /appinfo/flatpak-missing-doc-export summary: Test that files launched via Flatpak apps are made available via the document portal.
771s # Acquired a message bus connection
771s # Acquired the name org.freedesktop.portal.Documents
771s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-doc-export/.dirs/config to /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/config
771s # on_flatpak_open received file '/hopefully/an/invalid/path.desktop'
771s # fake-document-portal cancelled
771s ok 3 /appinfo/flatpak-missing-doc-export
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/system-config1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/system-data1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/runtime
771s # Acquired a message bus connection
771s # Acquired the name org.freedesktop.portal.Desktop
771s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JS7052/appinfo/flatpak-missing-doc-export/.dirs/config to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/config
771s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
771s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_5/t
771s # Response emitted
771s # fake-desktop-portal cancelled
771s ok 4 /appinfo/portal-open-file
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/system-config1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/system-data1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/runtime
771s # Acquired a message bus connection
771s # Acquired the name org.freedesktop.portal.Desktop
771s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file/.dirs/config to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/config
771s # Got open file request for http://example.com
771s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_7/t
771s # Response emitted
771s # fake-desktop-portal cancelled
771s ok 5 /appinfo/portal-open-uri
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/system-config1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/system-data1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/runtime
771s # Acquired a message bus connection
771s # Acquired the name org.freedesktop.portal.Desktop
771s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri/.dirs/config to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/config
771s # Got open file request for file:///usr/libexec/installed-tests/glib/org.gtk.test.dbusappinfo.flatpak.desktop
771s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_9/gio555154387
771s # Response emitted
771s # fake-desktop-portal cancelled
771s ok 6 /appinfo/portal-open-file-async
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/system-config1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/system-data1:/tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/runtime
771s # Acquired a message bus connection
771s # Acquired the name org.freedesktop.portal.Desktop
771s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-file-async/.dirs/config to /tmp/test_dbus-appinfo_JS7052/appinfo/portal-open-uri-async/.dirs/config
771s # Got open file request for http://example.com
771s # Request skeleton exported at /org/freedesktop/portal/desktop/request/1_11/gio1213273719
771s # Response emitted
771s # fake-desktop-portal cancelled
771s ok 7 /appinfo/portal-open-uri-async
771s # End of appinfo tests
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s ok - glib/dbus-appinfo.test
771s # Running test: glib/defaultvalue.test
771s TAP version 14
771s # random seed: R02S76ee73514696ad0341f7da2dda944a25
771s 1..84
771s # Start of Default Values tests
771s ok 1 /Default Values/GAppInfoMonitor # SKIP singleton
771s ok 2 /Default Values/GAppLaunchContext
771s ok 3 /Default Values/GApplicationCommandLine
771s # skipping GApplication:is-remote
771s ok 4 /Default Values/GApplication
771s ok 5 /Default Values/GBinding # SKIP mandatory construct params
771s ok 6 /Default Values/GBindingGroup
771s ok 7 /Default Values/GBufferedInputStream # SKIP mandatory construct params
771s ok 8 /Default Values/GBufferedOutputStream # SKIP mandatory construct params
771s ok 9 /Default Values/GBytesIcon
771s ok 10 /Default Values/GCancellable
771s ok 11 /Default Values/GCharsetConverter # SKIP mandatory construct params
771s ok 12 /Default Values/GConverterInputStream # SKIP mandatory construct params
771s ok 13 /Default Values/GConverterOutputStream # SKIP mandatory construct params
771s ok 14 /Default Values/GCredentials
771s ok 15 /Default Values/GDataInputStream # SKIP mandatory construct params
771s ok 16 /Default Values/GDataOutputStream # SKIP mandatory construct params
771s ok 17 /Default Values/GDBusActionGroup # SKIP mandatory construct params
771s ok 18 /Default Values/GDBusAuthObserver
771s ok 19 /Default Values/GDBusConnection # SKIP mandatory construct params
771s ok 20 /Default Values/GDBusMenuModel # SKIP crash in finalize
771s ok 21 /Default Values/GDBusMessage
771s ok 22 /Default Values/GDBusMethodInvocation # SKIP crash in finalize
771s ok 23 /Default Values/GDBusObjectManagerClient # SKIP mandatory construct params
771s ok 24 /Default Values/GDBusObjectManagerServer # SKIP mandatory construct params
771s ok 25 /Default Values/GDBusObjectProxy
771s ok 26 /Default Values/GDBusObjectSkeleton
771s ok 27 /Default Values/GDBusProxy # SKIP mandatory construct params
771s ok 28 /Default Values/GDBusServer # SKIP mandatory construct params
771s ok 29 /Default Values/GEmblem
771s ok 30 /Default Values/GEmblemedIcon
771s ok 31 /Default Values/GFileEnumerator # SKIP should be abstract
771s ok 32 /Default Values/GFileInfo
771s ok 33 /Default Values/GFileInputStream
771s ok 34 /Default Values/GFileIOStream # SKIP should be abstract
771s ok 35 /Default Values/GFileOutputStream
771s ok 36 /Default Values/GFilenameCompleter
771s ok 37 /Default Values/GInetAddress # SKIP mandatory construct params
771s ok 38 /Default Values/GInetAddressMask # SKIP initialization failed
771s ok 39 /Default Values/GInetSocketAddress # SKIP mandatory construct params
771s ok 40 /Default Values/GInitiallyUnowned
771s ok 41 /Default Values/GIOModule
771s ok 42 /Default Values/GListStore
771s ok 43 /Default Values/GMemoryInputStream
771s ok 44 /Default Values/GMemoryOutputStream
771s ok 45 /Default Values/GMenu
771s ok 46 /Default Values/GMenuItem
771s ok 47 /Default Values/GMountOperation
771s ok 48 /Default Values/GNativeSocketAddress
771s ok 49 /Default Values/GNetworkAddress
771s ok 50 /Default Values/GNetworkService
771s ok 51 /Default Values/GNotification
771s ok 52 /Default Values/GObject
771s ok 53 /Default Values/GPropertyAction # SKIP mandatory construct params
771s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
771s # skipping GProxyAddressEnumerator:proxy-resolver
771s ok 54 /Default Values/GProxyAddressEnumerator
771s ok 55 /Default Values/GProxyAddress # SKIP mandatory construct params
771s ok 56 /Default Values/GSettings # SKIP mandatory construct params
771s ok 57 /Default Values/GSignalGroup
771s ok 58 /Default Values/GSimpleAction
771s ok 59 /Default Values/GSimpleActionGroup
771s ok 60 /Default Values/GSimpleAsyncResult
771s ok 61 /Default Values/GSimpleIOStream # SKIP mandatory construct params
771s ok 62 /Default Values/GSimplePermission
771s ok 63 /Default Values/GSimpleProxyResolver
771s # skipping GSocketClient:proxy-resolver
771s ok 64 /Default Values/GSocketClient
771s ok 65 /Default Values/GSocketConnection # SKIP mandatory construct params
771s ok 66 /Default Values/GSocket # SKIP initialization failed
771s ok 67 /Default Values/GSocketListener
771s ok 68 /Default Values/GSocketService
771s ok 69 /Default Values/GSubprocess # SKIP initialization failed
771s ok 70 /Default Values/GSubprocessLauncher
771s # GLib-GIO-DEBUG: GTask 0x2aa18413f30 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
771s ok 71 /Default Values/GTask
771s ok 72 /Default Values/GTcpConnection # SKIP mandatory construct params
771s ok 73 /Default Values/GTcpWrapperConnection # SKIP mandatory construct params
771s ok 74 /Default Values/GTestDBus
771s ok 75 /Default Values/GThemedIcon # SKIP mandatory construct params
771s ok 76 /Default Values/GThreadedSocketService
771s ok 77 /Default Values/GTlsInteraction
771s ok 78 /Default Values/GTlsPassword
771s ok 79 /Default Values/GUnixConnection # SKIP mandatory construct params
771s ok 80 /Default Values/GUnixFDList
771s ok 81 /Default Values/GVfs
771s ok 82 /Default Values/GVolumeMonitor
771s ok 83 /Default Values/GZlibCompressor
771s ok 84 /Default Values/GZlibDecompressor
771s # End of Default Values tests
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s ok - glib/defaultvalue.test
771s # Running test: glib/gdbus-method-invocation.test
771s TAP version 14
771s # random seed: R02S4b8233347160511c92a747658b6ef170
771s 1..1
771s # Start of gdbus tests
771s # Start of method-invocation tests
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/system-config1:/tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/system-data1:/tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-method-invocation_4HG052/gdbus/method-invocation/return/.dirs/runtime
771s # /gdbus/method-invocation/return summary: Test calling g_dbus_method_invocation_return_*() in various ways
771s # Calling org.freedesktop.DBus.Properties.Get
771s # Calling org.freedesktop.DBus.Properties.Get
771s # Calling org.freedesktop.DBus.Properties.Get
771s # Calling org.freedesktop.DBus.Properties.Set
771s # Calling org.freedesktop.DBus.Properties.GetAll
771s # Calling org.example.Foo.WrongReturnType
771s # Calling org.example.Foo.GetFDs
771s # Calling org.example.Foo.GetFDs
771s # Calling org.example.Foo.ReturnError
771s # Calling org.example.Foo.CloseBeforeReturning
771s ok 1 /gdbus/method-invocation/return
771s # End of method-invocation tests
771s # End of gdbus tests
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
771s ok - glib/gdbus-method-invocation.test
771s # Running test: glib/qdata.test
771s TAP version 14
771s # random seed: R02S2e6e54e910be8e1b293c07ae9d1ae197
771s 1..2
771s # Start of qdata tests
771s ok 1 /qdata/threaded
771s ok 2 /qdata/dup
771s # End of qdata tests
771s ok - glib/qdata.test
771s # Running test: glib/mount-operation.test
771s TAP version 14
771s # random seed: R02Sf759c7fbcf6054445edea640bcf19e9e
771s 1..2
771s # Start of mount-operation tests
771s ok 1 /mount-operation/construction
771s ok 2 /mount-operation/properties
771s # End of mount-operation tests
771s ok - glib/mount-operation.test
771s # Running test: glib/singleton.test
771s TAP version 14
771s # random seed: R02S83b630f1704d231e7933ee30b779f4b5
771s 1..2
771s # Start of gobject tests
771s # Start of singleton tests
771s ok 1 /gobject/singleton/construction
771s # /gobject/singleton/construct-property summary: Test that creating a singleton with a construct-time property works
771s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2666
771s ok 2 /gobject/singleton/construct-property
771s # End of singleton tests
771s # End of gobject tests
771s ok - glib/singleton.test
771s # Running test: glib/proxy-test.test
771s TAP version 14
771s # random seed: R02S863883c5ead002f9f0c879783ae67d2f
771s 1..11
771s # Start of proxy tests
771s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestProxyResolver) for ?gio-proxy-resolver?
771s ok 1 /proxy/direct_sync
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514830 and GSocketClientAsyncConnectData 0x2aa0d513da0
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d515160 for GSocketClientAsyncConnectData 0x2aa0d513da0
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
771s ok 2 /proxy/direct_async
771s ok 3 /proxy/single_sync
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514cd0 and GSocketClientAsyncConnectData 0x2aa0d513da0
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d515830 for GSocketClientAsyncConnectData 0x2aa0d513da0
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
771s ok 4 /proxy/single_async
771s ok 5 /proxy/multiple_sync
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514f60 and GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d516b90 for GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d516b30 for GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
771s ok 6 /proxy/multiple_async
771s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
771s ok 7 /proxy/invalid-uris-sync
771s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2597
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514b20 and GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
771s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514cd0 and GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Unspecified proxy lookup failure
771s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unspecified proxy lookup failure
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514b20 and GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d5151c0 for GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
771s ok - glib/proxy-test.test
771s # Running test: glib/object.test
771s ok - glib/object.test
771s # Running test: glib/live-g-file.test
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514cd0 and GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d516dc0 for GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
771s ok 8 /proxy/invalid-uris-async
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514830 and GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: IPv6 DNS error: Not found
771s # GLib-GIO-DEBUG: IPv4 DNS error: Not found
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: Not found
771s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Not found
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d5173f0 and GSocketClientAsyncConnectData 0x2aa0d5150b0
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d516b90 for GSocketClientAsyncConnectData 0x2aa0d5150b0
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
771s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514b20 and GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d516dc0 for GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
771s ok 9 /proxy/dns
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514830 and GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d5162b0 for GSocketClientAsyncConnectData 0x2aa0d514ef0
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
771s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514b20 and GSocketClientAsyncConnectData 0x2aa0d514d90
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d5162b0 for GSocketClientAsyncConnectData 0x2aa0d514d90
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
771s # GLib-GIO-DEBUG: g_socket_client_connect_to_uri_async
771s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa0d514830 and GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
771s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0d516ad0 for GSocketClientAsyncConnectData 0x2aa0d516d50
771s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
771s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
771s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting proxy connection
771s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
771s # GLib-GIO-DEBUG: GSocketClient: Address enumeration failed: (null)
771s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Unsupported protocol
771s ok 10 /proxy/override
771s ok 11 /proxy/enumerator-ports
771s # End of proxy tests
771s TAP version 14
771s # random seed: R02S0d2b28ca36b949693a14c47031ea404e
771s 1..2
771s # Start of object tests
771s # Start of constructor tests
771s ok 1 /object/constructor/singleton
771s ok 2 /object/constructor/infanticide # SKIP skip tests that rely on debug-only warnings
771s # End of constructor tests
771s # End of object tests
771s TAP version 14
771s # random seed: R02S14dc7c82f834abb7b8fda9025eb5b2de
771s 1..13
771s # Start of live-g-file tests
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/prep_clean_structure/.dirs/runtime
771s # Cleaning target testing structure in '/tmp/test_live-g-file_MCWQ52/testdir_live-g-file'...
771s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
771s ok 1 /live-g-file/prep_clean_structure
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/create_structure/.dirs/runtime
771s #
771s # Going to create testing structure in '/tmp/test_live-g-file_MCWQ52/testdir_live-g-file'...
771s # Creating directory 'dir1'...
771s # Creating directory 'dir1/subdir'...
771s # Creating directory 'dir2'...
771s # Creating directory 'dir-target'...
771s # Creating directory 'dir_no-access'...
771s # Creating directory 'dir_no-write'...
771s # Creating file 'target-file'...
771s # Creating file 'normal_file'...
771s # Creating symlink 'normal_file-symlink' --> 'normal_file'...
771s # Creating file 'executable_file'...
771s # Creating file 'private_file'...
771s # Creating file 'normal_file2'...
771s # Creating file 'readonly_file'...
771s # Creating file 'UTF_pr?i?lis? z'...
771s # Creating directory 'dir_pr?i?lis? z'...
771s # Creating symlink 'lost_symlink' --> 'nowhere'...
771s # Creating directory 'dir_hidden'...
771s # Creating file 'dir_hidden/.a-hidden-file'...
771s # Creating file 'dir_hidden/file-in-.hidden1'...
771s # Creating file 'dir_hidden/file-in-.hidden2'...
771s # Creating pattern file...
771s # done.
771s ok 2 /live-g-file/create_structure
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_initial_structure/.dirs/runtime
771s # Testing sample structure in '/tmp/test_live-g-file_MCWQ52/testdir_live-g-file'...
771s # Testing file 'dir1'...
771s # Testing file 'dir1/subdir'...
771s # Testing file 'dir2'...
771s # Testing file 'dir-target'...
771s # Testing file 'dir_no-access'...
771s # Testing file 'dir_no-write'...
771s # Testing file 'target-file'...
771s # Testing file 'normal_file'...
771s # Testing file 'normal_file-symlink'...
771s # Testing file 'executable_file'...
771s # Testing file 'private_file'...
771s # Testing file 'normal_file2'...
771s # Testing file 'readonly_file'...
771s # Testing file 'UTF_pr?i?lis? z'...
771s # Testing file 'dir_pr?i?lis? z'...
771s # Testing file 'lost_symlink'...
771s # Testing file 'dir_hidden'...
771s # Testing file 'dir_hidden/.a-hidden-file'...
771s # Testing file 'dir_hidden/file-in-.hidden1'...
771s # Testing file 'dir_hidden/file-in-.hidden2'...
771s # Testing pattern file...
771s # read 65536 bytes, total = 65536 of 65536.
771s ok 3 /live-g-file/test_initial_structure
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_traverse_structure/.dirs/runtime
771s # Traversing through the sample structure in '/tmp/test_live-g-file_MCWQ52/testdir_live-g-file'...
771s # Found file dir1, relative to root: dir1
771s # Found file subdir, relative to root: dir1/subdir
771s # Found file dir2, relative to root: dir2
771s # Found file dir-target, relative to root: dir-target
771s # Found file dir_no-access, relative to root: dir_no-access
771s # Found file dir_no-write, relative to root: dir_no-write
771s # Found file target-file, relative to root: target-file
771s # Found file normal_file, relative to root: normal_file
771s # Found file normal_file-symlink, relative to root: normal_file-symlink
771s # Found file executable_file, relative to root: executable_file
771s # Found file private_file, relative to root: private_file
771s # Found file normal_file2, relative to root: normal_file2
771s # Found file readonly_file, relative to root: readonly_file
771s # Found file UTF_pr?i?lis? z, relative to root: UTF_pr?i?lis? z
771s # Found file dir_pr?i?lis? z, relative to root: dir_pr?i?lis? z
771s # Found file lost_symlink, relative to root: lost_symlink
771s # Found file dir_hidden, relative to root: dir_hidden
771s # Found file .a-hidden-file, relative to root: dir_hidden/.a-hidden-file
771s # Found file file-in-.hidden1, relative to root: dir_hidden/file-in-.hidden1
771s # Found file .hidden, relative to root: dir_hidden/.hidden
771s # Found file file-in-.hidden2, relative to root: dir_hidden/file-in-.hidden2
771s # Found file pattern_file, relative to root: pattern_file
771s ok 4 /live-g-file/test_traverse_structure
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_enumerate/.dirs/runtime
771s # Test enumerate '/tmp/test_live-g-file_MCWQ52/testdir_live-g-file'...
771s # Testing file 'dir_no-access'
771s # Testing file 'normal_file'
771s # Testing file 'normal_file-symlink'
771s # Testing file 'not_exists'
771s # Testing file 'not_exists'
771s # Testing file 'not_exists2'
771s # Testing file 'not_exists3'
771s # Testing file 'not_exists4'
771s # Testing file 'dir_no-execute/file'
771s ok 5 /live-g-file/test_enumerate
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_open/.dirs/runtime
771s # test_open: 'dir1'
771s # test_open: 'dir_no-access'
771s # test_open: 'target-file'
771s # test_open: 'normal_file-symlink'
771s # test_open: 'executable_file'
771s # test_open: 'private_file'
771s # test_open: 'readonly_file'
771s # test_open: 'UTF_pr?i?lis? z'
771s # test_open: 'pattern_file'
771s # test_open: 'not_exists'
771s # test_open: 'dir_no-execute/file'
771s # test_open: 'lost_symlink'
771s ok 6 /live-g-file/test_open
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_create/.dirs/runtime
771s # test_create: 'dir1'
771s # error code 3 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir1?: Is a directory
771s # test_create: 'dir1/subdir'
771s # error code 3 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir1/subdir?: Is a directory
771s # test_create: 'dir2'
771s # error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir2?: File exists
771s # test_create: 'normal_file'
771s # error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/normal_file?: File exists
771s # test_create: 'executable_file'
771s # test_create: 'private_file'
771s # test_create: 'normal_file2'
771s # test_create: 'UTF_pr?i?lis? z'
771s # error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
771s # test_create: 'dir_pr?i?lis? z'
771s # error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_pr?i?lis? z?: File exists
771s # test_create: 'pattern_file'
771s # test_create: 'not_exists2'
771s # test_create: 'not_exists3'
771s # test_create: 'not_exists4'
771s ok 7 /live-g-file/test_create
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_copy_move/.dirs/runtime
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir1/subdir' --> 'dir-target'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir1/subdir' --> '.'
771s # res = 0, error code 2 = Target file exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir1/subdir' --> 'target-file'
771s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/dir1/subdir?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir1/subdir' --> 'not_exists'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir1/subdir' --> 'dir_no-access'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir1/subdir' --> 'dir_no-write'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir2' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir-target' --> 'dir-target'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir-target' --> '.'
771s # res = 0, error code 2 = Target file exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir-target' --> 'target-file'
771s # res = 0, error code 4 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/dir-target?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir-target' --> 'not_exists'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir-target' --> 'dir_no-access'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'dir-target' --> 'dir_no-write'
771s # res = 0, error code 25 = Can?t recursively copy directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'target-file' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'target-file' --> '.'
771s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file?: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'target-file' --> 'target-file'
771s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/target-file?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'target-file' --> 'not_exists'
771s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/target-file?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'target-file' --> 'dir_no-access'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/target-file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'target-file' --> 'dir_no-write'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/target-file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file-symlink' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file-symlink' --> '.'
771s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/normal_file-symlink: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file-symlink' --> 'target-file'
771s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/normal_file-symlink: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file-symlink' --> 'not_exists'
771s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/normal_file-symlink: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file-symlink' --> 'dir_no-access'
771s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/normal_file-symlink: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file-symlink' --> 'dir_no-write'
771s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/normal_file-symlink: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'executable_file' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'executable_file' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'executable_file' --> '.'
771s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/executable_file?: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'executable_file' --> 'target-file'
771s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/executable_file?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'executable_file' --> 'not_exists'
771s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/executable_file?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'executable_file' --> 'dir_no-access'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/executable_file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'executable_file' --> 'dir_no-write'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/executable_file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'private_file' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'private_file' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'private_file' --> '.'
771s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/private_file?: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'private_file' --> 'target-file'
771s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/private_file?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'private_file' --> 'not_exists'
771s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/private_file?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'private_file' --> 'dir_no-access'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/private_file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'private_file' --> 'dir_no-write'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/private_file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file2' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file2' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file2' --> '.'
771s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/normal_file2?: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file2' --> 'target-file'
771s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/normal_file2?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file2' --> 'not_exists'
771s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/normal_file2?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file2' --> 'dir_no-access'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/normal_file2?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'normal_file2' --> 'dir_no-write'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/normal_file2?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'UTF_pr?i?lis? z' --> '.'
771s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/UTF_pr?i?lis? z?: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'UTF_pr?i?lis? z' --> 'target-file'
771s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/UTF_pr?i?lis? z?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'UTF_pr?i?lis? z' --> 'not_exists'
771s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/UTF_pr?i?lis? z?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-access'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/UTF_pr?i?lis? z?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'UTF_pr?i?lis? z' --> 'dir_no-write'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/UTF_pr?i?lis? z?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'pattern_file' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'pattern_file' --> '.'
771s # res = 0, error code 2 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/pattern_file?: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'pattern_file' --> 'target-file'
771s # res = 0, error code 4 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/pattern_file?: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'pattern_file' --> 'not_exists'
771s # res = 0, error code 1 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/pattern_file?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'pattern_file' --> 'dir_no-access'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/pattern_file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'pattern_file' --> 'dir_no-write'
771s # res = 0, error code 14 = Error opening file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/pattern_file?: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'not_exists' --> 'dir-target'
771s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'not_exists' --> '.'
771s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'not_exists' --> 'target-file'
771s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'not_exists' --> 'not_exists'
771s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'not_exists' --> 'dir_no-access'
771s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'not_exists' --> 'dir_no-write'
771s # res = 0, error code 1 = Error when getting information for file ?/tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists?: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'not_exists' --> 'dir-target'
771s # res = 0, error code 1 = Error moving file /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'lost_symlink' --> 'dir-target'
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'lost_symlink' --> '.'
771s # res = 0, error code 2 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/lost_symlink: File exists
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'lost_symlink' --> 'target-file'
771s # res = 0, error code 4 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/target-file/lost_symlink: Not a directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'lost_symlink' --> 'not_exists'
771s # res = 0, error code 1 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists/lost_symlink: No such file or directory
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'lost_symlink' --> 'dir_no-access'
771s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-access/lost_symlink: Permission denied
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s # do_copy_move: 'lost_symlink' --> 'dir_no-write'
771s # res = 0, error code 14 = Error making symbolic link /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-write/lost_symlink: Permission denied
771s ok 8 /live-g-file/test_copy_move
771s ok - glib/live-g-file.test
771s # Running test: glib/markup-parse.test
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_delete/.dirs/runtime
771s # Deleting dir1, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir1
771s # result = 0, error = Error removing file /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir1: Directory not empty
771s # Deleting dir2, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir2
771s # result = 0, error = Error removing file /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir2: No such file or directory
771s # Deleting executable_file, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/executable_file
771s # result = 0, error = Error trashing file /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/executable_file: No such file or directory
771s # Deleting readonly_file, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/readonly_file
771s # Deleting dir_pr?i?lis? z, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_pr?i?lis? z
771s # Deleting not_exists, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists
771s # result = 0, error = Error removing file /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists: No such file or directory
771s # Deleting not_exists, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists
771s # result = 0, error = Error trashing file /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/not_exists: No such file or directory
771s # Deleting dir_no-execute/file, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-execute/file
771s # result = 0, error = Error removing file /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/dir_no-execute/file: No such file or directory
771s # Deleting lost_symlink, path = /tmp/test_live-g-file_MCWQ52/testdir_live-g-file/lost_symlink
771s ok 9 /live-g-file/test_delete
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_make_directory_with_parents/.dirs/runtime
771s # We do not have CAP_DAC_OVERRIDE or equivalent
771s ok 10 /live-g-file/test_make_directory_with_parents
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/final_clean/.dirs/runtime
771s # Cleaning target testing structure in '/tmp/test_live-g-file_MCWQ52/testdir_live-g-file'...
771s # deleting 'dir1'
771s # deleting 'subdir'
771s # deleting 'dir-target'
771s # deleting 'dir2'
771s # deleting 'target-file'
771s # deleting 'normal_file-symlink'
771s # deleting 'pattern_file'
771s # deleting 'executable_file'
771s # deleting 'private_file'
771s # deleting 'normal_file2'
771s # deleting 'UTF_pr?i?lis? z'
771s # deleting 'lost_symlink'
771s # deleting 'dir_no-access'
771s # deleting 'dir_no-write'
771s # deleting 'target-file'
771s # deleting 'normal_file'
771s # deleting 'normal_file-symlink'
771s # deleting 'executable_file~'
771s # deleting 'private_file'
771s # deleting 'normal_file2~'
771s # deleting 'a'
771s # deleting 'UTF_pr?i?lis? z'
771s # deleting 'dir_hidden'
771s # deleting '.a-hidden-file'
771s # deleting 'file-in-.hidden1'
771s # deleting '.hidden'
771s # deleting 'file-in-.hidden2'
771s # deleting 'pattern_file'
771s # deleting 'executable_file'
771s # deleting 'normal_file2'
771s # deleting 'not_exists2'
771s # deleting 'not_exists3'
771s # deleting 'not_exists4'
771s ok 11 /live-g-file/final_clean
771s # Start of test_unix_is_mountpoint tests
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/sysroot/.dirs/runtime
771s ok 12 /live-g-file/test_unix_is_mountpoint/sysroot
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data1:/tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_live-g-file_MCWQ52/live-g-file/test_unix_is_mountpoint/proc/.dirs/runtime
771s ok 13 /live-g-file/test_unix_is_mountpoint/proc
771s # End of test_unix_is_mountpoint tests
771s # End of live-g-file tests
771s TAP version 14
771s # random seed: R02S2f479c453ec6bc4b6e329733ee44bab6
771s 1..71
771s # Start of markup tests
771s # Start of parse tests
771s ok 1 /markup/parse/valid-5.gmarkup
771s ok 2 /markup/parse/fail-3.gmarkup
771s ok 3 /markup/parse/valid-11.gmarkup
771s ok 4 /markup/parse/fail-52.gmarkup
771s ok 5 /markup/parse/fail-30.gmarkup
771s ok 6 /markup/parse/fail-5.gmarkup
771s ok 7 /markup/parse/fail-41.gmarkup
771s ok 8 /markup/parse/fail-13.gmarkup
771s ok 9 /markup/parse/fail-31.gmarkup
771s ok 10 /markup/parse/valid-6.gmarkup
771s ok 11 /markup/parse/valid-9.gmarkup
771s ok 12 /markup/parse/fail-54.gmarkup
771s ok 13 /markup/parse/fail-47.gmarkup
771s ok 14 /markup/parse/fail-45.gmarkup
771s ok 15 /markup/parse/fail-50.gmarkup
771s ok 16 /markup/parse/fail-2.gmarkup
771s ok 17 /markup/parse/fail-7.gmarkup
771s ok 18 /markup/parse/fail-21.gmarkup
771s ok 19 /markup/parse/fail-35.gmarkup
771s ok 20 /markup/parse/fail-16.gmarkup
771s ok 21 /markup/parse/fail-33.gmarkup
771s ok 22 /markup/parse/fail-39.gmarkup
771s ok 23 /markup/parse/fail-6.gmarkup
771s ok 24 /markup/parse/fail-11.gmarkup
771s ok 25 /markup/parse/fail-44.gmarkup
771s ok 26 /markup/parse/valid-8.gmarkup
771s ok 27 /markup/parse/fail-24.gmarkup
771s ok 28 /markup/parse/fail-40.gmarkup
771s ok 29 /markup/parse/valid-2.gmarkup
771s ok 30 /markup/parse/fail-37.gmarkup
771s ok 31 /markup/parse/fail-8.gmarkup
771s ok 32 /markup/parse/valid-12.gmarkup
771s ok 33 /markup/parse/fail-42.gmarkup
771s ok 34 /markup/parse/fail-36.gmarkup
771s ok 35 /markup/parse/valid-10.gmarkup
771s ok 36 /markup/parse/valid-1.gmarkup
771s ok 37 /markup/parse/valid-16.gmarkup
771s ok 38 /markup/parse/fail-9.gmarkup
771s ok 39 /markup/parse/fail-43.gmarkup
771s ok 40 /markup/parse/valid-3.gmarkup
771s ok 41 /markup/parse/fail-46.gmarkup
771s ok 42 /markup/parse/fail-14.gmarkup
771s ok 43 /markup/parse/fail-23.gmarkup
771s ok 44 /markup/parse/fail-18.gmarkup
771s ok 45 /markup/parse/fail-53.gmarkup
771s ok 46 /markup/parse/valid-14.gmarkup
771s ok 47 /markup/parse/fail-12.gmarkup
771s ok - glib/markup-parse.test
771s # Running test: glib/callable-info.test
771s ok 48 /markup/parse/fail-38.gmarkup
771s ok 49 /markup/parse/fail-19.gmarkup
771s ok 50 /markup/parse/fail-28.gmarkup
771s ok 51 /markup/parse/fail-32.gmarkup
771s ok 52 /markup/parse/fail-4.gmarkup
771s ok 53 /markup/parse/fail-15.gmarkup
771s ok 54 /markup/parse/fail-27.gmarkup
771s ok 55 /markup/parse/valid-17.gmarkup
771s ok 56 /markup/parse/fail-25.gmarkup
771s ok 57 /markup/parse/fail-51.gmarkup
771s ok 58 /markup/parse/valid-13.gmarkup
771s ok 59 /markup/parse/fail-26.gmarkup
771s ok 60 /markup/parse/fail-17.gmarkup
771s ok 61 /markup/parse/valid-7.gmarkup
771s ok 62 /markup/parse/fail-22.gmarkup
771s ok 63 /markup/parse/valid-4.gmarkup
771s ok 64 /markup/parse/fail-10.gmarkup
771s ok 65 /markup/parse/fail-29.gmarkup
771s ok 66 /markup/parse/fail-48.gmarkup
771s ok 67 /markup/parse/valid-15.gmarkup
771s ok 68 /markup/parse/fail-49.gmarkup
771s ok 69 /markup/parse/fail-34.gmarkup
771s ok 70 /markup/parse/fail-1.gmarkup
771s ok 71 /markup/parse/fail-20.gmarkup
771s # End of parse tests
771s # End of markup tests
771s TAP version 14
771s # random seed: R02S0acd906f464e29d85173fd5a96aeb0e4
771s 1..5
771s # Start of callable-info tests
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/system-config1:/tmp/test_callable-info_903852/callable-info/sync-function/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/system-data1:/tmp/test_callable-info_903852/callable-info/sync-function/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_903852/callable-info/sync-function/.dirs/runtime
771s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
771s ok 1 /callable-info/sync-function
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/system-config1:/tmp/test_callable-info_903852/callable-info/async-function/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/system-data1:/tmp/test_callable-info_903852/callable-info/async-function/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_903852/callable-info/async-function/.dirs/runtime
771s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
771s ok 2 /callable-info/async-function
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/system-config1:/tmp/test_callable-info_903852/callable-info/is-method/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/system-data1:/tmp/test_callable-info_903852/callable-info/is-method/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_903852/callable-info/is-method/.dirs/runtime
771s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
771s ok 3 /callable-info/is-method
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/system-config1:/tmp/test_callable-info_903852/callable-info/static-method/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/system-data1:/tmp/test_callable-info_903852/callable-info/static-method/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_903852/callable-info/static-method/.dirs/runtime
771s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
771s ok 4 /callable-info/static-method
771s ok - glib/callable-info.test
771s # Running test: glib/utf8-pointer.test
771s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/home
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/cache
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/system-config1:/tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/system-config2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/config
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/system-data1:/tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/system-data2
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/data
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/state
771s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_callable-info_903852/callable-info/static-vfunc/.dirs/runtime
771s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
771s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/361
771s ok 5 /callable-info/static-vfunc # SKIP g-ir-scanner is not new enough
771s # End of callable-info tests
771s TAP version 14
771s # random seed: R02S9e53556ee35f82dfb45ca3e3df3d82e0
771s 1..3
771s # Start of utf8 tests
771s # Executing: glib/utf8-pointer.test
772s ok 1 /utf8/offsets
772s # slow test /utf8/offsets executed in 0.82 secs
772s ok 2 /utf8/lengths
772s ok 3 /utf8/find
772s # End of utf8 tests
772s ok - glib/utf8-pointer.test
772s # Running test: glib/performance.test
776s # Executing: glib/performance.test
781s # Executing: glib/performance.test
782s simple-construction: Millions of constructed objects per second: 21.255
787s simple-construction1: Millions of constructed objects per second: 80.642
787s # Executing: glib/performance.test
791s # Executing: glib/performance.test
792s complex-construction: Millions of constructed objects per second: 7.119
796s # Executing: glib/performance.test
797s complex-construction1: Millions of constructed objects per second: 14.103
801s # Executing: glib/performance.test
804s complex-construction2: Millions of constructed objects per second: 15.186
806s # Executing: glib/performance.test
806s finalization: Millions of finalized objects per second: 4.023
808s type-check: Million type checks per second: 74.99
810s emit-unhandled: Emissions per second: 8743911
811s emit-unhandled-empty: Emissions per second: 55107815
811s # Executing: glib/performance.test
813s emit-unhandled-generic: Emissions per second: 14514060
815s emit-unhandled-generic-empty: Emissions per second: 55162616
816s emit-unhandled-args: Emissions per second: 6747337
816s # Executing: glib/performance.test
817s emit-handled: Emissions per second: 5770098
819s emit-handled-empty: Emissions per second: 6252698
820s emit-handled-generic: Emissions per second: 6225952
822s # Executing: glib/performance.test
822s emit-handled-generic-empty: Emissions per second: 11433662
823s emit-handled-args: Emissions per second: 4984213
825s notify-unhandled: Notify (unhandled) per second: 36404723
826s # Executing: glib/performance.test
827s notify-by-pspec-unhandled: Notify (unhandled) per second: 118048121
828s notify-handled: Notify per second: 2928404
830s notify-by-pspec-handled: Notify per second: 3107959
831s property-set: Property set per second: 21762630
831s # Executing: glib/performance.test
833s property-set-signaled: Property set per second: 4137225
835s property-get: Property get per second: 19433138
836s refcount: Million refs+unref per second: 40.05
836s # Executing: glib/performance.test
837s refcount-1: Million refs+unref per second: 157.21
838s refcount-toggle: Million refs+unref per second: 82.69
838s ok - glib/performance.test
838s # Running test: glib/gdbus-proxy-well-known-name.test
838s TAP version 14
838s # random seed: R02S3ae4c3994755cda18b15768b3e286288
838s 1..1
838s # Start of gdbus tests
838s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/home
838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/cache
838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/system-config1:/tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/system-config2
838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/config
838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/system-data1:/tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/system-data2
838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/data
838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/state
838s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-well-known-name_87VU52/gdbus/proxy-well-known-name/.dirs/runtime
838s ok - glib/gdbus-proxy-well-known-name.test
838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
838s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
838s ok 1 /gdbus/proxy-well-known-name
838s # End of gdbus tests
838s # Running test: glib/data-input-stream.test
838s TAP version 14
838s # random seed: R02S9b43a61ca452d5290110f38d30b91f9e
838s 1..10
838s # Start of data-input-stream tests
838s ok 1 /data-input-stream/basic
838s ok 2 /data-input-stream/read-lines-LF
838s ok 3 /data-input-stream/read-lines-LF-valid-utf8
838s ok 4 /data-input-stream/read-lines-LF-invalid-utf8
838s ok 5 /data-input-stream/read-lines-CR
838s ok 6 /data-input-stream/read-lines-CR-LF
838s ok 7 /data-input-stream/read-lines-any
838s ok 8 /data-input-stream/read-until
838s # Test vector 0: part1 # part2 $ part3 ? part4 ? and #$?^
838s # Test vector 1: {"key": "value"}? and ?
838s ok 9 /data-input-stream/read-upto
838s ok 10 /data-input-stream/read-int
838s # End of data-input-stream tests
838s ok - glib/data-input-stream.test
838s # Running test: glib/collate.test
838s TAP version 14
838s # random seed: R02Saab151fd550b193cfe04f03ec9a0cae7
838s 1..9
838s # Start of unicode tests
838s # Start of collate tests
838s ok 1 /unicode/collate/0
838s ok 2 /unicode/collate/1
838s ok 3 /unicode/collate/2
838s # End of collate tests
838s # Start of collate-key tests
838s ok 4 /unicode/collate-key/0
838s ok 5 /unicode/collate-key/1
838s ok 6 /unicode/collate-key/2
838s # End of collate-key tests
838s # Start of collate-filename tests
838s ok 7 /unicode/collate-filename/0
838s ok 8 /unicode/collate-filename/1
838s ok 9 /unicode/collate-filename/2
838s # End of collate-filename tests
838s # End of unicode tests
838s ok - glib/collate.test
838s # Running test: glib/private.test
838s TAP version 14
838s # random seed: R02Sb3a3b1433d9fe17e5766e6e019ac6644
838s 1..8
838s # Start of thread tests
838s ok 1 /thread/private1
840s ok 2 /thread/private2
840s # slow test /thread/private2 executed in 1.24 secs
840s ok 3 /thread/private3
840s ok 4 /thread/staticprivate1
840s ok 5 /thread/staticprivate2
840s ok 6 /thread/staticprivate3
841s ok 7 /thread/staticprivate4
841s # slow test /thread/staticprivate4 executed in 1.15 secs
841s ok 8 /thread/staticprivate5
841s # End of thread tests
841s ok - glib/private.test
841s # Running test: glib/gdbus-introspection.test
841s TAP version 14
841s # random seed: R02S63a16f70e561fe4368fb466a27071bcf
841s 1..4
841s # Start of gdbus tests
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/system-config1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/config
841s ok - glib/gdbus-introspection.test
841s # Running test: glib/null-settings-backend.test
841s ok - glib/null-settings-backend.test
841s # Running test: glib/signals.test
841s ok - glib/signals.test
841s # Running test: glib/thread-pool.test
841s ok - glib/thread-pool.test
841s # Running test: glib/gdbus-message.test
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/system-data1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-parser/.dirs/runtime
841s ok 1 /gdbus/introspection-parser
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/system-config1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/config
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/system-data1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-generate/.dirs/runtime
841s ok 2 /gdbus/introspection-generate
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/system-config1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/config
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/system-data1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-default-direction/.dirs/runtime
841s ok 3 /gdbus/introspection-default-direction
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/system-config1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/config
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/system-data1:/tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-introspection_HF3052/gdbus/introspection-extra-data/.dirs/runtime
841s ok 4 /gdbus/introspection-extra-data
841s # End of gdbus tests
841s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
841s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
841s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
841s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
841s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
841s TAP version 14
841s # random seed: R02Sce5be229f8498f4619ff316d5bc098cc
841s 1..1
841s # Start of null-settings-backend tests
841s ok 1 /null-settings-backend/extension-point-registered
841s # End of null-settings-backend tests
841s TAP version 14
841s # random seed: R02S2d2fc66becf4f6d5de4602dc6aeb8f3b
841s 1..31
841s # Start of gobject tests
841s # Start of signals tests
841s ok 1 /gobject/signals/all-types
841s ok 2 /gobject/signals/variant
841s ok 3 /gobject/signals/destroy-target-object
841s ok 4 /gobject/signals/generic-marshaller-1
841s ok 5 /gobject/signals/generic-marshaller-2
841s ok 6 /gobject/signals/generic-marshaller-enum-return-signed
841s ok 7 /gobject/signals/generic-marshaller-enum-return-unsigned
841s ok 8 /gobject/signals/generic-marshaller-int-return
841s ok 9 /gobject/signals/generic-marshaller-uint-return
841s ok 10 /gobject/signals/generic-marshaller-interface-return
841s ok 11 /gobject/signals/custom-marshaller
841s ok 12 /gobject/signals/connect
841s ok 13 /gobject/signals/emission-hook
841s ok 14 /gobject/signals/emitv
841s ok 15 /gobject/signals/accumulator
841s # Signal: accumulator-class-first
841s # Signal: accumulator-class-last
841s # Signal: accumulator-class-cleanup
841s # Signal: accumulator-class-first-last
841s # Signal: accumulator-class-first-last-cleanup
841s # Signal: accumulator-class-last-cleanup
841s ok 16 /gobject/signals/accumulator-class
841s ok 17 /gobject/signals/introspection
841s ok 18 /gobject/signals/block-handler
841s ok 19 /gobject/signals/stop-emission
841s ok 20 /gobject/signals/invocation-hint
841s ok 21 /gobject/signals/test-disconnection-wrong-object
841s ok 22 /gobject/signals/clear-signal-handler
841s # /gobject/signals/lookup summary: Test that g_signal_lookup() works with a variety of inputs.
841s ok 23 /gobject/signals/lookup
841s # /gobject/signals/parse-name summary: Test that g_signal_parse_name() works with a variety of inputs.
841s ok 24 /gobject/signals/parse-name
841s ok 25 /gobject/signals/is-valid-name
841s ok 26 /gobject/signals/weak-ref-disconnect
841s # Start of lookup tests
841s # /gobject/signals/lookup/invalid summary: Test that g_signal_lookup() emits a warning if looking up an invalid signal name.
841s ok 27 /gobject/signals/lookup/invalid
841s # End of lookup tests
841s # Start of parse-name tests
841s # /gobject/signals/parse-name/invalid summary: Test that g_signal_parse_name() ignores a variety of invalid inputs.
841s # Parser input:
841s # Parser input: 7zip
841s # Parser input: invalid:signal
841s # Parser input: simple-detailed::
841s # Parser input: simple-detailed:
841s # Parser input: :
841s # Parser input: ::
841s # Parser input: :valid-detail
841s # Parser input: ::valid-detail
841s ok 28 /gobject/signals/parse-name/invalid
841s # End of parse-name tests
841s # Start of invalid-name tests
841s # /gobject/signals/invalid-name/colon summary: Check that g_signal_new() rejects invalid signal names.
841s ok 29 /gobject/signals/invalid-name/colon
841s # /gobject/signals/invalid-name/first-char summary: Check that g_signal_new() rejects invalid signal names.
841s ok 30 /gobject/signals/invalid-name/first-char
841s # /gobject/signals/invalid-name/empty summary: Check that g_signal_new() rejects invalid signal names.
841s ok 31 /gobject/signals/invalid-name/empty
841s # End of invalid-name tests
841s # End of signals tests
841s # End of gobject tests
841s TAP version 14
841s # random seed: R02Sa492d6189216cf4568e3ea49f6114e09
841s 1..5
841s # Start of thread_pool tests
841s # /thread_pool/shared summary: Tests that a shared, non-exclusive thread pool generally works.
841s ok 1 /thread_pool/shared
841s # /thread_pool/exclusive summary: Tests that an exclusive thread pool generally works.
841s ok 2 /thread_pool/exclusive
841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
841s # /thread_pool/create_shared_after_exclusive summary: Tests that creating a shared pool after an exclusive one works.
841s ok 3 /thread_pool/create_shared_after_exclusive
841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/121
841s ok 4 /thread_pool/create_full
841s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2012
841s # /thread_pool/create_exclusive_after_shared summary: Tests that creating an exclusive pool after a shared one works.
841s ok 5 /thread_pool/create_exclusive_after_shared
841s # End of thread_pool tests
841s TAP version 14
841s # random seed: R02Sbfae359f1d5c6d9ebc7b717435b5807c
841s 1..3
841s # Start of gdbus tests
841s # Start of message tests
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/system-config1:/tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/config
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/system-data1:/tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_E7J052/gdbus/message/lock/.dirs/runtime
841s ok 1 /gdbus/message/lock
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/system-config1:/tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/config
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/system-data1:/tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_E7J052/gdbus/message/copy/.dirs/runtime
841s ok 2 /gdbus/message/copy
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/system-config1:/tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/config
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/system-data1:/tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-message_E7J052/gdbus/message/bytes-needed/.dirs/runtime
841s # Vector: 0
841s # Vector: 1
841s # Vector: 2
841s # Vector: 3
841s # Vector: 4
841s # Vector: 5
841s ok 3 /gdbus/message/bytes-needed
841s # End of message tests
841s # End of gdbus tests
841s ok - glib/gdbus-message.test
841s TAP version 14
841s # random seed: R02S6c440d338d26ffc4b6a3ed531b3c3f3c
841s 1..14
841s # Start of properties tests
841s ok 1 /properties/install
841s ok 2 /properties/install-many
841s ok 3 /properties/notify
841s ok 4 /properties/notify-queue
841s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=630357
841s ok 5 /properties/construct
841s # /properties/get-property summary: g_object_get_property() accepts uninitialized, initialized, and transformable values
841s # Test g_object_get_property with an initialized value
841s # Test g_object_get_property with an uninitialized value
841s # Test g_object_get_property with a transformable value
841s ok 6 /properties/get-property
841s ok 7 /properties/testv_with_no_properties
841s ok 8 /properties/testv_with_valid_properties
841s ok 9 /properties/testv_with_invalid_property_type
841s ok 10 /properties/testv_with_invalid_property_names
841s ok 11 /properties/testv_getv
841s ok 12 /properties/testv_notify_queue
841s # Start of notify tests
841s ok 13 /properties/notify/too-many-freezes
841s # End of notify tests
841s # Start of set-property tests
841s # Start of variant tests
841s # /properties/set-property/variant/floating summary: Test that setting a property to a floating variant consumes the reference
841s ok 14 /properties/set-property/variant/floating
841s # End of variant tests
841s # End of set-property tests
841s # End of properties tests
841s TAP version 14
841s # random seed: R02Scb3905c2bcda2640641043a18329e706
841s 1..41
841s # Start of markup tests
841s ok 1 /markup/format
841s # Start of escape-text tests
841s ok 2 /markup/escape-text/0
841s ok 3 /markup/escape-text/1
841s ok 4 /markup/escape-text/2
841s ok 5 /markup/escape-text/3
841s ok 6 /markup/escape-text/4
841s ok 7 /markup/escape-text/5
841s ok 8 /markup/escape-text/6
841s ok 9 /markup/escape-text/7
841s ok 10 /markup/escape-text/8
841s ok 11 /markup/escape-text/9
841s ok 12 /markup/escape-text/10
841s ok 13 /markup/escape-text/11
841s ok 14 /markup/escape-text/12
841s ok 15 /markup/escape-text/13
841s ok 16 /markup/escape-text/14
841s ok 17 /markup/escape-text/15
841s ok 18 /markup/escape-text/16
841s ok 19 /markup/escape-text/17
841s ok 20 /markup/escape-text/18
841s ok 21 /markup/escape-text/19
841s ok 22 /markup/escape-text/20
841s ok 23 /markup/escape-text/21
841s ok 24 /markup/escape-text/22
841s # End of escape-text tests
841s # Start of escape-unichar tests
841s ok 25 /markup/escape-unichar/0
841s ok 26 /markup/escape-unichar/1
841s ok 27 /markup/escape-unichar/2
841s ok 28 /markup/escape-unichar/3
841s ok 29 /markup/escape-unichar/4
841s ok 30 /markup/escape-unichar/5
841s ok 31 /markup/escape-unichar/6
841s ok 32 /markup/escape-unichar/7
841s ok 33 /markup/escape-unichar/8
841s ok 34 /markup/escape-unichar/9
841s ok 35 /markup/escape-unichar/10
841s ok 36 /markup/escape-unichar/11
841s ok 37 /markup/escape-unichar/12
841s ok 38 /markup/escape-unichar/13
841s ok 39 /markup/escape-unichar/14
841s ok 40 /markup/escape-unichar/15
841s ok 41 /markup/escape-unichar/16
841s # End of escape-unichar tests
841s # End of markup tests
841s TAP version 14
841s # random seed: R02S4a93d0eb3f25008c9021643e34ee32f2
841s 1..1
841s # Start of portal-support tests
841s # Start of flatpak tests
841s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/home
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/cache
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/system-config1:/tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/system-config2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/config
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/system-data1:/tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/system-data2
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/data
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/state
841s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/runtime
841s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-network-only_WG1052/portal-support/flatpak/network/.dirs/runtime/.flatpak-info
841s ok 1 /portal-support/flatpak/network
841s # End of flatpak tests
841s # End of portal-support tests
841s TAP version 14
841s # random seed: R02Sdc0a0f0c7cc27a9ce52ee96f7c918415
841s 1..19
841s # Start of tls-certificate tests
841s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
841s ok 1 /tls-certificate/pem-parser
841s ok 2 /tls-certificate/pem-parser-handles-chain
841s ok 3 /tls-certificate/from_file
841s ok 4 /tls-certificate/from_files
841s ok 5 /tls-certificate/from_files_crlf
841s ok 6 /tls-certificate/from_files_pkcs8
841s ok 7 /tls-certificate/from_files_pkcs8enc
841s ok 8 /tls-certificate/list_from_file
841s ok 9 /tls-certificate/pkcs11-uri
841s ok 10 /tls-certificate/pkcs11-uri-unsupported
841s ok 11 /tls-certificate/from_pkcs12
841s ok 12 /tls-certificate/from_pkcs12_file
841s ok 13 /tls-certificate/not-valid-before
841s ok 14 /tls-certificate/not-valid-after
841s ok 15 /tls-certificate/subject-name
841s ok 16 /tls-certificate/issuer-name
841s ok 17 /tls-certificate/dns-names
841s ok 18 /tls-certificate/ip-addresses
841s ok 19 /tls-certificate/pem-parser-no-sentinel
841s # End of tls-certificate tests
841s TAP version 14
841s # random seed: R02S384b9c1beb7f4e3130c4e6bcb3071714
841s 1..7
841s # Start of asyncqueue tests
841s ok 1 /asyncqueue/basics
841s ok 2 /asyncqueue/sort
841s ok 3 /asyncqueue/destroy
841s # Running test: glib/properties.test
841s ok - glib/properties.test
841s # Running test: glib/markup-escape.test
841s ok - glib/markup-escape.test
841s # Running test: glib/portal-support-flatpak-network-only.test
841s ok - glib/portal-support-flatpak-network-only.test
841s # Running test: glib/tls-certificate.test
841s ok - glib/tls-certificate.test
841s # Running test: glib/asyncqueue.test
841s ok 4 /asyncqueue/threads
841s ok 5 /asyncqueue/timed
841s ok 6 /asyncqueue/remove
841s ok 7 /asyncqueue/push_front
841s # End of asyncqueue tests
841s ok - glib/asyncqueue.test
841s # Running test: glib/refstring.test
841s TAP version 14
841s # random seed: R02S10794ee094bc666bfcb3a0301096333d
841s 1..8
841s # Start of refstring tests
841s # s = 'hello, world' (0x2aa0eac63d0)
841s ok 1 /refstring/base
841s ok 2 /refstring/length
841s ok 3 /refstring/length-auto
841s ok 4 /refstring/length-nuls
841s # s = 'hello, world' (0x2aa0eac6270)
841s # p = s = 'hello, world' (0x2aa0eac6270)
841s # releasing p[0x2aa0eac6270] ('hello, world')
841s # p = 'goodbye, world' (0x2aa0eac63d0)
841s # releasing p[0x2aa0eac63d0] ('goodbye, world')
841s # releasing s[0x2aa0eac6270] ('hello, world')
841s ok 5 /refstring/intern
841s # /refstring/hash_equal summary: Test g_ref_string_equal() in GHashTable
841s ok 6 /refstring/hash_equal
841s # /refstring/equal summary: Test g_ref_string_equal() standalone
841s ok 7 /refstring/equal
842s # Executing: glib/refstring.test
842s ok 8 /refstring/intern-thread-safety
842s # End of refstring tests
842s ok - glib/refstring.test
842s # Running test: glib/gdbus-error.test
842s TAP version 14
842s # random seed: R02S3d3fc0c64ca68634eeb6a7529b2a5736
842s 1..4
842s # Start of gdbus tests
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/system-config1:/tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/system-data1:/tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_YZEY52/gdbus/registered-errors/.dirs/runtime
842s ok 1 /gdbus/registered-errors
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/cache
842s ok - glib/gdbus-error.test
842s # Running test: glib/portal-support-snap.test
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/system-config1:/tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/system-data1:/tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_YZEY52/gdbus/unregistered-errors/.dirs/runtime
842s ok 2 /gdbus/unregistered-errors
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/system-config1:/tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/system-data1:/tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_YZEY52/gdbus/transparent-gerror/.dirs/runtime
842s ok 3 /gdbus/transparent-gerror
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/system-config1:/tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/system-data1:/tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-error_YZEY52/gdbus/register-error/.dirs/runtime
842s ok 4 /gdbus/register-error
842s # End of gdbus tests
842s TAP version 14
842s # random seed: R02S4f545b5251db46765e92ae0721f6c6a9
842s 1..7
842s # Start of portal-support tests
842s # Start of snap tests
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/system-config1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/system-data1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl/.dirs/runtime
842s # Created snap.yaml in /tmp/test_portal-support-snap_JFCY52/meta/snap.yaml
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52/portal-support/snap/no-snapctl: No such file or directory
842s ok 1 /portal-support/snap/no-snapctl
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/system-config1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/system-data1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/runtime
842s # Created snap.yaml in /tmp/test_portal-support-snap_JFCY52/meta/snap.yaml
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none/.dirs/runtime/snapctl
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52/portal-support/snap/none: No such file or directory
842s ok 2 /portal-support/snap/none
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/system-config1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/system-data1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/runtime
842s # Created snap.yaml in /tmp/test_portal-support-snap_JFCY52/meta/snap.yaml
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all/.dirs/runtime/snapctl
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52/portal-support/snap/all: No such file or directory
842s ok 3 /portal-support/snap/all
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/system-config1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/system-data1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/runtime
842s # Created snap.yaml in /tmp/test_portal-support-snap_JFCY52/meta/snap.yaml
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only/.dirs/runtime/snapctl
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52/portal-support/snap/desktop-only: No such file or directory
842s ok 4 /portal-support/snap/desktop-only
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/system-config1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/system-data1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/runtime
842s # Created snap.yaml in /tmp/test_portal-support-snap_JFCY52/meta/snap.yaml
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only/.dirs/runtime/snapctl
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52/portal-support/snap/network-only: No such file or directory
842s ok 5 /portal-support/snap/network-only
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/system-config1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/system-data1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/runtime
842s # Created snap.yaml in /tmp/test_portal-support-snap_JFCY52/meta/snap.yaml
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only/.dirs/runtime/snapctl
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52/portal-support/snap/gsettings-only: No such file or directory
842s ok 6 /portal-support/snap/gsettings-only
842s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/home
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/cache
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/system-config1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/system-config2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/config
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/system-data1:/tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/system-data2
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/data
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/state
842s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime
842s # Created snap.yaml in /tmp/test_portal-support-snap_JFCY52/meta/snap.yaml
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
842s # Created snapctl in /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically/.dirs/runtime/snapctl
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52/portal-support/snap/updates-dynamically: No such file or directory
842s ok 7 /portal-support/snap/updates-dynamically
842s # End of snap tests
842s # End of portal-support tests
842s Unable to clean up temporary directory /tmp/test_portal-support-snap_JFCY52: No such file or directory
842s ok - glib/portal-support-snap.test
842s # Running test: glib/enums.test
842s TAP version 14
842s # random seed: R02Se822d4dd8b39b1402deb3efe1e4e7d7b
842s 1..4
842s # Start of enum tests
842s ok 1 /enum/basic
842s ok 2 /enum/define-type
842s # End of enum tests
842s # Start of flags tests
842s ok 3 /flags/basic
842s ok 4 /flags/define-type
842s # End of flags tests
842s ok - glib/enums.test
842s # Running test: glib/cxx-03.test
842s TAP version 14
842s ok - glib/cxx-03.test
842s # random seed: R02Sc6c7690d758a7ab91eb93deedcf9cb01
842s 1..2
842s # Start of gtask tests
842s # 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.
842s ok 1 /gtask/name
842s # Start of name tests
842s # 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.
842s ok 2 /gtask/name/macro-wrapper
842s # End of name tests
842s # End of gtask tests
842s # Running test: glib/reference.test
842s TAP version 14
842s # random seed: R02S0b06dee2f69e7ee557ec6f22a69b0b00
842s 1..29
842s # Start of type tests
842s ok 1 /type/fundamentals
842s ok 2 /type/qdata
842s ok 3 /type/query
842s ok 4 /type/class-private
842s # End of type tests
842s # Start of object tests
842s ok 5 /object/clear
842s ok 6 /object/clear-function
842s ok 7 /object/set
842s ok 8 /object/set-function
842s ok 9 /object/value
842s ok 10 /object/initially-unowned
842s ok 11 /object/weak-pointer
842s ok 12 /object/weak-ref
842s ok 13 /object/toggle-ref
842s ok 14 /object/qdata
842s ok 15 /object/qdata2
842s # Start of set tests
842s # /object/set/derived-type summary: Check that g_set_object() doesn?t give strict aliasing warnings when used on types derived from GObject
842s ok 16 /object/set/derived-type
842s # End of set tests
842s # Start of weak-pointer tests
842s ok 17 /object/weak-pointer/clear
842s ok 18 /object/weak-pointer/clear-function
842s ok 19 /object/weak-pointer/set
842s ok 20 /object/weak-pointer/set-function
842s # End of weak-pointer tests
842s # Start of weak-ref tests
842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
842s # /object/weak-ref/on-dispose summary: Test that a weak ref set during dispose vfunc is cleared
842s ok 21 /object/weak-ref/on-dispose
842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/865
842s # /object/weak-ref/on-run-dispose summary: Test that a weak ref is cleared on g_object_run_dispose()
842s ok 22 /object/weak-ref/on-run-dispose
842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
842s # /object/weak-ref/on-toggle-notify summary: Test that a weak ref set on toggle notify is cleared
842s ok 23 /object/weak-ref/on-toggle-notify
842s ok 24 /object/weak-ref/in-toggle-notify
842s ok 25 /object/weak-ref/many
842s # Start of concurrent tests
842s ok 26 /object/weak-ref/concurrent/0
842s ok - glib/reference.test
842s # Running test: glib/g-file.test
842s ok 27 /object/weak-ref/concurrent/1
842s # End of concurrent tests
842s # End of weak-ref tests
842s # Start of toggle-ref tests
842s ok 28 /object/toggle-ref/ref-on-dispose
842s ok 29 /object/toggle-ref/ref-and-notify-on-dispose
842s # End of toggle-ref tests
842s # End of object tests
842s TAP version 14
842s # random seed: R02S0d59765de2b0f999db27bdbbd9e374d4
842s 1..8
842s # Start of g-file tests
842s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
842s ok 1 /g-file/test_g_file_new_null
842s ok 2 /g-file/test_g_file_new_for_path
842s ok 3 /g-file/test_g_file_new_for_uri
842s ok 4 /g-file/test_g_file_dup
842s ok 5 /g-file/test_g_file_get_parse_name_utf8
842s file:///tmp/test-tmp-glib_g-file.test-V1QQ52
842s file:///tmp
842s file:///tmp
842s file:////UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
842s file:///UTF-8%20p%C5%99%C3%ADli%C5%A1%20%C5%BElu%C5%A5ou%C4%8Dk%C3%BD%20k%C5%AF%C5%88
842s ok 6 /g-file/test_g_file_new_for_commandline_arg
842s /dir1 /dir1/dir2/dir3/
842s /dir1/ /dir1/dir2/dir3/
842s /dir1 /dir1/dir2/dir3
842s /dir1/ /dir1/dir2/dir3
842s /tmp/ /something/
842s /dir1/dir2 /dir1/
842s //dir1/new //dir1/new/dir2/dir3
842s /dir/UTF-8 p??li? ?lu?ou?k? k?? /dir/UTF-8 p??li? ?lu?ou?k? k??/dir2
842s file:///dir1 file:///dir1/dir2/dir3/
842s file:///dir1/ file:///dir1/dir2/dir3/
842s file:///dir1 file:///dir1/dir2/dir3
842s file:///dir1/ file:///dir1/dir2/dir3
842s file:///tmp/ file:///something/
842s file:///dir1/dir2 file:///dir1/
842s file:////dir1/new file:////dir1/new/dir2/dir3
842s 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
842s ok 7 /g-file/test_g_file_has_prefix
842s ok 8 /g-file/test_g_file_get_parent_child
842s # End of g-file tests
842s ok - glib/g-file.test
842s # Running test: glib/portal-support-env-var.test
842s TAP version 14
842s # random seed: R02Sc2ecdfd1a3125db0bad6d00914990cb8
842s 1..1
842s # Start of portal-support tests
842s ok 1 /portal-support/env-var
842s # End of portal-support tests
842s ok - glib/portal-support-env-var.test
842s # Running test: glib/vfs.test
842s TAP version 14
842s # random seed: R02Sab94553abff9d633d4455bac78fe4138
842s 1..3
842s # Start of gvfs tests
842s ok 1 /gvfs/local
842s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
842s ok 2 /gvfs/register-scheme
842s # Start of resource tests
842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3090
842s # /gvfs/resource/malformed-escaping summary: Test that g_vfs_get_file_for_uri() returns an invalid file for an invalid URI
842s ok 3 /gvfs/resource/malformed-escaping
842s # End of resource tests
842s # End of gvfs tests
842s ok - glib/vfs.test
842s TAP version 14
842s # random seed: R02S19d0c909458ab91d766731c289503a56
842s 1..1
842s # Start of include tests
842s ok 1 /include/rwlock
842s # End of include tests
842s # Running test: glib/include.test
842s ok - glib/include.test
842s # Running test: glib/once.test
842s TAP version 14
842s # random seed: R02S95299e4e92ac220c4dceb395223fb49d
842s 1..5
842s # Start of once tests
842s # /once/single-threaded summary: Test g_once() usage from a single thread
842s ok 1 /once/single-threaded
842s # /once/multi-threaded summary: Test g_once() usage from multiple threads
842s ok 2 /once/multi-threaded
842s # End of once tests
842s # Start of once-init tests
842s # /once-init/single-threaded summary: Test g_once_init_{enter,leave}() usage from a single thread
842s ok 3 /once-init/single-threaded
842s # /once-init/multi-threaded summary: Test g_once_init_{enter,leave}() usage from multiple threads
842s ok - glib/once.test
842s ok 4 /once-init/multi-threaded
842s # /once-init/string summary: Test g_once_init_{enter,leave}() usage with a string
842s ok 5 /once-init/string
842s # End of once-init tests
842s # Running test: glib/debugcontroller.test
842s TAP version 14
842s # random seed: R02S53d69535aef23451dc9b4902d0562a80
842s 1..3
842s # Start of debug-controller tests
842s # Start of dbus tests
842s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
842s # GLib-GIO-DEBUG: Debug output enabled
842s # GLib-GIO-DEBUG: Debug output disabled
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s ok 1 /debug-controller/dbus/basic
842s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
842s ok 2 /debug-controller/dbus/duplicate
842s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
842s ok 3 /debug-controller/dbus/properties # SKIP https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2486#note_1384102
842s # End of dbus tests
842s # End of debug-controller tests
842s ok - glib/debugcontroller.test
842s # Running test: glib/utils-c-99.test
842s TAP version 14
842s # random seed: R02Se9a6e6e22b4bf7ff9d218e4be42d6b5e
842s 1..41
842s # Start of utils tests
842s ok 1 /utils/language-names
842s ok 2 /utils/locale-variants
842s ok 3 /utils/version
842s ok 4 /utils/appname
842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
842s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
842s ok 5 /utils/prgname-thread-safety
842s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
842s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
842s ok 6 /utils/tmpdir
842s ok 7 /utils/basic_bits
842s ok 8 /utils/bits
842s ok 9 /utils/swap
842s ok 10 /utils/find-program
842s ok 11 /utils/find-program-for-path
842s ok 12 /utils/debug
842s ok 13 /utils/codeset
842s ok 14 /utils/codeset2
842s ok 15 /utils/console-charset
842s ok 16 /utils/gettext
842s ok 17 /utils/username
842s ok 18 /utils/realname
842s ok 19 /utils/hostname
842s ok 20 /utils/xdgdirs
842s ok 21 /utils/specialdir
842s # NAME: Ubuntu
842s ok 22 /utils/os-info
842s ok 23 /utils/clear-pointer
842s ok 24 /utils/clear-pointer-cast
842s ok 25 /utils/take-pointer
842s ok 26 /utils/clear-source
842s ok 27 /utils/misc-mem
842s # /utils/aligned-mem summary: Aligned memory allocator
842s # Alignment must not be zero
842s # Alignment must be a power of two
842s # Alignment must be a multiple of sizeof(void*)
842s ok 28 /utils/aligned-mem
842s # /utils/free-sized summary: Check that g_free_sized() works
842s ok 29 /utils/free-sized
842s ok 30 /utils/nullify
842s ok 31 /utils/atexit
842s ok 32 /utils/check-setuid
842s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
842s ok 33 /utils/int-limits
842s ok 34 /utils/clear-list
842s ok 35 /utils/clear-slist
842s ok 36 /utils/steal-handle-id
842s # Start of specialdir tests
842s ok 37 /utils/specialdir/desktop
842s # End of specialdir tests
842s # Start of clear-pointer tests
842s ok 38 /utils/clear-pointer/side-effects
842s # End of clear-pointer tests
842s # Start of aligned-mem tests
842s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
842s ok 39 /utils/aligned-mem/alignment
842s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
842s ok 40 /utils/aligned-mem/zeroed
842s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
842s ok 41 /utils/aligned-mem/free-sized
842s # Start of subprocess tests
842s # End of subprocess tests
842s # End of aligned-mem tests
842s # End of utils tests
842s ok - glib/utils-c-99.test
842s # Running test: glib/atomic-c-99.test
842s TAP version 14
842s # random seed: R02S8e0294de5471e4cf00826b2089fecc04
842s 1..2
842s # Start of atomic tests
842s ok 1 /atomic/types
842s ok 2 /atomic/threaded
842s # End of atomic tests
842s ok - glib/atomic-c-99.test
842s # Running test: glib/messages-low-memory.py.test
842s TAP version 13
842s ok 1 __main__.TestMessagesLowMemory.test_message_memory_allocation_failure
842s # messages-low-memory: /usr/libexec/installed-tests/glib/messages-low-memory
842s # tmpdir: /tmp/tmpdif81lfi
842s # Running: ['/usr/libexec/installed-tests/glib/messages-low-memory']
842s # Return code: -6
842s # Output:
842s #
842s # Error:
842s # GLib-Message: 09:38:04.567: Simulates a situation in which we were crashing because of low-memory, leading malloc to fail instead of aborting
842s # GLib-Message: 09:38:04.569: bug: https://gitlab.gnome.org/GNOME/glib/-/issues/2753
842s # ../../../glib/gprintf.c:350: failed to allocate memory
842s 1..1
842s ok - glib/messages-low-memory.py.test
842s # Running test: glib/thread-pool-slow.test
842s TAP version 14
842s # random seed: R02Scbd42ae52d5f001fd8c224e3062a85be
842s 1..7
842s # Start of threadpool tests
842s ok 1 /threadpool/functions
843s ok 2 /threadpool/stop-unused
843s # slow test /threadpool/stop-unused executed in 0.53 secs
843s ok 3 /threadpool/pools
843s # [unsorted] ===> pushed new thread with id:41, number of threads:1, unprocessed:1
843s # [unsorted] ===> pushed new thread with id:26, number of threads:2, unprocessed:2
843s # [unsorted] ===> pushed new thread with id:88, number of threads:3, unprocessed:3
843s # [unsorted] ===> pushed new thread with id:23, number of threads:4, unprocessed:4
843s # [unsorted] ===> pushed new thread with id:80, number of threads:5, unprocessed:5
843s # [unsorted] ===> pushed new thread with id:27, number of threads:6, unprocessed:6
843s # [unsorted] ===> pushed new thread with id:89, number of threads:7, unprocessed:5
843s # [unsorted] ===> pushed new thread with id:33, number of threads:8, unprocessed:1
843s # [unsorted] ===> pushed new thread with id:32, number of threads:9, unprocessed:2
843s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:3
843s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:4
843s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:4
843s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:5
843s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:6
843s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:6
843s # [unsorted] ===> pushed new thread with id:50, number of threads:10, unprocessed:7
843s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:8
843s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:9
843s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:10
843s # [unsorted] ===> pushed new thread with id:69, number of threads:10, unprocessed:11
843s # [unsorted] ===> pushed new thread with id:15, number of threads:10, unprocessed:11
843s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:12
843s # [unsorted] ===> pushed new thread with id:22, number of threads:10, unprocessed:13
843s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:14
843s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:15
843s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:16
843s # [unsorted] ===> pushed new thread with id:60, number of threads:10, unprocessed:17
843s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:18
843s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:19
843s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:20
843s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:21
843s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:22
843s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:23
843s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:24
843s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:25
843s # [unsorted] ===> pushed new thread with id:87, number of threads:10, unprocessed:26
843s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:27
843s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:28
843s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:29
843s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:30
843s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:31
843s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:32
843s # [unsorted] ===> pushed new thread with id:43, number of threads:10, unprocessed:33
843s # [unsorted] ===> pushed new thread with id:2, number of threads:10, unprocessed:34
843s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:35
843s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:36
843s # [unsorted] ===> pushed new thread with id:61, number of threads:10, unprocessed:37
843s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:38
843s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:39
843s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:40
843s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:41
843s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:42
843s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:43
843s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:44
843s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:45
843s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:46
843s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:47
843s # [unsorted] ===> pushed new thread with id:11, number of threads:10, unprocessed:48
843s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:49
843s # [unsorted] ===> pushed new thread with id:19, number of threads:10, unprocessed:50
843s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:51
843s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:52
843s # [unsorted] ===> pushed new thread with id:18, number of threads:10, unprocessed:53
843s # [unsorted] ===> pushed new thread with id:44, number of threads:10, unprocessed:54
843s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:55
843s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:56
843s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:57
843s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:58
843s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:59
843s # [unsorted] ===> pushed new thread with id:84, number of threads:10, unprocessed:60
843s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:61
843s # [unsorted] ===> pushed new thread with id:46, number of threads:10, unprocessed:62
843s # [unsorted] ===> pushed new thread with id:34, number of threads:10, unprocessed:63
843s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:64
843s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:65
843s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:66
843s # [unsorted] ===> pushed new thread with id:85, number of threads:10, unprocessed:67
843s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:68
843s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:69
843s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:70
843s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:71
843s # [unsorted] ===> pushed new thread with id:100, number of threads:10, unprocessed:72
843s # [unsorted] ===> pushed new thread with id:28, number of threads:10, unprocessed:73
843s # [unsorted] ===> pushed new thread with id:23, number of threads:10, unprocessed:74
843s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:75
843s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:76
843s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:77
843s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:78
843s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:79
843s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:80
843s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:81
843s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:82
843s # [unsorted] ===> pushed new thread with id:67, number of threads:10, unprocessed:83
843s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:84
843s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:85
843s # [unsorted] ===> pushed new thread with id:75, number of threads:10, unprocessed:86
843s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:87
843s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:88
843s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:89
843s # [unsorted] ===> pushed new thread with id:32, number of threads:10, unprocessed:90
843s ok 4 /threadpool/no-sort
843s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:1
843s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:2
843s # [ sorted] ===> pushed new thread with id:91, number of threads:0, unprocessed:3
843s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:4
843s # [ sorted] ===> pushed new thread with id:63, number of threads:0, unprocessed:5
843s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:6
843s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:7
843s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:8
843s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:9
843s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:10
843s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:11
843s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:12
843s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:13
843s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:14
843s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:15
843s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:16
843s # [ sorted] ===> pushed new thread with id:52, number of threads:0, unprocessed:17
843s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:18
843s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:19
843s # [ sorted] ===> pushed new thread with id:40, number of threads:0, unprocessed:20
843s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:21
843s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:22
843s # [ sorted] ===> pushed new thread with id:80, number of threads:0, unprocessed:23
843s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:24
843s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:25
843s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:26
843s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:27
843s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:28
843s # [ sorted] ===> pushed new thread with id:83, number of threads:0, unprocessed:29
843s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:30
843s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:31
843s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:32
843s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:33
843s # [ sorted] ===> pushed new thread with id:78, number of threads:0, unprocessed:34
843s # [ sorted] ===> pushed new thread with id:87, number of threads:0, unprocessed:35
843s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:36
843s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:37
843s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:38
843s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:39
843s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:40
843s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:41
843s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:42
843s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:43
843s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:44
843s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:45
843s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:46
843s # [ sorted] ===> pushed new thread with id:99, number of threads:0, unprocessed:47
843s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:48
843s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:49
843s # [ sorted] ===> pushed new thread with id:77, number of threads:0, unprocessed:50
843s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:51
843s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:52
843s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:53
843s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:54
843s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:55
843s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:56
843s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:57
843s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:58
843s # [ sorted] ===> pushed new thread with id:37, number of threads:0, unprocessed:59
843s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:60
843s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:61
843s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:62
843s # [ sorted] ===> pushed new thread with id:64, number of threads:0, unprocessed:63
843s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:64
843s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:65
843s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:66
843s # [ sorted] ===> pushed new thread with id:3, number of threads:0, unprocessed:67
843s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:68
843s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:69
843s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:70
843s # [ sorted] ===> pushed new thread with id:59, number of threads:0, unprocessed:71
843s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:72
843s # [ sorted] ===> pushed new thread with id:2, number of threads:0, unprocessed:73
843s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:74
843s # [ sorted] ===> pushed new thread with id:41, number of threads:0, unprocessed:75
843s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:76
843s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:77
843s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:78
843s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:79
843s # [ sorted] ===> pushed new thread with id:47, number of threads:0, unprocessed:80
843s # [ sorted] ===> pushed new thread with id:17, number of threads:0, unprocessed:81
843s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:82
843s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:83
843s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:84
843s # [ sorted] ===> pushed new thread with id:19, number of threads:0, unprocessed:85
843s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:86
843s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:87
843s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:88
843s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:89
843s # [ sorted] ===> pushed new thread with id:81, number of threads:0, unprocessed:90
843s # [ sorted] ===> pushed new thread with id:29, number of threads:0, unprocessed:91
843s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:92
843s # [ sorted] ===> pushed new thread with id:21, number of threads:0, unprocessed:93
843s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:94
843s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:95
843s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:96
843s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:97
843s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:98
843s # [ sorted] ===> pushed new thread with id:84, number of threads:0, unprocessed:99
843s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:100
843s # Starting thread pool processing
843s ok 5 /threadpool/sort
843s ok 6 /threadpool/stop-unused-multiple
843s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
843s # Pool idle thread count: 0, unprocessed jobs: 40
844s # Pool idle thread count: 0, unprocessed jobs: 0
844s # Pool idle thread count: 0, unprocessed jobs: 0
844s # Pool idle thread count: 10, unprocessed jobs: 0
844s # Pool idle thread count: 10, unprocessed jobs: 0
845s # Pool idle thread count: 10, unprocessed jobs: 0
845s # Pool idle thread count: 10, unprocessed jobs: 0
845s # Pool idle thread count: 10, unprocessed jobs: 0
845s # Pool idle thread count: 10, unprocessed jobs: 0
846s # Pool idle thread count: 10, unprocessed jobs: 0
846s # Pool idle thread count: 10, unprocessed jobs: 0
846s # Pool idle thread count: 10, unprocessed jobs: 0
846s # Pool idle thread count: 10, unprocessed jobs: 0
846s # Executing: glib/thread-pool-slow.test
847s # Pool idle thread count: 10, unprocessed jobs: 0
847s # Pool idle thread count: 10, unprocessed jobs: 0
847s # Pool idle thread count: 10, unprocessed jobs: 0
847s # Pool idle thread count: 10, unprocessed jobs: 0
848s # Pool idle thread count: 10, unprocessed jobs: 0
848s # Pool idle thread count: 10, unprocessed jobs: 0
848s # Pool idle thread count: 10, unprocessed jobs: 0
848s # Pool idle thread count: 10, unprocessed jobs: 0
849s # Pool idle thread count: 10, unprocessed jobs: 0
849s # Pool idle thread count: 10, unprocessed jobs: 0
849s # Pool idle thread count: 10, unprocessed jobs: 0
849s # Pool idle thread count: 10, unprocessed jobs: 0
850s # Pool idle thread count: 10, unprocessed jobs: 0
850s # Pool idle thread count: 10, unprocessed jobs: 0
850s # Pool idle thread count: 10, unprocessed jobs: 0
850s # Pool idle thread count: 10, unprocessed jobs: 0
851s # Pool idle thread count: 10, unprocessed jobs: 0
851s # Pool idle thread count: 10, unprocessed jobs: 0
851s # Pool idle thread count: 10, unprocessed jobs: 0
851s # Pool idle thread count: 10, unprocessed jobs: 0
851s # Executing: glib/thread-pool-slow.test
852s # Pool idle thread count: 10, unprocessed jobs: 0
852s # Pool idle thread count: 10, unprocessed jobs: 0
852s # Pool idle thread count: 10, unprocessed jobs: 2
852s # Pool idle thread count: 10, unprocessed jobs: 2
852s # Pool idle thread count: 8, unprocessed jobs: 0
852s # Pool idle thread count: 8, unprocessed jobs: 0
853s # Pool idle thread count: 10, unprocessed jobs: 0
853s # Pool idle thread count: 10, unprocessed jobs: 0
853s # Pool idle thread count: 10, unprocessed jobs: 0
853s # Pool idle thread count: 10, unprocessed jobs: 0
854s # Pool idle thread count: 10, unprocessed jobs: 0
854s # Pool idle thread count: 10, unprocessed jobs: 0
854s # Pool idle thread count: 2, unprocessed jobs: 0
854s # Pool idle thread count: 2, unprocessed jobs: 0
855s # Pool idle thread count: 2, unprocessed jobs: 0
855s # Pool idle thread count: 2, unprocessed jobs: 0
855s # Pool idle thread count: 2, unprocessed jobs: 0
855s # Pool idle thread count: 2, unprocessed jobs: 0
856s # Pool idle thread count: 2, unprocessed jobs: 0
856s # Pool idle thread count: 2, unprocessed jobs: 0
856s # Pool idle thread count: 2, unprocessed jobs: 0
856s # Pool idle thread count: 2, unprocessed jobs: 0
856s # Executing: glib/thread-pool-slow.test
857s # Pool idle thread count: 2, unprocessed jobs: 0
857s # Pool idle thread count: 2, unprocessed jobs: 0
857s # Pool idle thread count: 2, unprocessed jobs: 0
857s # Pool idle thread count: 2, unprocessed jobs: 0
858s # Pool idle thread count: 2, unprocessed jobs: 0
858s # Pool idle thread count: 2, unprocessed jobs: 0
858s # Pool idle thread count: 2, unprocessed jobs: 0
858s # Pool idle thread count: 2, unprocessed jobs: 0
859s # Pool idle thread count: 2, unprocessed jobs: 0
859s # Pool idle thread count: 2, unprocessed jobs: 0
859s # Pool idle thread count: 2, unprocessed jobs: 0
859s # Pool idle thread count: 2, unprocessed jobs: 0
860s # Pool idle thread count: 2, unprocessed jobs: 0
860s # Pool idle thread count: 2, unprocessed jobs: 0
860s # Pool idle thread count: 2, unprocessed jobs: 0
860s # Pool idle thread count: 2, unprocessed jobs: 0
861s # Pool idle thread count: 2, unprocessed jobs: 0
861s # Pool idle thread count: 2, unprocessed jobs: 0
862s # Pool idle thread count: 2, unprocessed jobs: 0
862s # Pool idle thread count: 2, unprocessed jobs: 0
862s # Executing: glib/thread-pool-slow.test
862s # Pool idle thread count: 2, unprocessed jobs: 0
862s # Pool idle thread count: 2, unprocessed jobs: 0
862s # Pool idle thread count: 2, unprocessed jobs: 0
862s # Pool idle thread count: 2, unprocessed jobs: 0
863s ok 7 /threadpool/idle-time
863s # slow test /threadpool/idle-time executed in 19.54 secs
863s # End of threadpool tests
863s ok - glib/thread-pool-slow.test
863s # Running test: glib/mainloop.test
863s TAP version 14
863s # random seed: R02S5a434f9c328bcf9e10622507b4b4879d
863s 1..45
863s # Start of maincontext tests
863s ok 1 /maincontext/basic
863s # Add same-priority sources: 17
863s # Find each source: 1
863s # Remove in random order: 16
863s ok 2 /maincontext/nsources_same_priority
863s # Add different-priority sources: 13
863s # Find each source: 0
863s # Remove in random order: 12
863s ok 3 /maincontext/nsources_different_priority
863s # Add sources from threads: 44
863s # Remove sources from threads: 14
863s ok 4 /maincontext/nsources_threadpool
863s ok 5 /maincontext/source_finalization
863s # /maincontext/idle-once summary: Test g_idle_add_once() works
863s ok 6 /maincontext/idle-once
863s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
863s ok 7 /maincontext/timeout-once
863s # Start of source_finalization_from_source tests
863s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 8 /maincontext/source_finalization_from_source/0
863s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 9 /maincontext/source_finalization_from_source/1
863s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 10 /maincontext/source_finalization_from_source/2
863s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 11 /maincontext/source_finalization_from_source/3
863s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 12 /maincontext/source_finalization_from_source/4
863s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 13 /maincontext/source_finalization_from_source/5
863s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 14 /maincontext/source_finalization_from_source/6
863s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 15 /maincontext/source_finalization_from_source/7
863s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 16 /maincontext/source_finalization_from_source/8
863s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
863s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
863s ok 17 /maincontext/source_finalization_from_source/9
863s # End of source_finalization_from_source tests
863s # Start of source_finalization_from_dispatch tests
863s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
863s ok 18 /maincontext/source_finalization_from_dispatch/0
863s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
863s ok 19 /maincontext/source_finalization_from_dispatch/1
863s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
863s ok 20 /maincontext/source_finalization_from_dispatch/2
863s # End of source_finalization_from_dispatch tests
863s # End of maincontext tests
863s # Start of mainloop tests
863s ok 21 /mainloop/basic
863s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
863s ok 23 /mainloop/priorities
864s ok 24 /mainloop/invoke
864s # slow test /mainloop/invoke executed in 0.50 secs
865s ok 25 /mainloop/child_sources
865s # slow test /mainloop/child_sources executed in 1.21 secs
866s # Executing: glib/mainloop.test
867s ok 26 /mainloop/recursive_child_sources
867s # slow test /mainloop/recursive_child_sources executed in 2.31 secs
867s ok 27 /mainloop/recursive_loop_child_sources
867s ok 28 /mainloop/swapping_child_sources
867s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
867s ok 29 /mainloop/blocked_child_sources
868s ok 30 /mainloop/source_time
868s # slow test /mainloop/source_time executed in 1.00 secs
868s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
868s ok 31 /mainloop/overflow
869s ok 32 /mainloop/ready-time
869s # slow test /mainloop/ready-time executed in 0.50 secs
869s ok 33 /mainloop/wakeup
869s ok 34 /mainloop/remove-invalid
869s ok 35 /mainloop/unref-while-pending
869s ok 36 /mainloop/unix-fd
869s ok 37 /mainloop/unix-fd-source
869s ok 38 /mainloop/source-unix-fd-api
869s ok 39 /mainloop/wait
869s ok 40 /mainloop/unix-file-poll
869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
869s ok 41 /mainloop/unix-fd-priority
869s ok 42 /mainloop/nfds
869s ok 43 /mainloop/steal-fd
869s # Start of ownerless-polling tests
869s ok 44 /mainloop/ownerless-polling/attach-first
869s ok 45 /mainloop/ownerless-polling/pop-first
869s # End of ownerless-polling tests
869s # End of mainloop tests
869s ok - glib/mainloop.test
869s # Running test: glib/registered-type-info.test
869s TAP version 14
869s # random seed: R02S47c8ca785dc25d3e56c22364a7b1ab29
869s 1..1
869s # Start of registered-type-info tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/cache
869s ok - glib/registered-type-info.test
869s # Running test: glib/contexts.test
869s ok - glib/contexts.test
869s # Running test: glib/gdbus-test-codegen.test
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/system-config1:/tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/system-data1:/tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_registered-type-info_LNLA62/registered-type-info/boxed/.dirs/runtime
869s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
869s # /registered-type-info/boxed summary: Test various boxed and non-boxed types for GIRegisteredTypeInfo
869s # Expecting CClosure to not be boxed
869s # Expecting TypeCValue to not be boxed
869s # Expecting InitiallyUnownedClass to not be boxed
869s # Expecting BookmarkFile to be boxed
869s # Expecting Closure to be boxed
869s # Expecting Object to not be boxed
869s ok 1 /registered-type-info/boxed
869s # End of registered-type-info tests
869s TAP version 14
869s # random seed: R02Sa51f6c4f989ba73c91690540f638fde2
869s 1..5
869s # Start of gio tests
869s # Start of contexts tests
869s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
869s ok 1 /gio/contexts/thread-independence
869s ok 2 /gio/contexts/context-independence
869s # Start of context-specific tests
869s ok 3 /gio/contexts/context-specific/identity
869s ok 4 /gio/contexts/context-specific/emit
869s ok 5 /gio/contexts/context-specific/emit-and-unref
869s # End of context-specific tests
869s # End of contexts tests
869s # End of gio tests
869s TAP version 14
869s # random seed: R02S7e4fbc6207c84dc39773698c4e3529fe
869s 1..8
869s # Start of gdbus tests
869s # Start of codegen tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/annotations/.dirs/runtime
869s ok 1 /gdbus/codegen/annotations
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/interface_stability/.dirs/runtime
869s ok 2 /gdbus/codegen/interface_stability
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/object-manager/.dirs/runtime
869s ok 3 /gdbus/codegen/object-manager
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/property-naming/.dirs/runtime
869s ok 4 /gdbus/codegen/property-naming
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/autocleanups/.dirs/runtime
869s ok 5 /gdbus/codegen/autocleanups
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/state
869s ok - glib/gdbus-test-codegen.test
869s # Running test: glib/cxx.test
869s ok - glib/cxx.test
869s # Running test: glib/gdbus-connection-flush.test
869s ok - glib/gdbus-connection-flush.test
869s # Running test: glib/signalgroup.test
869s ok - glib/signalgroup.test
869s # Running test: glib/mappedfile.test
869s ok - glib/mappedfile.test
869s # Running test: glib/fileattributematcher.test
869s ok - glib/fileattributematcher.test
869s # Running test: glib/unicode-encoding.test
869s ok - glib/unicode-encoding.test
869s # Running test: glib/trash.test
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/deprecations/.dirs/runtime
869s ok 6 /gdbus/codegen/deprecations
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/standalone-interface-info/.dirs/runtime
869s ok 7 /gdbus/codegen/standalone-interface-info
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen_I4LB62/gdbus/codegen/unix-fd-list/.dirs/runtime
869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
869s ok 8 /gdbus/codegen/unix-fd-list
869s # End of codegen tests
869s # End of gdbus tests
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 TAP version 14
869s # random seed: R02S1ca0d5dedd2ee136f1b82426984363fd
869s 1..2
869s # Start of gtask tests
869s # 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.
869s ok 1 /gtask/name
869s # Start of name tests
869s # 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.
869s ok 2 /gtask/name/macro-wrapper
869s # End of name tests
869s # End of gtask tests
869s TAP version 14
869s # random seed: R02Sc196315151d8ae91855f2a8f820b5222
869s 1..2
869s # Start of gdbus tests
869s # Start of connection tests
869s # Start of flush tests
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/system-config1:/tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/system-data1:/tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/busy/.dirs/runtime
869s ok 1 /gdbus/connection/flush/busy
869s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/home
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/cache
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/system-config1:/tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/system-config2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/config
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/system-data1:/tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/system-data2
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/data
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/state
869s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-flush_DJH252/gdbus/connection/flush/idle/.dirs/runtime
869s ok 2 /gdbus/connection/flush/idle
869s # End of flush tests
869s # End of connection tests
869s # End of gdbus tests
869s TAP version 14
869s # random seed: R02Sbc7a5f015f0c107e230716e823659767
869s 1..9
869s # Start of GObject tests
869s # Start of SignalGroup tests
869s ok 1 /GObject/SignalGroup/invalid
869s ok 2 /GObject/SignalGroup/simple
869s ok 3 /GObject/SignalGroup/changing-target
869s ok 4 /GObject/SignalGroup/blocking
869s ok 5 /GObject/SignalGroup/weak-ref-target
869s ok 6 /GObject/SignalGroup/connect-object
869s ok 7 /GObject/SignalGroup/signal-parsing
869s ok 8 /GObject/SignalGroup/properties
869s ok 9 /GObject/SignalGroup/interface
869s # Start of signal-parsing tests
869s # End of signal-parsing tests
869s # End of SignalGroup tests
869s # End of GObject tests
869s TAP version 14
869s # random seed: R02Sa1ca63a7e670acb50becac373f9f453a
869s 1..7
869s # Start of mappedfile tests
869s ok 1 /mappedfile/basic
869s ok 2 /mappedfile/empty
869s ok 3 /mappedfile/device
869s ok 4 /mappedfile/nonexisting
869s ok 5 /mappedfile/writable
869s ok 6 /mappedfile/writable_fd
869s ok 7 /mappedfile/gbytes
869s # End of mappedfile tests
869s TAP version 14
869s # random seed: R02Se313751a1f544f7080465410fdb230a9
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: R02S825e279ec0afbca9eeed42fa8a53ba48
869s 1..1
869s # Start of unicode tests
869s ok 1 /unicode/encoding
869s # End of unicode tests
869s TAP version 14
869s # random seed: R02S2f36993a7f8ae93261c635269535238e
869s 1..3
869s # Start of trash tests
869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/251
869s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
869s # File: /tmp/test-trash1Q4152 (parent st_dev: 64769)
869s # Home: /home/ubuntu (st_dev: 64769)
869s ok 1 /trash/not-supported # SKIP The file has to be on another filesystem than the home trash to run this test
869s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1522
869s ok 2 /trash/symlinks # SKIP Directory '/home/ubuntu/.local' does not exist
869s ok 3 /trash/long-filename
869s # End of trash tests
869s ok - glib/trash.test
869s # 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
870s ok - glib/memory-monitor-portal.test
870s # Running test: glib/gdbus-peer-object-manager.test
870s TAP version 14
870s # random seed: R02Sca1c8e9abaeb85089042e0b76b66e359
870s 1..2
870s # Start of gdbus tests
870s # Start of peer-object-manager tests
870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/home
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/cache
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/system-config2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/config
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/system-data2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/data
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/state
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/normal/.dirs/runtime
870s ok 1 /gdbus/peer-object-manager/normal
870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/home
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/cache
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/system-config1:/tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/system-config2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/config
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/system-data1:/tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/system-data2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/data
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/state
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer-object-manager_TU1T52/gdbus/peer-object-manager/root/.dirs/runtime
870s ok 2 /gdbus/peer-object-manager/root
870s # End of peer-object-manager tests
870s # End of gdbus tests
870s ok - glib/gdbus-peer-object-manager.test
870s # Running test: glib/basics-gobject.test
870s TAP version 14
870s # random seed: R02Sd594247f47a20d54054bc62322c2abf4
870s 1..1
870s # Start of gobject tests
870s # private data during initialization: 54321 == 54321
870s # MAIN: emit test-signal:
870s # ::test_signal default_handler called
870s # ::test_signal default_handler called
870s # ::test_signal default_handler called
870s ok - glib/basics-gobject.test
870s # Running test: glib/memory-monitor.test
870s # signal return: ""
870s # MAIN: call iface print-string on test and derived object:
870s # Iface-FOO: "iface-string-from-test-type" from 0x2aa25567260
870s # Iface-BAR: "iface-string-from-derived-type" from 0x2aa2555c820
870s # chaining:
870s # Iface-FOO: "iface-string-from-derived-type" from 0x2aa2555c820
870s # private data after initialization: 54321 == 54321
870s ok 1 /gobject/basics
870s # End of gobject tests
870s ok - glib/memory-monitor.test
870s # Running test: glib/tls-database.test
870s ok - glib/tls-database.test
870s # Running test: glib/mem-overflow.test
870s ok - glib/mem-overflow.test
870s # Running test: glib/convert.test
870s TAP version 14
870s # random seed: R02S260b4e18cdb4dfe384dba9243e397acf
870s 1..1
870s # Start of memory-monitor tests
870s # GLib-GIO-DEBUG: Failed to initialize portal (GMemoryMonitorPortal) for gio-memory-monitor: Not using portals
870s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GMemoryMonitorDBus) for ?gio-memory-monitor?
870s ok 1 /memory-monitor/default
870s # End of memory-monitor tests
870s TAP version 14
870s # random seed: R02S45eef1b225698cdc23b7a2b119b298e0
870s 1..1
870s # Start of tls-backend tests
870s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
870s ok 1 /tls-backend/set-default-database
870s # End of tls-backend tests
870s TAP version 14
870s # random seed: R02S2b0f2f6a0c1abc2991c5b38706b5ee76
870s 1..2
870s # Start of mem tests
870s ok 1 /mem/overflow
870s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=615379
870s ok 2 /mem/empty-alloc
870s # Start of overflow tests
870s # Start of subprocess tests
870s # End of subprocess tests
870s # End of overflow tests
870s # Start of empty-alloc tests
870s # End of empty-alloc tests
870s # End of mem tests
870s TAP version 14
870s # random seed: R02Sd58f07293426a104fb00e6c0452d4ceb
870s 1..14
870s # Start of conversion tests
870s ok 1 /conversion/no-conv
870s ok 2 /conversion/iconv-state
870s ok 3 /conversion/illegal-sequence
870s ok 4 /conversion/byte-order
870s ok 5 /conversion/unicode
870s ok 6 /conversion/filename-utf8
870s ok 7 /conversion/filename-display
870s ok 8 /conversion/convert-embedded-nul
870s # Start of locale-to-utf8 tests
870s ok 9 /conversion/locale-to-utf8/embedded-nul
870s # Start of embedded-nul tests
870s # Start of subprocess tests
870s # End of subprocess tests
870s # End of embedded-nul tests
870s # End of locale-to-utf8 tests
870s # Start of locale-from-utf8 tests
870s ok 10 /conversion/locale-from-utf8/embedded-nul
870s # Start of embedded-nul tests
870s # Start of subprocess tests
870s # End of subprocess tests
870s # End of embedded-nul tests
870s # End of locale-from-utf8 tests
870s # Start of filename-to-utf8 tests
870s ok 11 /conversion/filename-to-utf8/embedded-nul
870s # Start of embedded-nul tests
870s # Start of subprocess tests
870s # End of subprocess tests
870s # End of embedded-nul tests
870s # End of filename-to-utf8 tests
870s # Start of filename-from-utf8 tests
870s ok - glib/convert.test
870s ok 12 /conversion/filename-from-utf8/embedded-nul
870s # Start of embedded-nul tests
870s # Start of subprocess tests
870s # End of subprocess tests
870s # End of embedded-nul tests
870s # End of filename-from-utf8 tests
870s # Start of filename-from-uri tests
870s ok 13 /conversion/filename-from-uri/query-is-ignored
870s ok 14 /conversion/filename-from-uri/fragment-is-ignored
870s # End of filename-from-uri tests
870s # End of conversion tests
870s # Running test: glib/autoptr-gio.test
870s ok - glib/autoptr-gio.test
870s TAP version 14
870s # random seed: R02S6afafd37abdd2881fcaf836839b966b5
870s 1..1
870s # Start of autoptr tests
870s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
870s ok 1 /autoptr/autoptr
870s # End of autoptr tests
870s # Running test: glib/struct-info.test
870s TAP version 14
870s # random seed: R02Sf5676ebebe4adb5040d745e08267974c
870s 1..4
870s # Start of struct-info tests
870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/home
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/cache
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/system-config1:/tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/system-config2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/config
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/system-data1:/tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/system-data2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/data
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/state
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JZSV52/struct-info/field-iterators/.dirs/runtime
870s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
870s # /struct-info/field-iterators summary: Test iterating through a struct's fields with gi_struct_info_get_field()
870s ok 1 /struct-info/field-iterators
870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/home
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/cache
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/system-config1:/tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/system-config2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/config
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/system-data1:/tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/system-data2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/data
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/state
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JZSV52/struct-info/sizeof-gvalue/.dirs/runtime
870s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
870s # /struct-info/sizeof-gvalue summary: Test that gi_struct_info_get_size() reports the correct sizeof GValue
870s ok 2 /struct-info/sizeof-gvalue
870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/home
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/cache
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config1:/tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-config2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/config
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data1:/tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/system-data2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/data
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/state
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JZSV52/struct-info/is-pointer-for-struct-method-arg/.dirs/runtime
870s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
870s # /struct-info/is-pointer-for-struct-method-arg summary: Test that a struct method reports the correct type with gi_type_info_is_pointer()
870s ok 3 /struct-info/is-pointer-for-struct-method-arg
870s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/home
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/cache
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/system-config1:/tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/system-config2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/config
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/system-data1:/tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/system-data2
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/data
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/state
870s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_struct-info_JZSV52/struct-info/boxed/.dirs/runtime
870s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
870s # /struct-info/boxed summary: Test that a boxed struct is recognised as such
870s ok 4 /struct-info/boxed
870s # End of struct-info tests
870s ok - glib/struct-info.test
870s # Running test: glib/rcbox.test
870s ok - glib/rcbox.test
870s TAP version 14
870s # random seed: R02S0fc1d0c461c753c511b3d2e05e827128
870s 1..8
870s # Start of rcbox tests
870s ok 1 /rcbox/new
870s # global_point = 0x2aa2d3d78b0
870s ok 2 /rcbox/release-full
870s # global_point_a = 0x2aa2d3d78b0
870s # global_point_b = 0x2aa2d3d7980
870s ok 3 /rcbox/dup
870s ok 4 /rcbox/alignment
870s # End of rcbox tests
870s # Start of atomic-rcbox tests
870s ok 5 /atomic-rcbox/new
870s # global_point = 0x2aa2d3d7980
870s ok 6 /atomic-rcbox/release-full
870s # global_point_a = 0x2aa2d3d7980
870s # global_point_b = 0x2aa2d3d78b0
870s ok 7 /atomic-rcbox/dup
870s ok 8 /atomic-rcbox/alignment
870s # End of atomic-rcbox tests
870s # Running test: glib/gapplication.test
870s TAP version 14
870s # random seed: R02S8ebfdfbea2eccfb63772c24c4a785eb0
870s 1..24
870s # Start of gapplication tests
870s ok 1 /gapplication/no-dbus
870s ok 2 /gapplication/no-appid
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s ok 3 /gapplication/properties
870s ok 4 /gapplication/app-id
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s ok 5 /gapplication/quit
870s ok 6 /gapplication/registered
870s ok 7 /gapplication/local-actions
870s ok 8 /gapplication/local-command-line
870s ok 9 /gapplication/resource-path
870s ok 10 /gapplication/test-help
870s ok 11 /gapplication/command-line-done
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s ok 12 /gapplication/test-busy
870s ok 13 /gapplication/test-handle-local-options1
870s ok 14 /gapplication/test-handle-local-options2
870s ok 15 /gapplication/test-handle-local-options3
870s ok 16 /gapplication/api
870s ok 17 /gapplication/version
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
870s # launching subprocess
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s ok 18 /gapplication/replace
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
870s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
870s # launching subprocess
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s ok 19 /gapplication/no-replace
871s # slow test /gapplication/no-replace executed in 0.50 secs
871s # Start of dbus tests
871s # /gapplication/dbus/activate summary: Test that calling the Activate D-Bus method works
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
871s # Message 0
871s # Message 1
871s # Message 2
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s ok 20 /gapplication/dbus/activate
871s # /gapplication/dbus/open summary: Test that calling the Open D-Bus method works
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
871s # Message 0
871s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
871s # Message 1
871s # Message 2
871s # Message 3
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s ok 21 /gapplication/dbus/open
871s # /gapplication/dbus/command-line summary: Test that calling the CommandLine D-Bus method works
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
871s # Message 0
871s # Message 1
871s # Message 2
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s ok 22 /gapplication/dbus/command-line
871s # /gapplication/dbus/command-line-done summary: Test that GDBusCommandLine.done() works
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s ok 23 /gapplication/dbus/command-line-done
871s # /gapplication/dbus/activate-action summary: Test that calling the ActivateAction D-Bus method works
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s ok - glib/gapplication.test
871s # Running test: glib/bindinggroup.test
871s ok - glib/bindinggroup.test
871s # Running test: glib/macros-c-89.test
871s ok - glib/macros-c-89.test
871s # Running test: glib/cancellable.test
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
871s # Message 0
871s # Message 1
871s # Message 2
871s # Message 3
871s # Message 4
871s # Message 5
871s # Message 6
871s # Message 7
871s # Message 8
871s # Message 9
871s # Message 10
871s # Message 11
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
871s ok 24 /gapplication/dbus/activate-action
871s # End of dbus tests
871s # End of gapplication tests
871s TAP version 14
871s # random seed: R02S9d75eb5db918b17ce636aee766fcd814
871s 1..11
871s # Start of GObject tests
871s # Start of BindingGroup tests
871s ok 1 /GObject/BindingGroup/invalid
871s ok 2 /GObject/BindingGroup/default
871s ok 3 /GObject/BindingGroup/bidirectional
871s ok 4 /GObject/BindingGroup/transform
871s ok 5 /GObject/BindingGroup/transform-closures
871s ok 6 /GObject/BindingGroup/same-object
871s ok 7 /GObject/BindingGroup/weak-ref-source
871s ok 8 /GObject/BindingGroup/weak-ref-target
871s ok 9 /GObject/BindingGroup/properties
871s ok 10 /GObject/BindingGroup/weak-notify-no-bindings
871s ok 11 /GObject/BindingGroup/empty-closures
871s # End of BindingGroup tests
871s # End of GObject tests
871s TAP version 14
871s # random seed: R02S398c0682a1a973b61532c8c123b20a96
871s 1..4
871s # Start of C tests
871s ok 1 /C/standard-89
871s # End of C tests
871s # Start of alignof tests
871s ok 2 /alignof/fallback
871s # End of alignof tests
871s # Start of assert tests
871s ok 3 /assert/static
871s # End of assert tests
871s # Start of struct tests
871s ok 4 /struct/sizeof_member
871s # End of struct tests
871s TAP version 14
871s # random seed: R02S75f12a6ca43c4622153204cba531683a
871s 1..18
871s # Start of cancellable tests
871s ok 1 /cancellable/multiple-concurrent # SKIP Not running timing heavy test
871s ok 2 /cancellable/null
871s ok 3 /cancellable/connect-data-is-destroyed-on-disconnect-and-dispose
871s # /cancellable/connect-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
871s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
871s ok 4 /cancellable/connect-to-disposing-callback
871s ok 5 /cancellable/connect-cancelled-data-is-destroyed
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 1
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 0
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 1
871s ok 6 /cancellable/connect-to-disposing-callback-with-toggle-reference
871s # /cancellable/connect-cancelled-to-disposing-callback summary: A cancellable signal callback can unref the cancellable
871s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3643
871s ok 7 /cancellable/connect-cancelled-to-disposing-callback
871s ok 8 /cancellable/connect-cancelled-with-destroy-func-disposing-cancellable
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 1
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 0
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 1
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 0
871s # Toggle reference callback for GCancellable (0x2aa2ba68cd0), last: 1
871s ok 9 /cancellable/connect-cancelled-to-disposing-callback-with-toggle-reference
871s # /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
871s ok 10 /cancellable/disconnect-on-cancelled-callback-hangs
871s # /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
871s ok 11 /cancellable/resets-on-cancel-callback-hangs
871s ok 12 /cancellable/poll-fd
871s # /cancellable/poll-fd-cancelled summary: Tests that cancellation wakes up a pollable FD on creation
871s ok 13 /cancellable/poll-fd-cancelled
871s # /cancellable/poll-fd-cancelled-threaded summary: Tests that a cancellation wakes up a pollable FD
871s ok 14 /cancellable/poll-fd-cancelled-threaded
871s # /cancellable/cancel-reset-races summary: Tests threads racing for cancelling and resetting a GCancellable
871s ok 15 /cancellable/cancel-reset-races
871s # /cancellable/cancel-reset-connect-races summary: Tests threads racing for cancelling, connecting and disconnecting and resetting a GCancellable
871s ok 16 /cancellable/cancel-reset-connect-races
871s # End of cancellable tests
871s # Start of cancellable-source tests
871s # /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)
871s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1841
871s ok 17 /cancellable-source/threaded-dispose
871s # /cancellable-source/can-be-fired-multiple-times summary: Test a cancellable source callback can be called multiple times
871s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/774
871s ok 18 /cancellable-source/can-be-fired-multiple-times
871s # End of cancellable-source tests
871s ok - glib/cancellable.test
871s # Running test: glib/simple-async-result.test
871s TAP version 14
871s # random seed: R02S91e22ecc623592b2b32a89edb7efa2fe
871s 1..2
871s # Start of gio tests
871s # Start of simple-async-result tests
871s ok - glib/simple-async-result.test
871s # Running test: glib/gdbus-non-socket.test
871s ok 1 /gio/simple-async-result/test
871s # GLib-GIO-DEBUG: GTask 0x2aa201b1040 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
871s ok 2 /gio/simple-async-result/valid
871s # End of simple-async-result tests
871s # End of gio tests
871s TAP version 14
871s # random seed: R02Sbe357b581ba352b937447d716cd58a4b
871s 1..1
871s # Start of gdbus tests
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/system-config1:/tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/system-data1:/tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-non-socket_E6ZA62/gdbus/non-socket/.dirs/runtime
871s ok - glib/gdbus-non-socket.test
871s # Running test: glib/pathbuf.test
871s ok 1 /gdbus/non-socket
871s # End of gdbus tests
871s ok - glib/pathbuf.test
871s TAP version 14
871s # random seed: R02Sfc65158cc3c844c9e15eac724cda6f48
871s 1..3
871s # Start of pathbuf tests
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/system-config1:/tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/system-data1:/tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_8N5A62/pathbuf/init/.dirs/runtime
871s # Initializing empty path buf
871s # Initializing with empty path
871s # Initializing with full path
871s # Initializing with no path
871s # Allocating GPathBuf on the heap
871s ok 1 /pathbuf/init
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/system-config1:/tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/system-data1:/tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_8N5A62/pathbuf/push-pop/.dirs/runtime
871s # Pushing relative path component
871s # Pushing absolute path component
871s # Popping a path component
871s # Can't pop the last element of a path buffer
871s ok 2 /pathbuf/push-pop
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/system-config1:/tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/system-data1:/tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_pathbuf_8N5A62/pathbuf/filename-extension/.dirs/runtime
871s ok 3 /pathbuf/filename-extension
871s # End of pathbuf tests
871s # Running test: glib/dynamictests.test
871s TAP version 14
871s # random seed: R02S88105919d4a84e8d1ab22c59d8329036
871s 1..2
871s # Start of GObject tests
871s ok - glib/dynamictests.test
871s # Running test: glib/error.test
871s ok 1 /GObject/threaded-dynamic-ref-unref-init
871s ok 2 /GObject/dynamic-interface-properties
871s # End of GObject tests
871s TAP version 14
871s # random seed: R02Sdbaf4be7d1deef0662b78390eea98a91
871s 1..3
871s # Start of error tests
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_43KB62/error/from-errno/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_43KB62/error/from-errno/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_43KB62/error/from-errno/.dirs/system-config1:/tmp/test_error_43KB62/error/from-errno/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_43KB62/error/from-errno/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_43KB62/error/from-errno/.dirs/system-data1:/tmp/test_error_43KB62/error/from-errno/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_43KB62/error/from-errno/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_43KB62/error/from-errno/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_43KB62/error/from-errno/.dirs/runtime
871s ok - glib/error.test
871s # Running test: glib/static-link.test
871s ok 1 /error/from-errno
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_43KB62/error/from-file-error/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_43KB62/error/from-file-error/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_43KB62/error/from-file-error/.dirs/system-config1:/tmp/test_error_43KB62/error/from-file-error/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_43KB62/error/from-file-error/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_43KB62/error/from-file-error/.dirs/system-data1:/tmp/test_error_43KB62/error/from-file-error/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_43KB62/error/from-file-error/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_43KB62/error/from-file-error/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_43KB62/error/from-file-error/.dirs/runtime
871s ok 2 /error/from-file-error
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_error_43KB62/error/from-win32-error/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_error_43KB62/error/from-win32-error/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_error_43KB62/error/from-win32-error/.dirs/system-config1:/tmp/test_error_43KB62/error/from-win32-error/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_error_43KB62/error/from-win32-error/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_error_43KB62/error/from-win32-error/.dirs/system-data1:/tmp/test_error_43KB62/error/from-win32-error/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_error_43KB62/error/from-win32-error/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_error_43KB62/error/from-win32-error/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_error_43KB62/error/from-win32-error/.dirs/runtime
871s ok 3 /error/from-win32-error # SKIP Windows error codes can only be checked on Windows
871s # End of error tests
871s Test disabled because GLIB_TEST_COMPILATION is not set in the env.
871s If you wish to run this test, set GLIB_TEST_COMPILATION=1 in the env,
871s and make sure you have glib build dependencies installed, including
871s meson.
871s ok # SKIP - glib/static-link.test
871s # Running test: glib/g-icon.test
871s TAP version 14
871s # random seed: R02S75c2d537e710029f2ffb142ea959ea36
871s 1..6
871s # Start of icons tests
871s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
871s ok 1 /icons/to-string
871s ok 2 /icons/serialize
871s ok 3 /icons/themed
871s ok 4 /icons/emblemed
871s ok 5 /icons/file
871s ok 6 /icons/bytes
871s # End of icons tests
871s ok - glib/g-icon.test
871s TAP version 14
871s # random seed: R02Sad8f970ca6ac9f79445a2efa86acf7a8
871s 1..1
871s # Start of memchunk tests
871s ok 1 /memchunk/basic
871s # End of memchunk tests
871s # Running test: glib/memchunk.test
871s ok - glib/memchunk.test
871s # Running test: glib/gdbus-proxy.test
871s TAP version 14
871s # random seed: R02S44905c5d17eb83493ce8c2c59820f6e4
871s 1..5
871s # Start of gdbus tests
871s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/home
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/cache
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/system-config1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/system-config2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/config
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/system-data1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/system-data2
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/data
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/state
871s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/.dirs/runtime
871s # Executing: glib/gdbus-proxy.test
873s ok 1 /gdbus/proxy
873s # slow test /gdbus/proxy executed in 1.74 secs
873s # Start of proxy tests
873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/home
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/cache
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/system-config1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/system-config2
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/config
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/system-data1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/system-data2
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/data
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/state
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-properties/.dirs/runtime
873s ok 2 /gdbus/proxy/no-properties
873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/home
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/cache
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/system-config1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/system-config2
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/config
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/system-data1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/system-data2
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/data
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/state
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/wellknown-noauto/.dirs/runtime
873s ok 3 /gdbus/proxy/wellknown-noauto
873s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/home
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/cache
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/system-config1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/system-config2
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/config
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/system-data1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/system-data2
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/data
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/state
873s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/async/.dirs/runtime
875s ok 4 /gdbus/proxy/async
875s # slow test /gdbus/proxy/async executed in 1.72 secs
875s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/home
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/cache
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/system-config1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/system-config2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/config
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/system-data1:/tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/system-data2
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/data
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/state
875s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy_Q8AC62/gdbus/proxy/no-match-rule/.dirs/runtime
875s # /gdbus/proxy/no-match-rule summary: Test that G_DBUS_PROXY_FLAGS_NO_MATCH_RULE works
875s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1109
876s # Executing: glib/gdbus-proxy.test
876s ok 5 /gdbus/proxy/no-match-rule
876s # slow test /gdbus/proxy/no-match-rule executed in 1.72 secs
876s # End of proxy tests
876s # End of gdbus tests
876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
876s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
876s ok - glib/gdbus-proxy.test
876s # Running test: glib/gio-tool.py.test
876s TAP version 13
876s ok 1 __main__.TestGioTool.test_help
876s # gio: /usr/bin/gio
876s # tmpdir: /tmp/tmpjcebtkxd
876s # Running: ['/usr/bin/gio', '--help']
876s # Return code: 0
876s # Output:
876s # Usage:
876s # gio COMMAND [ARGS…]
876s #
876s # Commands:
876s # help Print help
876s # version Print version
876s # cat Concatenate files to standard output
876s # copy Copy one or more files
876s # info Show information about locations
876s # launch Launch an application from a desktop file
876s # list List the contents of locations
876s # mime Get or set the handler for a mimetype
876s # mkdir Create directories
876s # monitor Monitor files and directories for changes
876s # mount Mount or unmount the locations
876s # move Move one or more files
876s # open Open files with the default application
876s # rename Rename a file
876s # remove Delete one or more files
876s # save Read from standard input and save
876s # set Set a file attribute
876s # trash Move files or directories to the trash
876s # tree Lists the contents of locations in a tree
876s #
876s # Use “gio help COMMAND†to get detailed help.
876s # Error:
876s #
876s # Running: ['/usr/bin/gio', 'help']
876s # Return code: 0
876s # Output:
876s # Usage:
876s # gio COMMAND [ARGS…]
876s #
876s # Commands:
876s # help Print help
876s # version Print version
876s # cat Concatenate files to standard output
876s # copy Copy one or more files
876s # info Show information about locations
876s # launch Launch an application from a desktop file
876s # list List the contents of locations
876s # mime Get or set the handler for a mimetype
876s # mkdir Create directories
876s # monitor Monitor files and directories for changes
876s # mount Mount or unmount the locations
876s # move Move one or more files
876s # open Open files with the default application
876s # rename Rename a file
876s # remove Delete one or more files
876s # save Read from standard input and save
876s # set Set a file attribute
876s # trash Move files or directories to the trash
876s # tree Lists the contents of locations in a tree
876s #
876s # Use “gio help COMMAND†to get detailed help.
876s # Error:
876s ok 2 __main__.TestGioTool.test_info_non_default_attributes
876s # gio: /usr/bin/gio
876s # tmpdir: /tmp/tmp1ilhnopb
876s # Running: ['/usr/bin/gio', 'info', '--attributes=standard::content-type', '/tmp/tmp1ilhnopb/tmpkfv3isjd']
876s # Return code: 0
876s # Output:
876s # uri: file:///tmp/tmp1ilhnopb/tmpkfv3isjd
876s # local path: /tmp/tmp1ilhnopb/tmpkfv3isjd
876s # unix mount: /dev/vda1 / ext4 rw,relatime,discard,errors=remount-ro,commit=30
876s # attributes:
876s # standard::content-type: application/x-zerosize
876s # Error:
876s ok 3 __main__.TestGioTool.test_no_args
876s # gio: /usr/bin/gio
876s # tmpdir: /tmp/tmp1v0mfi7a
876s # Running: ['/usr/bin/gio']
876s # Return code: 1
876s # Output:
876s #
876s # Error:
876s # Usage:
876s # gio COMMAND [ARGS…]
876s #
876s # Commands:
876s # help Print help
876s # version Print version
876s # cat Concatenate files to standard output
876s # copy Copy one or more files
876s # info Show information about locations
876s # launch Launch an application from a desktop file
876s # list List the contents of locations
876s # mime Get or set the handler for a mimetype
876s # mkdir Create directories
876s # monitor Monitor files and directories for changes
876s # mount Mount or unmount the locations
876s # move Move one or more files
876s # open Open files with the default application
876s # rename Rename a file
876s # remove Delete one or more files
876s # save Read from standard input and save
876s # set Set a file attribute
876s # trash Move files or directories to the trash
876s # tree Lists the contents of locations in a tree
876s #
876s # Use “gio help COMMAND†to get detailed help.
876s 1..3
877s ok - glib/gio-tool.py.test
877s # Running test: glib/network-monitor-race.test
877s TAP version 14
877s # random seed: R02Sb29c48dbe4cf8bf56d2d1bb63c884eb3
877s 1..1
877s # Start of network-monitor tests
877s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793727
879s ok 1 /network-monitor/create-in-thread
879s # slow test /network-monitor/create-in-thread executed in 2.20 secs
879s # End of network-monitor tests
879s ok - glib/network-monitor-race.test
879s # Running test: glib/performance-threaded.test
879s Running test "liststore-is-a"
880s 13294 runs, min/avg/max = 0.063/0.075/10.478 ms
880s Running test "liststore-interface-peek"
881s 13178 runs, min/avg/max = 0.049/0.076/9.841 ms
881s Running test "liststore-interface-peek-same"
881s # Executing: glib/performance-threaded.test
882s 13986 runs, min/avg/max = 0.050/0.071/5.003 ms
882s ok - glib/performance-threaded.test
882s # Running test: glib/network-address.test
882s TAP version 14
882s # random seed: R02S359eeed022d1a0197ba7d84cb31ef27d
882s 1..72
882s # Start of network-address tests
882s ok 1 /network-address/basic
882s ok 2 /network-address/scope-id
882s ok 3 /network-address/uri-scope-id
882s ok 4 /network-address/to-string
882s # Start of parse-host tests
882s ok 5 /network-address/parse-host/0
882s ok 6 /network-address/parse-host/1
882s ok 7 /network-address/parse-host/2
882s ok 8 /network-address/parse-host/3
882s ok 9 /network-address/parse-host/4
882s ok 10 /network-address/parse-host/5
882s ok 11 /network-address/parse-host/6
882s ok 12 /network-address/parse-host/7
882s ok 13 /network-address/parse-host/8
882s ok 14 /network-address/parse-host/9
882s ok 15 /network-address/parse-host/10
882s ok 16 /network-address/parse-host/11
882s ok 17 /network-address/parse-host/12
882s ok 18 /network-address/parse-host/13
882s # End of parse-host tests
882s # Start of parse-uri tests
882s ok 19 /network-address/parse-uri/0
882s ok 20 /network-address/parse-uri/1
882s ok 21 /network-address/parse-uri/2
882s ok 22 /network-address/parse-uri/3
882s ok 23 /network-address/parse-uri/4
882s ok 24 /network-address/parse-uri/5
882s ok 25 /network-address/parse-uri/6
882s ok 26 /network-address/parse-uri/7
882s ok 27 /network-address/parse-uri/8
882s ok 28 /network-address/parse-uri/9
882s # End of parse-uri tests
882s # Start of resolve-address tests
882s # Input: 192.168.1.2
882s ok 29 /network-address/resolve-address/0
882s # Input: fe80::42
882s ok 30 /network-address/resolve-address/1
882s # Input: 192.168.1.2:80
882s ok 31 /network-address/resolve-address/2
882s # Input: [fe80::42]
882s ok 32 /network-address/resolve-address/3
882s # Input: [fe80::42]:80
882s ok 33 /network-address/resolve-address/4
882s # Input: 192.168.258
882s ok 34 /network-address/resolve-address/5
882s # Input: 192.11010306
882s ok 35 /network-address/resolve-address/6
882s # Input: 3232235778
882s ok 36 /network-address/resolve-address/7
882s # Input: 0300.0250.0001.0001
882s ok 37 /network-address/resolve-address/8
882s # Input: 0xC0.0xA8.0x01.0x02
882s ok 38 /network-address/resolve-address/9
882s # Input: 0xc0.0xa8.0x01.0x02
882s ok 39 /network-address/resolve-address/10
882s # Input: 0xc0a80102
882s ok 40 /network-address/resolve-address/11
882s # End of resolve-address tests
882s # Start of loopback tests
882s ok 41 /network-address/loopback/basic
882s ok 42 /network-address/loopback/sync
882s ok 43 /network-address/loopback/async
882s # End of loopback tests
882s # Start of localhost tests
882s ok 44 /network-address/localhost/async
882s ok 45 /network-address/localhost/sync
882s # End of localhost tests
882s # Start of happy-eyeballs tests
882s ok 46 /network-address/happy-eyeballs/basic
882s ok 47 /network-address/happy-eyeballs/parallel
882s ok 48 /network-address/happy-eyeballs/slow-ipv4
882s ok 49 /network-address/happy-eyeballs/slow-ipv6
882s ok 50 /network-address/happy-eyeballs/very-slow-ipv6
883s ok 51 /network-address/happy-eyeballs/slow-connection-and-ipv4
883s # slow test /network-address/happy-eyeballs/slow-connection-and-ipv4 executed in 0.81 secs
883s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
883s ok 52 /network-address/happy-eyeballs/ipv6-error-ipv4-first
883s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
883s ok 53 /network-address/happy-eyeballs/ipv6-error-ipv6-first
883s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/865
883s # /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.
883s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
883s ok 54 /network-address/happy-eyeballs/ipv6-error-ipv4-very-slow
883s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
883s ok 55 /network-address/happy-eyeballs/ipv4-error-ipv6-first
883s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
883s ok 56 /network-address/happy-eyeballs/ipv4-error-ipv4-first
883s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
883s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
883s ok 57 /network-address/happy-eyeballs/both-error
883s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
883s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
883s ok 58 /network-address/happy-eyeballs/both-error-delays-1
883s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
883s # GLib-GIO-DEBUG: IPv6 DNS error: IPv6 Broken
883s ok 59 /network-address/happy-eyeballs/both-error-delays-2
883s # GLib-GIO-DEBUG: IPv4 DNS error: IPv4 Broken
883s ok 60 /network-address/happy-eyeballs/both-error-delays-3
883s # End of happy-eyeballs tests
883s # End of network-address tests
883s # Start of gresolver tests
883s # Start of resolve-address tests
883s # Input: 192.168.1.2
883s ok 61 /gresolver/resolve-address/0
883s # Input: fe80::42
883s ok 62 /gresolver/resolve-address/1
883s # Input: 192.168.1.2:80
883s # Error: Error resolving ?192.168.1.2:80?: Name or service not known
883s ok 63 /gresolver/resolve-address/2
883s # Input: [fe80::42]
883s # Error: Error resolving ?[fe80::42]?: Name or service not known
883s ok 64 /gresolver/resolve-address/3
883s # Input: [fe80::42]:80
883s # Error: Error resolving ?[fe80::42]:80?: Name or service not known
883s ok 65 /gresolver/resolve-address/4
883s # Input: 192.168.258
883s # Error: Error resolving ?192.168.258?: Name or service not known
883s ok 66 /gresolver/resolve-address/5
883s # Input: 192.11010306
883s # Error: Error resolving ?192.11010306?: Name or service not known
883s ok 67 /gresolver/resolve-address/6
883s # Input: 3232235778
883s # Error: Error resolving ?3232235778?: Name or service not known
883s ok 68 /gresolver/resolve-address/7
883s # Input: 0300.0250.0001.0001
883s # Error: Error resolving ?0300.0250.0001.0001?: Name or service not known
883s ok 69 /gresolver/resolve-address/8
883s # Input: 0xC0.0xA8.0x01.0x02
883s # Error: Error resolving ?0xC0.0xA8.0x01.0x02?: Name or service not known
883s ok 70 /gresolver/resolve-address/9
883s # Input: 0xc0.0xa8.0x01.0x02
883s # Error: Error resolving ?0xc0.0xa8.0x01.0x02?: Name or service not known
883s ok 71 /gresolver/resolve-address/10
883s # Input: 0xc0a80102
883s # Error: Error resolving ?0xc0a80102?: Name or service not known
883s ok 72 /gresolver/resolve-address/11
883s # End of resolve-address tests
883s # End of gresolver tests
883s ok - glib/network-address.test
883s # Running test: glib/module-test-plugin.test
883s TAP version 14
883s # random seed: R02S435b56258db957103ead8be56a1f193d
883s ok - glib/module-test-plugin.test
883s # Running test: glib/repository.test
883s 1..3
883s # Start of module tests
883s ok 1 /module/basics
883s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
883s ok 2 /module/invalid-libtool-archive
883s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
883s ok 3 /module/local-binding
883s # End of module tests
883s TAP version 14
883s # random seed: R02Se176552f4fc58438a4e6cdb6be83dea8
883s 1..23
883s # Start of repository tests
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/basic/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/basic/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/basic/.dirs/system-config1:/tmp/test_repository_0W3152/repository/basic/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/basic/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/basic/.dirs/system-data1:/tmp/test_repository_0W3152/repository/basic/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/basic/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/basic/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/basic/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/basic summary: Test basic opening of a repository and requiring a typelib
883s ok 1 /repository/basic
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/info/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/info/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/info/.dirs/system-config1:/tmp/test_repository_0W3152/repository/info/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/info/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/info/.dirs/system-data1:/tmp/test_repository_0W3152/repository/info/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/info/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/info/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/info/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/info summary: Test retrieving some basic info blobs from a typelib
883s ok 2 /repository/info
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/dependencies/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/dependencies/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/dependencies/.dirs/system-config1:/tmp/test_repository_0W3152/repository/dependencies/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/dependencies/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/dependencies/.dirs/system-data1:/tmp/test_repository_0W3152/repository/dependencies/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/dependencies/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/dependencies/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/dependencies/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/dependencies summary: Test ensures namespace dependencies are correctly exposed
883s ok 3 /repository/dependencies
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/arg-info/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/arg-info/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/arg-info/.dirs/system-config1:/tmp/test_repository_0W3152/repository/arg-info/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/arg-info/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/arg-info/.dirs/system-data1:/tmp/test_repository_0W3152/repository/arg-info/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/arg-info/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/arg-info/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/arg-info/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/arg-info summary: Test retrieving GIArgInfos from a typelib
883s ok 4 /repository/arg-info
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/callable-info/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/callable-info/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/callable-info/.dirs/system-config1:/tmp/test_repository_0W3152/repository/callable-info/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/callable-info/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/callable-info/.dirs/system-data1:/tmp/test_repository_0W3152/repository/callable-info/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/callable-info/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/callable-info/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/callable-info/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/callable-info summary: Test retrieving GICallableInfos from a typelib
883s ok 5 /repository/callable-info
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/callback-info/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/callback-info/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/callback-info/.dirs/system-config1:/tmp/test_repository_0W3152/repository/callback-info/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/callback-info/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/callback-info/.dirs/system-data1:/tmp/test_repository_0W3152/repository/callback-info/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/callback-info/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/callback-info/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/callback-info/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/callback-info summary: Test retrieving GICallbackInfos from a typelib
883s ok 6 /repository/callback-info
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/char-types/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/char-types/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/char-types/.dirs/system-config1:/tmp/test_repository_0W3152/repository/char-types/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/char-types/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/char-types/.dirs/system-data1:/tmp/test_repository_0W3152/repository/char-types/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/char-types/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/char-types/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/char-types/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/char-types summary: Test that signed and unsigned char GITypeInfo have GITypeTag of INT8 and UINT8 respectively
883s ok 7 /repository/char-types
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/system-config1:/tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/system-data1:/tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/constructor-return-type/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/constructor-return-type summary: Test the return type of a constructor, g_object_newv()
883s ok 8 /repository/constructor-return-type
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/system-config1:/tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/system-data1:/tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/enum-info-c-identifier/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/enum-info-c-identifier summary: Test that every enum member has a C identifier
883s ok 9 /repository/enum-info-c-identifier
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/system-config1:/tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/system-data1:/tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/enum-info-static-methods/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/enum-info-static-methods summary: Test an enum with methods
883s ok 10 /repository/enum-info-static-methods
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/error-quark/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/error-quark/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/error-quark/.dirs/system-config1:/tmp/test_repository_0W3152/repository/error-quark/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/error-quark/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/error-quark/.dirs/system-data1:/tmp/test_repository_0W3152/repository/error-quark/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/error-quark/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/error-quark/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/error-quark/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/error-quark summary: Test finding an error quark by error domain
883s ok 11 /repository/error-quark
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/system-config1:/tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/system-data1:/tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/flags-info-c-identifier/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/flags-info-c-identifier summary: Test that every flags member has a C identifier
883s ok 12 /repository/flags-info-c-identifier
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/system-config1:/tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/system-data1:/tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/fundamental-ref-func/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/fundamental-ref-func summary: Test getting the ref func of a fundamental type
883s ok 13 /repository/fundamental-ref-func
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/system-config1:/tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/system-data1:/tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/instance-method-ownership-transfer/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/instance-method-ownership-transfer summary: Test two methods of the same object having opposite ownership transfer of the instance parameter
883s ok 14 /repository/instance-method-ownership-transfer
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/system-config1:/tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/system-data1:/tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/object-gtype-interfaces/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/object-gtype-interfaces summary: Test gi_repository_get_object_gtype_interfaces()
883s ok 15 /repository/object-gtype-interfaces
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/system-config1:/tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/system-data1:/tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/signal-info-with-array-length-arg/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/signal-info-with-array-length-arg summary: Test finding the associated array length argument of an array parameter of a signal
883s ok 16 /repository/signal-info-with-array-length-arg
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/system-config1:/tmp/test_repository_0W3152/repository/type-info-name/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/system-data1:/tmp/test_repository_0W3152/repository/type-info-name/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/type-info-name/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/type-info-name summary: Test that gi_base_info_get_name() returns null for GITypeInfo
883s # Bug Reference: https://gitlab.gnome.org/GNOME/gobject-introspection/issues/96
883s ok 17 /repository/type-info-name
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/system-config1:/tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/system-data1:/tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/vfunc-info-with-no-invoker/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/vfunc-info-with-no-invoker summary: Test vfunc with no known invoker on object, such as GObject.dispose
883s ok 18 /repository/vfunc-info-with-no-invoker
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config1:/tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data1:/tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-interface/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/vfunc-info-with-invoker-on-interface summary: Test vfunc with invoker on interface, such as GFile.read_async
883s ok 19 /repository/vfunc-info-with-invoker-on-interface
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/system-config1:/tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/system-data1:/tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/vfunc-info-with-invoker-on-object/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/vfunc-info-with-invoker-on-object summary: Test vfunc with invoker on object, such as GAppLaunchContext.get_display
883s ok 20 /repository/vfunc-info-with-invoker-on-object
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/system-config1:/tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/system-data1:/tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/find-by-gtype/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/find-by-gtype summary: Test finding a GType
883s ok 21 /repository/find-by-gtype
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/system-config1:/tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/system-data1:/tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/loaded-namespaces/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/loaded-namespaces summary: Test listing loaded namespaces
883s ok 22 /repository/loaded-namespaces
883s # Start of base-info tests
883s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/home
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/cache
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/system-config1:/tmp/test_repository_0W3152/repository/base-info/clear/.dirs/system-config2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/config
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/system-data1:/tmp/test_repository_0W3152/repository/base-info/clear/.dirs/system-data2
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/data
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/state
883s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository_0W3152/repository/base-info/clear/.dirs/runtime
883s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
883s # /repository/base-info/clear summary: Test calling gi_base_info_clear() on a zero-filled struct
883s ok 23 /repository/base-info/clear
883s # End of base-info tests
883s # End of repository tests
883s TAP version 14
883s ok - glib/repository.test
883s # Running test: glib/checksum.test
883s # random seed: R02S380cf98fb7f143f4202f25e793cb7dab
883s 1..1851
883s # Start of checksum tests
883s ok 1 /checksum/unsupported
883s # Start of MD5 tests
883s ok 2 /checksum/MD5/0
883s ok 3 /checksum/MD5/1
883s ok 4 /checksum/MD5/2
883s ok 5 /checksum/MD5/3
883s ok 6 /checksum/MD5/4
883s ok 7 /checksum/MD5/5
883s ok 8 /checksum/MD5/6
883s ok 9 /checksum/MD5/7
883s ok 10 /checksum/MD5/8
883s ok 11 /checksum/MD5/9
883s ok 12 /checksum/MD5/10
883s ok 13 /checksum/MD5/11
883s ok 14 /checksum/MD5/12
883s ok 15 /checksum/MD5/13
883s ok 16 /checksum/MD5/14
883s ok 17 /checksum/MD5/15
883s ok 18 /checksum/MD5/16
883s ok 19 /checksum/MD5/17
883s ok 20 /checksum/MD5/18
883s ok 21 /checksum/MD5/19
883s ok 22 /checksum/MD5/20
883s ok 23 /checksum/MD5/21
883s ok 24 /checksum/MD5/22
883s ok 25 /checksum/MD5/23
883s ok 26 /checksum/MD5/24
883s ok 27 /checksum/MD5/25
883s ok 28 /checksum/MD5/26
883s ok 29 /checksum/MD5/27
883s ok 30 /checksum/MD5/28
883s ok 31 /checksum/MD5/29
883s ok 32 /checksum/MD5/30
883s ok 33 /checksum/MD5/31
883s ok 34 /checksum/MD5/32
883s ok 35 /checksum/MD5/33
883s ok 36 /checksum/MD5/34
883s ok 37 /checksum/MD5/35
883s ok 38 /checksum/MD5/36
883s ok 39 /checksum/MD5/37
883s ok 40 /checksum/MD5/38
883s ok 41 /checksum/MD5/39
883s ok 42 /checksum/MD5/40
883s ok 43 /checksum/MD5/41
883s ok 44 /checksum/MD5/42
883s ok 45 /checksum/MD5/43
883s ok 46 /checksum/MD5/44
883s ok 47 /checksum/MD5/45
883s ok 48 /checksum/MD5/46
883s ok 49 /checksum/MD5/47
883s ok 50 /checksum/MD5/48
883s ok 51 /checksum/MD5/49
883s ok 52 /checksum/MD5/50
883s ok 53 /checksum/MD5/51
883s ok 54 /checksum/MD5/52
883s ok 55 /checksum/MD5/53
883s ok 56 /checksum/MD5/54
883s ok 57 /checksum/MD5/55
883s ok 58 /checksum/MD5/56
883s ok 59 /checksum/MD5/57
883s ok 60 /checksum/MD5/58
883s ok 61 /checksum/MD5/59
883s ok 62 /checksum/MD5/60
883s ok 63 /checksum/MD5/61
883s ok 64 /checksum/MD5/62
883s ok 65 /checksum/MD5/63
883s ok 66 /checksum/MD5/64
883s ok 67 /checksum/MD5/65
883s ok 68 /checksum/MD5/66
883s ok 69 /checksum/MD5/67
883s ok 70 /checksum/MD5/68
883s ok 71 /checksum/MD5/69
883s ok 72 /checksum/MD5/70
883s ok 73 /checksum/MD5/71
883s ok 74 /checksum/MD5/72
883s ok 75 /checksum/MD5/73
883s ok 76 /checksum/MD5/74
883s ok 77 /checksum/MD5/75
883s ok 78 /checksum/MD5/76
883s ok 79 /checksum/MD5/77
883s ok 80 /checksum/MD5/78
883s ok 81 /checksum/MD5/79
883s ok 82 /checksum/MD5/80
883s ok 83 /checksum/MD5/81
883s ok 84 /checksum/MD5/82
883s ok 85 /checksum/MD5/83
883s ok 86 /checksum/MD5/84
883s ok 87 /checksum/MD5/85
883s ok 88 /checksum/MD5/86
883s ok 89 /checksum/MD5/87
883s ok 90 /checksum/MD5/88
883s ok 91 /checksum/MD5/89
883s ok 92 /checksum/MD5/90
883s ok 93 /checksum/MD5/91
883s ok 94 /checksum/MD5/92
883s ok 95 /checksum/MD5/93
883s ok 96 /checksum/MD5/94
883s ok 97 /checksum/MD5/95
883s ok 98 /checksum/MD5/96
883s ok 99 /checksum/MD5/97
883s ok 100 /checksum/MD5/98
883s ok 101 /checksum/MD5/99
883s ok 102 /checksum/MD5/100
883s ok 103 /checksum/MD5/101
883s ok 104 /checksum/MD5/102
883s ok 105 /checksum/MD5/103
883s ok 106 /checksum/MD5/104
883s ok 107 /checksum/MD5/105
883s ok 108 /checksum/MD5/106
883s ok 109 /checksum/MD5/107
883s ok 110 /checksum/MD5/108
883s ok 111 /checksum/MD5/109
883s ok 112 /checksum/MD5/110
883s ok 113 /checksum/MD5/111
883s ok 114 /checksum/MD5/112
883s ok 115 /checksum/MD5/113
883s ok 116 /checksum/MD5/114
883s ok 117 /checksum/MD5/115
883s ok 118 /checksum/MD5/116
883s ok 119 /checksum/MD5/117
883s ok 120 /checksum/MD5/118
883s ok 121 /checksum/MD5/119
883s ok 122 /checksum/MD5/120
883s ok 123 /checksum/MD5/121
883s ok 124 /checksum/MD5/122
883s ok 125 /checksum/MD5/123
883s ok 126 /checksum/MD5/124
883s ok 127 /checksum/MD5/125
883s ok 128 /checksum/MD5/126
883s ok 129 /checksum/MD5/127
883s ok 130 /checksum/MD5/128
883s ok 131 /checksum/MD5/129
883s ok 132 /checksum/MD5/130
883s ok 133 /checksum/MD5/131
883s ok 134 /checksum/MD5/132
883s ok 135 /checksum/MD5/133
883s ok 136 /checksum/MD5/134
883s ok 137 /checksum/MD5/135
883s ok 138 /checksum/MD5/136
883s ok 139 /checksum/MD5/137
883s ok 140 /checksum/MD5/138
883s ok 141 /checksum/MD5/139
883s ok 142 /checksum/MD5/140
883s ok 143 /checksum/MD5/141
883s ok 144 /checksum/MD5/142
883s ok 145 /checksum/MD5/143
883s ok 146 /checksum/MD5/144
883s ok 147 /checksum/MD5/145
883s ok 148 /checksum/MD5/146
883s ok 149 /checksum/MD5/147
883s ok 150 /checksum/MD5/148
883s ok 151 /checksum/MD5/149
883s ok 152 /checksum/MD5/150
883s ok 153 /checksum/MD5/151
883s ok 154 /checksum/MD5/152
883s ok 155 /checksum/MD5/153
883s ok 156 /checksum/MD5/154
883s ok 157 /checksum/MD5/155
883s ok 158 /checksum/MD5/156
883s ok 159 /checksum/MD5/157
883s ok 160 /checksum/MD5/158
883s ok 161 /checksum/MD5/159
883s ok 162 /checksum/MD5/160
883s ok 163 /checksum/MD5/161
883s ok 164 /checksum/MD5/162
883s ok 165 /checksum/MD5/163
883s ok 166 /checksum/MD5/164
883s ok 167 /checksum/MD5/165
883s ok 168 /checksum/MD5/166
883s ok 169 /checksum/MD5/167
883s ok 170 /checksum/MD5/168
883s ok 171 /checksum/MD5/169
883s ok 172 /checksum/MD5/170
883s ok 173 /checksum/MD5/171
883s ok 174 /checksum/MD5/172
883s ok 175 /checksum/MD5/173
883s ok 176 /checksum/MD5/174
883s ok 177 /checksum/MD5/175
883s ok 178 /checksum/MD5/176
883s ok 179 /checksum/MD5/177
883s ok 180 /checksum/MD5/178
883s ok 181 /checksum/MD5/179
883s ok 182 /checksum/MD5/180
883s ok 183 /checksum/MD5/181
883s ok 184 /checksum/MD5/182
883s ok 185 /checksum/MD5/183
883s ok 186 /checksum/MD5/string
883s ok 187 /checksum/MD5/bytes
883s # Start of reset tests
883s ok 188 /checksum/MD5/reset/0
883s ok 189 /checksum/MD5/reset/1
883s ok 190 /checksum/MD5/reset/2
883s ok 191 /checksum/MD5/reset/3
883s ok 192 /checksum/MD5/reset/4
883s ok 193 /checksum/MD5/reset/5
883s ok 194 /checksum/MD5/reset/6
883s ok 195 /checksum/MD5/reset/7
883s ok 196 /checksum/MD5/reset/8
883s ok 197 /checksum/MD5/reset/9
883s ok 198 /checksum/MD5/reset/10
883s ok 199 /checksum/MD5/reset/11
883s ok 200 /checksum/MD5/reset/12
883s ok 201 /checksum/MD5/reset/13
883s ok 202 /checksum/MD5/reset/14
883s ok 203 /checksum/MD5/reset/15
883s ok 204 /checksum/MD5/reset/16
883s ok 205 /checksum/MD5/reset/17
883s ok 206 /checksum/MD5/reset/18
883s ok 207 /checksum/MD5/reset/19
883s ok 208 /checksum/MD5/reset/20
883s ok 209 /checksum/MD5/reset/21
883s ok 210 /checksum/MD5/reset/22
883s ok 211 /checksum/MD5/reset/23
883s ok 212 /checksum/MD5/reset/24
883s ok 213 /checksum/MD5/reset/25
883s ok 214 /checksum/MD5/reset/26
883s ok 215 /checksum/MD5/reset/27
883s ok 216 /checksum/MD5/reset/28
883s ok 217 /checksum/MD5/reset/29
883s ok 218 /checksum/MD5/reset/30
883s ok 219 /checksum/MD5/reset/31
883s ok 220 /checksum/MD5/reset/32
883s ok 221 /checksum/MD5/reset/33
883s ok 222 /checksum/MD5/reset/34
883s ok 223 /checksum/MD5/reset/35
883s ok 224 /checksum/MD5/reset/36
883s ok 225 /checksum/MD5/reset/37
883s ok 226 /checksum/MD5/reset/38
883s ok 227 /checksum/MD5/reset/39
883s ok 228 /checksum/MD5/reset/40
883s ok 229 /checksum/MD5/reset/41
883s ok 230 /checksum/MD5/reset/42
883s ok 231 /checksum/MD5/reset/43
883s ok 232 /checksum/MD5/reset/44
883s ok 233 /checksum/MD5/reset/45
883s ok 234 /checksum/MD5/reset/46
883s ok 235 /checksum/MD5/reset/47
883s ok 236 /checksum/MD5/reset/48
883s ok 237 /checksum/MD5/reset/49
883s ok 238 /checksum/MD5/reset/50
883s ok 239 /checksum/MD5/reset/51
883s ok 240 /checksum/MD5/reset/52
883s ok 241 /checksum/MD5/reset/53
883s ok 242 /checksum/MD5/reset/54
883s ok 243 /checksum/MD5/reset/55
883s ok 244 /checksum/MD5/reset/56
883s ok 245 /checksum/MD5/reset/57
883s ok 246 /checksum/MD5/reset/58
883s ok 247 /checksum/MD5/reset/59
883s ok 248 /checksum/MD5/reset/60
883s ok 249 /checksum/MD5/reset/61
883s ok 250 /checksum/MD5/reset/62
883s ok 251 /checksum/MD5/reset/63
883s ok 252 /checksum/MD5/reset/64
883s ok 253 /checksum/MD5/reset/65
883s ok 254 /checksum/MD5/reset/66
883s ok 255 /checksum/MD5/reset/67
883s ok 256 /checksum/MD5/reset/68
883s ok 257 /checksum/MD5/reset/69
883s ok 258 /checksum/MD5/reset/70
883s ok 259 /checksum/MD5/reset/71
883s ok 260 /checksum/MD5/reset/72
883s ok 261 /checksum/MD5/reset/73
883s ok 262 /checksum/MD5/reset/74
883s ok 263 /checksum/MD5/reset/75
883s ok 264 /checksum/MD5/reset/76
883s ok 265 /checksum/MD5/reset/77
883s ok 266 /checksum/MD5/reset/78
883s ok 267 /checksum/MD5/reset/79
883s ok 268 /checksum/MD5/reset/80
883s ok 269 /checksum/MD5/reset/81
883s ok 270 /checksum/MD5/reset/82
883s ok 271 /checksum/MD5/reset/83
883s ok 272 /checksum/MD5/reset/84
883s ok 273 /checksum/MD5/reset/85
883s ok 274 /checksum/MD5/reset/86
883s ok 275 /checksum/MD5/reset/87
883s ok 276 /checksum/MD5/reset/88
883s ok 277 /checksum/MD5/reset/89
883s ok 278 /checksum/MD5/reset/90
883s ok 279 /checksum/MD5/reset/91
883s ok 280 /checksum/MD5/reset/92
883s ok 281 /checksum/MD5/reset/93
883s ok 282 /checksum/MD5/reset/94
883s ok 283 /checksum/MD5/reset/95
883s ok 284 /checksum/MD5/reset/96
883s ok 285 /checksum/MD5/reset/97
883s ok 286 /checksum/MD5/reset/98
883s ok 287 /checksum/MD5/reset/99
883s ok 288 /checksum/MD5/reset/100
883s ok 289 /checksum/MD5/reset/101
883s ok 290 /checksum/MD5/reset/102
883s ok 291 /checksum/MD5/reset/103
883s ok 292 /checksum/MD5/reset/104
883s ok 293 /checksum/MD5/reset/105
883s ok 294 /checksum/MD5/reset/106
883s ok 295 /checksum/MD5/reset/107
883s ok 296 /checksum/MD5/reset/108
883s ok 297 /checksum/MD5/reset/109
883s ok 298 /checksum/MD5/reset/110
883s ok 299 /checksum/MD5/reset/111
883s ok 300 /checksum/MD5/reset/112
883s ok 301 /checksum/MD5/reset/113
883s ok 302 /checksum/MD5/reset/114
883s ok 303 /checksum/MD5/reset/115
883s ok 304 /checksum/MD5/reset/116
883s ok 305 /checksum/MD5/reset/117
883s ok 306 /checksum/MD5/reset/118
883s ok 307 /checksum/MD5/reset/119
883s ok 308 /checksum/MD5/reset/120
883s ok 309 /checksum/MD5/reset/121
883s ok 310 /checksum/MD5/reset/122
883s ok 311 /checksum/MD5/reset/123
883s ok 312 /checksum/MD5/reset/124
883s ok 313 /checksum/MD5/reset/125
883s ok 314 /checksum/MD5/reset/126
883s ok 315 /checksum/MD5/reset/127
883s ok 316 /checksum/MD5/reset/128
883s ok 317 /checksum/MD5/reset/129
883s ok 318 /checksum/MD5/reset/130
883s ok 319 /checksum/MD5/reset/131
883s ok 320 /checksum/MD5/reset/132
883s ok 321 /checksum/MD5/reset/133
883s ok 322 /checksum/MD5/reset/134
883s ok 323 /checksum/MD5/reset/135
883s ok 324 /checksum/MD5/reset/136
883s ok 325 /checksum/MD5/reset/137
883s ok 326 /checksum/MD5/reset/138
883s ok 327 /checksum/MD5/reset/139
883s ok 328 /checksum/MD5/reset/140
883s ok 329 /checksum/MD5/reset/141
883s ok 330 /checksum/MD5/reset/142
883s ok 331 /checksum/MD5/reset/143
883s ok 332 /checksum/MD5/reset/144
883s ok 333 /checksum/MD5/reset/145
883s ok 334 /checksum/MD5/reset/146
883s ok 335 /checksum/MD5/reset/147
883s ok 336 /checksum/MD5/reset/148
883s ok 337 /checksum/MD5/reset/149
883s ok 338 /checksum/MD5/reset/150
883s ok 339 /checksum/MD5/reset/151
883s ok 340 /checksum/MD5/reset/152
883s ok 341 /checksum/MD5/reset/153
883s ok 342 /checksum/MD5/reset/154
883s ok 343 /checksum/MD5/reset/155
883s ok 344 /checksum/MD5/reset/156
883s ok 345 /checksum/MD5/reset/157
883s ok 346 /checksum/MD5/reset/158
883s ok 347 /checksum/MD5/reset/159
883s ok 348 /checksum/MD5/reset/160
883s ok 349 /checksum/MD5/reset/161
883s ok 350 /checksum/MD5/reset/162
883s ok 351 /checksum/MD5/reset/163
883s ok 352 /checksum/MD5/reset/164
883s ok 353 /checksum/MD5/reset/165
883s ok 354 /checksum/MD5/reset/166
883s ok 355 /checksum/MD5/reset/167
883s ok 356 /checksum/MD5/reset/168
883s ok 357 /checksum/MD5/reset/169
883s ok 358 /checksum/MD5/reset/170
883s ok 359 /checksum/MD5/reset/171
883s ok 360 /checksum/MD5/reset/172
883s ok 361 /checksum/MD5/reset/173
883s ok 362 /checksum/MD5/reset/174
883s ok 363 /checksum/MD5/reset/175
883s ok 364 /checksum/MD5/reset/176
883s ok 365 /checksum/MD5/reset/177
883s ok 366 /checksum/MD5/reset/178
883s ok 367 /checksum/MD5/reset/179
883s ok 368 /checksum/MD5/reset/180
883s ok 369 /checksum/MD5/reset/181
883s ok 370 /checksum/MD5/reset/182
883s ok 371 /checksum/MD5/reset/183
883s # End of reset tests
883s # End of MD5 tests
883s # Start of SHA1 tests
883s ok 372 /checksum/SHA1/0
883s ok 373 /checksum/SHA1/1
883s ok 374 /checksum/SHA1/2
883s ok 375 /checksum/SHA1/3
883s ok 376 /checksum/SHA1/4
883s ok 377 /checksum/SHA1/5
883s ok 378 /checksum/SHA1/6
883s ok 379 /checksum/SHA1/7
883s ok 380 /checksum/SHA1/8
883s ok 381 /checksum/SHA1/9
883s ok 382 /checksum/SHA1/10
883s ok 383 /checksum/SHA1/11
883s ok 384 /checksum/SHA1/12
883s ok 385 /checksum/SHA1/13
883s ok 386 /checksum/SHA1/14
883s ok 387 /checksum/SHA1/15
883s ok 388 /checksum/SHA1/16
883s ok 389 /checksum/SHA1/17
883s ok 390 /checksum/SHA1/18
883s ok 391 /checksum/SHA1/19
883s ok 392 /checksum/SHA1/20
883s ok 393 /checksum/SHA1/21
883s ok 394 /checksum/SHA1/22
883s ok 395 /checksum/SHA1/23
883s ok 396 /checksum/SHA1/24
883s ok 397 /checksum/SHA1/25
883s ok 398 /checksum/SHA1/26
883s ok 399 /checksum/SHA1/27
883s ok 400 /checksum/SHA1/28
883s ok 401 /checksum/SHA1/29
883s ok 402 /checksum/SHA1/30
883s ok 403 /checksum/SHA1/31
883s ok 404 /checksum/SHA1/32
883s ok 405 /checksum/SHA1/33
883s ok 406 /checksum/SHA1/34
883s ok 407 /checksum/SHA1/35
883s ok 408 /checksum/SHA1/36
883s ok 409 /checksum/SHA1/37
883s ok 410 /checksum/SHA1/38
883s ok 411 /checksum/SHA1/39
883s ok 412 /checksum/SHA1/40
883s ok 413 /checksum/SHA1/41
883s ok 414 /checksum/SHA1/42
883s ok 415 /checksum/SHA1/43
883s ok 416 /checksum/SHA1/44
883s ok 417 /checksum/SHA1/45
883s ok 418 /checksum/SHA1/46
883s ok 419 /checksum/SHA1/47
883s ok 420 /checksum/SHA1/48
883s ok 421 /checksum/SHA1/49
883s ok 422 /checksum/SHA1/50
883s ok 423 /checksum/SHA1/51
883s ok 424 /checksum/SHA1/52
883s ok 425 /checksum/SHA1/53
883s ok 426 /checksum/SHA1/54
883s ok 427 /checksum/SHA1/55
883s ok 428 /checksum/SHA1/56
883s ok 429 /checksum/SHA1/57
883s ok 430 /checksum/SHA1/58
883s ok 431 /checksum/SHA1/59
883s ok 432 /checksum/SHA1/60
883s ok 433 /checksum/SHA1/61
883s ok 434 /checksum/SHA1/62
883s ok 435 /checksum/SHA1/63
883s ok 436 /checksum/SHA1/64
883s ok 437 /checksum/SHA1/65
883s ok 438 /checksum/SHA1/66
883s ok 439 /checksum/SHA1/67
883s ok 440 /checksum/SHA1/68
883s ok 441 /checksum/SHA1/69
883s ok 442 /checksum/SHA1/70
883s ok 443 /checksum/SHA1/71
883s ok 444 /checksum/SHA1/72
883s ok 445 /checksum/SHA1/73
883s ok 446 /checksum/SHA1/74
883s ok 447 /checksum/SHA1/75
883s ok 448 /checksum/SHA1/76
883s ok 449 /checksum/SHA1/77
883s ok 450 /checksum/SHA1/78
883s ok 451 /checksum/SHA1/79
883s ok 452 /checksum/SHA1/80
883s ok 453 /checksum/SHA1/81
883s ok 454 /checksum/SHA1/82
883s ok 455 /checksum/SHA1/83
883s ok 456 /checksum/SHA1/84
883s ok 457 /checksum/SHA1/85
883s ok 458 /checksum/SHA1/86
883s ok 459 /checksum/SHA1/87
883s ok 460 /checksum/SHA1/88
883s ok 461 /checksum/SHA1/89
883s ok 462 /checksum/SHA1/90
883s ok 463 /checksum/SHA1/91
883s ok 464 /checksum/SHA1/92
883s ok 465 /checksum/SHA1/93
883s ok 466 /checksum/SHA1/94
883s ok 467 /checksum/SHA1/95
883s ok 468 /checksum/SHA1/96
883s ok 469 /checksum/SHA1/97
883s ok 470 /checksum/SHA1/98
883s ok 471 /checksum/SHA1/99
883s ok 472 /checksum/SHA1/100
883s ok 473 /checksum/SHA1/101
883s ok 474 /checksum/SHA1/102
883s ok 475 /checksum/SHA1/103
883s ok 476 /checksum/SHA1/104
883s ok 477 /checksum/SHA1/105
883s ok 478 /checksum/SHA1/106
883s ok 479 /checksum/SHA1/107
883s ok 480 /checksum/SHA1/108
883s ok 481 /checksum/SHA1/109
883s ok 482 /checksum/SHA1/110
883s ok 483 /checksum/SHA1/111
883s ok 484 /checksum/SHA1/112
883s ok 485 /checksum/SHA1/113
883s ok 486 /checksum/SHA1/114
883s ok 487 /checksum/SHA1/115
883s ok 488 /checksum/SHA1/116
883s ok 489 /checksum/SHA1/117
883s ok 490 /checksum/SHA1/118
883s ok 491 /checksum/SHA1/119
883s ok 492 /checksum/SHA1/120
883s ok 493 /checksum/SHA1/121
883s ok 494 /checksum/SHA1/122
883s ok 495 /checksum/SHA1/123
883s ok 496 /checksum/SHA1/124
883s ok 497 /checksum/SHA1/125
883s ok 498 /checksum/SHA1/126
883s ok 499 /checksum/SHA1/127
883s ok 500 /checksum/SHA1/128
883s ok 501 /checksum/SHA1/129
883s ok 502 /checksum/SHA1/130
883s ok 503 /checksum/SHA1/131
883s ok 504 /checksum/SHA1/132
883s ok 505 /checksum/SHA1/133
883s ok 506 /checksum/SHA1/134
883s ok 507 /checksum/SHA1/135
883s ok 508 /checksum/SHA1/136
883s ok 509 /checksum/SHA1/137
883s ok 510 /checksum/SHA1/138
883s ok 511 /checksum/SHA1/139
883s ok 512 /checksum/SHA1/140
883s ok 513 /checksum/SHA1/141
883s ok 514 /checksum/SHA1/142
883s ok 515 /checksum/SHA1/143
883s ok 516 /checksum/SHA1/144
883s ok 517 /checksum/SHA1/145
883s ok 518 /checksum/SHA1/146
883s ok 519 /checksum/SHA1/147
883s ok 520 /checksum/SHA1/148
883s ok 521 /checksum/SHA1/149
883s ok 522 /checksum/SHA1/150
883s ok 523 /checksum/SHA1/151
883s ok 524 /checksum/SHA1/152
883s ok 525 /checksum/SHA1/153
883s ok 526 /checksum/SHA1/154
883s ok 527 /checksum/SHA1/155
883s ok 528 /checksum/SHA1/156
883s ok 529 /checksum/SHA1/157
883s ok 530 /checksum/SHA1/158
883s ok 531 /checksum/SHA1/159
883s ok 532 /checksum/SHA1/160
883s ok 533 /checksum/SHA1/161
883s ok 534 /checksum/SHA1/162
883s ok 535 /checksum/SHA1/163
883s ok 536 /checksum/SHA1/164
883s ok 537 /checksum/SHA1/165
883s ok 538 /checksum/SHA1/166
883s ok 539 /checksum/SHA1/167
883s ok 540 /checksum/SHA1/168
883s ok 541 /checksum/SHA1/169
883s ok 542 /checksum/SHA1/170
883s ok 543 /checksum/SHA1/171
883s ok 544 /checksum/SHA1/172
883s ok 545 /checksum/SHA1/173
883s ok 546 /checksum/SHA1/174
883s ok 547 /checksum/SHA1/175
883s ok 548 /checksum/SHA1/176
883s ok 549 /checksum/SHA1/177
883s ok 550 /checksum/SHA1/178
883s ok 551 /checksum/SHA1/179
883s ok 552 /checksum/SHA1/180
883s ok 553 /checksum/SHA1/181
883s ok 554 /checksum/SHA1/182
883s ok 555 /checksum/SHA1/183
883s ok 556 /checksum/SHA1/string
883s ok 557 /checksum/SHA1/bytes
883s # Start of reset tests
883s ok 558 /checksum/SHA1/reset/0
883s ok 559 /checksum/SHA1/reset/1
883s ok 560 /checksum/SHA1/reset/2
883s ok 561 /checksum/SHA1/reset/3
883s ok 562 /checksum/SHA1/reset/4
883s ok 563 /checksum/SHA1/reset/5
883s ok 564 /checksum/SHA1/reset/6
883s ok 565 /checksum/SHA1/reset/7
883s ok 566 /checksum/SHA1/reset/8
883s ok 567 /checksum/SHA1/reset/9
883s ok 568 /checksum/SHA1/reset/10
883s ok 569 /checksum/SHA1/reset/11
883s ok 570 /checksum/SHA1/reset/12
883s ok 571 /checksum/SHA1/reset/13
883s ok 572 /checksum/SHA1/reset/14
883s ok 573 /checksum/SHA1/reset/15
883s ok 574 /checksum/SHA1/reset/16
883s ok 575 /checksum/SHA1/reset/17
883s ok 576 /checksum/SHA1/reset/18
883s ok 577 /checksum/SHA1/reset/19
883s ok 578 /checksum/SHA1/reset/20
883s ok 579 /checksum/SHA1/reset/21
883s ok 580 /checksum/SHA1/reset/22
883s ok 581 /checksum/SHA1/reset/23
883s ok 582 /checksum/SHA1/reset/24
883s ok 583 /checksum/SHA1/reset/25
883s ok 584 /checksum/SHA1/reset/26
883s ok 585 /checksum/SHA1/reset/27
883s ok 586 /checksum/SHA1/reset/28
883s ok 587 /checksum/SHA1/reset/29
883s ok 588 /checksum/SHA1/reset/30
883s ok 589 /checksum/SHA1/reset/31
883s ok 590 /checksum/SHA1/reset/32
883s ok 591 /checksum/SHA1/reset/33
883s ok 592 /checksum/SHA1/reset/34
883s ok 593 /checksum/SHA1/reset/35
883s ok 594 /checksum/SHA1/reset/36
883s ok 595 /checksum/SHA1/reset/37
883s ok 596 /checksum/SHA1/reset/38
883s ok 597 /checksum/SHA1/reset/39
883s ok 598 /checksum/SHA1/reset/40
883s ok 599 /checksum/SHA1/reset/41
883s ok 600 /checksum/SHA1/reset/42
883s ok 601 /checksum/SHA1/reset/43
883s ok 602 /checksum/SHA1/reset/44
883s ok 603 /checksum/SHA1/reset/45
883s ok 604 /checksum/SHA1/reset/46
883s ok 605 /checksum/SHA1/reset/47
883s ok 606 /checksum/SHA1/reset/48
883s ok 607 /checksum/SHA1/reset/49
883s ok 608 /checksum/SHA1/reset/50
883s ok 609 /checksum/SHA1/reset/51
883s ok 610 /checksum/SHA1/reset/52
883s ok 611 /checksum/SHA1/reset/53
883s ok 612 /checksum/SHA1/reset/54
883s ok 613 /checksum/SHA1/reset/55
883s ok 614 /checksum/SHA1/reset/56
883s ok 615 /checksum/SHA1/reset/57
883s ok 616 /checksum/SHA1/reset/58
883s ok 617 /checksum/SHA1/reset/59
883s ok 618 /checksum/SHA1/reset/60
883s ok 619 /checksum/SHA1/reset/61
883s ok 620 /checksum/SHA1/reset/62
883s ok 621 /checksum/SHA1/reset/63
883s ok 622 /checksum/SHA1/reset/64
883s ok 623 /checksum/SHA1/reset/65
883s ok 624 /checksum/SHA1/reset/66
883s ok 625 /checksum/SHA1/reset/67
883s ok 626 /checksum/SHA1/reset/68
883s ok 627 /checksum/SHA1/reset/69
883s ok 628 /checksum/SHA1/reset/70
883s ok 629 /checksum/SHA1/reset/71
883s ok 630 /checksum/SHA1/reset/72
883s ok 631 /checksum/SHA1/reset/73
883s ok 632 /checksum/SHA1/reset/74
883s ok 633 /checksum/SHA1/reset/75
883s ok 634 /checksum/SHA1/reset/76
883s ok 635 /checksum/SHA1/reset/77
883s ok 636 /checksum/SHA1/reset/78
883s ok 637 /checksum/SHA1/reset/79
883s ok 638 /checksum/SHA1/reset/80
883s ok 639 /checksum/SHA1/reset/81
883s ok 640 /checksum/SHA1/reset/82
883s ok 641 /checksum/SHA1/reset/83
883s ok 642 /checksum/SHA1/reset/84
883s ok 643 /checksum/SHA1/reset/85
883s ok 644 /checksum/SHA1/reset/86
883s ok 645 /checksum/SHA1/reset/87
883s ok 646 /checksum/SHA1/reset/88
883s ok 647 /checksum/SHA1/reset/89
883s ok 648 /checksum/SHA1/reset/90
883s ok 649 /checksum/SHA1/reset/91
883s ok 650 /checksum/SHA1/reset/92
883s ok 651 /checksum/SHA1/reset/93
883s ok 652 /checksum/SHA1/reset/94
883s ok 653 /checksum/SHA1/reset/95
883s ok 654 /checksum/SHA1/reset/96
883s ok 655 /checksum/SHA1/reset/97
883s ok 656 /checksum/SHA1/reset/98
883s ok 657 /checksum/SHA1/reset/99
883s ok 658 /checksum/SHA1/reset/100
883s ok 659 /checksum/SHA1/reset/101
883s ok 660 /checksum/SHA1/reset/102
883s ok 661 /checksum/SHA1/reset/103
883s ok 662 /checksum/SHA1/reset/104
883s ok 663 /checksum/SHA1/reset/105
883s ok 664 /checksum/SHA1/reset/106
883s ok 665 /checksum/SHA1/reset/107
883s ok 666 /checksum/SHA1/reset/108
883s ok 667 /checksum/SHA1/reset/109
883s ok 668 /checksum/SHA1/reset/110
883s ok 669 /checksum/SHA1/reset/111
883s ok 670 /checksum/SHA1/reset/112
883s ok 671 /checksum/SHA1/reset/113
883s ok 672 /checksum/SHA1/reset/114
883s ok 673 /checksum/SHA1/reset/115
883s ok 674 /checksum/SHA1/reset/116
883s ok 675 /checksum/SHA1/reset/117
883s ok 676 /checksum/SHA1/reset/118
883s ok 677 /checksum/SHA1/reset/119
883s ok 678 /checksum/SHA1/reset/120
883s ok 679 /checksum/SHA1/reset/121
883s ok 680 /checksum/SHA1/reset/122
883s ok 681 /checksum/SHA1/reset/123
883s ok 682 /checksum/SHA1/reset/124
883s ok 683 /checksum/SHA1/reset/125
883s ok 684 /checksum/SHA1/reset/126
883s ok 685 /checksum/SHA1/reset/127
883s ok 686 /checksum/SHA1/reset/128
883s ok 687 /checksum/SHA1/reset/129
883s ok 688 /checksum/SHA1/reset/130
883s ok 689 /checksum/SHA1/reset/131
883s ok 690 /checksum/SHA1/reset/132
883s ok 691 /checksum/SHA1/reset/133
883s ok 692 /checksum/SHA1/reset/134
883s ok 693 /checksum/SHA1/reset/135
883s ok 694 /checksum/SHA1/reset/136
883s ok 695 /checksum/SHA1/reset/137
883s ok 696 /checksum/SHA1/reset/138
883s ok 697 /checksum/SHA1/reset/139
883s ok 698 /checksum/SHA1/reset/140
883s ok 699 /checksum/SHA1/reset/141
883s ok 700 /checksum/SHA1/reset/142
883s ok 701 /checksum/SHA1/reset/143
883s ok 702 /checksum/SHA1/reset/144
883s ok 703 /checksum/SHA1/reset/145
883s ok 704 /checksum/SHA1/reset/146
883s ok 705 /checksum/SHA1/reset/147
883s ok 706 /checksum/SHA1/reset/148
883s ok 707 /checksum/SHA1/reset/149
883s ok 708 /checksum/SHA1/reset/150
883s ok 709 /checksum/SHA1/reset/151
883s ok 710 /checksum/SHA1/reset/152
883s ok 711 /checksum/SHA1/reset/153
883s ok 712 /checksum/SHA1/reset/154
883s ok 713 /checksum/SHA1/reset/155
883s ok 714 /checksum/SHA1/reset/156
883s ok 715 /checksum/SHA1/reset/157
883s ok 716 /checksum/SHA1/reset/158
883s ok 717 /checksum/SHA1/reset/159
883s ok 718 /checksum/SHA1/reset/160
883s ok 719 /checksum/SHA1/reset/161
883s ok 720 /checksum/SHA1/reset/162
884s ok 721 /checksum/SHA1/reset/163
884s ok 722 /checksum/SHA1/reset/164
884s ok 723 /checksum/SHA1/reset/165
884s ok 724 /checksum/SHA1/reset/166
884s ok 725 /checksum/SHA1/reset/167
884s ok 726 /checksum/SHA1/reset/168
884s ok 727 /checksum/SHA1/reset/169
884s ok 728 /checksum/SHA1/reset/170
884s ok 729 /checksum/SHA1/reset/171
884s ok 730 /checksum/SHA1/reset/172
884s ok 731 /checksum/SHA1/reset/173
884s ok 732 /checksum/SHA1/reset/174
884s ok 733 /checksum/SHA1/reset/175
884s ok 734 /checksum/SHA1/reset/176
884s ok 735 /checksum/SHA1/reset/177
884s ok 736 /checksum/SHA1/reset/178
884s ok 737 /checksum/SHA1/reset/179
884s ok 738 /checksum/SHA1/reset/180
884s ok 739 /checksum/SHA1/reset/181
884s ok 740 /checksum/SHA1/reset/182
884s ok 741 /checksum/SHA1/reset/183
884s # End of reset tests
884s # End of SHA1 tests
884s # Start of SHA256 tests
884s ok 742 /checksum/SHA256/0
884s ok 743 /checksum/SHA256/1
884s ok 744 /checksum/SHA256/2
884s ok 745 /checksum/SHA256/3
884s ok 746 /checksum/SHA256/4
884s ok 747 /checksum/SHA256/5
884s ok 748 /checksum/SHA256/6
884s ok 749 /checksum/SHA256/7
884s ok 750 /checksum/SHA256/8
884s ok 751 /checksum/SHA256/9
884s ok 752 /checksum/SHA256/10
884s ok 753 /checksum/SHA256/11
884s ok 754 /checksum/SHA256/12
884s ok 755 /checksum/SHA256/13
884s ok 756 /checksum/SHA256/14
884s ok 757 /checksum/SHA256/15
884s ok 758 /checksum/SHA256/16
884s ok 759 /checksum/SHA256/17
884s ok 760 /checksum/SHA256/18
884s ok 761 /checksum/SHA256/19
884s ok 762 /checksum/SHA256/20
884s ok 763 /checksum/SHA256/21
884s ok 764 /checksum/SHA256/22
884s ok 765 /checksum/SHA256/23
884s ok 766 /checksum/SHA256/24
884s ok 767 /checksum/SHA256/25
884s ok 768 /checksum/SHA256/26
884s ok 769 /checksum/SHA256/27
884s ok 770 /checksum/SHA256/28
884s ok 771 /checksum/SHA256/29
884s ok 772 /checksum/SHA256/30
884s ok 773 /checksum/SHA256/31
884s ok 774 /checksum/SHA256/32
884s ok 775 /checksum/SHA256/33
884s ok 776 /checksum/SHA256/34
884s ok 777 /checksum/SHA256/35
884s ok 778 /checksum/SHA256/36
884s ok 779 /checksum/SHA256/37
884s ok 780 /checksum/SHA256/38
884s ok 781 /checksum/SHA256/39
884s ok 782 /checksum/SHA256/40
884s ok 783 /checksum/SHA256/41
884s ok 784 /checksum/SHA256/42
884s ok 785 /checksum/SHA256/43
884s ok 786 /checksum/SHA256/44
884s ok 787 /checksum/SHA256/45
884s ok 788 /checksum/SHA256/46
884s ok 789 /checksum/SHA256/47
884s ok 790 /checksum/SHA256/48
884s ok 791 /checksum/SHA256/49
884s ok 792 /checksum/SHA256/50
884s ok 793 /checksum/SHA256/51
884s ok 794 /checksum/SHA256/52
884s ok 795 /checksum/SHA256/53
884s ok 796 /checksum/SHA256/54
884s ok 797 /checksum/SHA256/55
884s ok 798 /checksum/SHA256/56
884s ok 799 /checksum/SHA256/57
884s ok 800 /checksum/SHA256/58
884s ok 801 /checksum/SHA256/59
884s ok 802 /checksum/SHA256/60
884s ok 803 /checksum/SHA256/61
884s ok 804 /checksum/SHA256/62
884s ok 805 /checksum/SHA256/63
884s ok 806 /checksum/SHA256/64
884s ok 807 /checksum/SHA256/65
884s ok 808 /checksum/SHA256/66
884s ok 809 /checksum/SHA256/67
884s ok 810 /checksum/SHA256/68
884s ok 811 /checksum/SHA256/69
884s ok 812 /checksum/SHA256/70
884s ok 813 /checksum/SHA256/71
884s ok 814 /checksum/SHA256/72
884s ok 815 /checksum/SHA256/73
884s ok 816 /checksum/SHA256/74
884s ok 817 /checksum/SHA256/75
884s ok 818 /checksum/SHA256/76
884s ok 819 /checksum/SHA256/77
884s ok 820 /checksum/SHA256/78
884s ok 821 /checksum/SHA256/79
884s ok 822 /checksum/SHA256/80
884s ok 823 /checksum/SHA256/81
884s ok 824 /checksum/SHA256/82
884s ok 825 /checksum/SHA256/83
884s ok 826 /checksum/SHA256/84
884s ok 827 /checksum/SHA256/85
884s ok 828 /checksum/SHA256/86
884s ok 829 /checksum/SHA256/87
884s ok 830 /checksum/SHA256/88
884s ok 831 /checksum/SHA256/89
884s ok 832 /checksum/SHA256/90
884s ok 833 /checksum/SHA256/91
884s ok 834 /checksum/SHA256/92
884s ok 835 /checksum/SHA256/93
884s ok 836 /checksum/SHA256/94
884s ok 837 /checksum/SHA256/95
884s ok 838 /checksum/SHA256/96
884s ok 839 /checksum/SHA256/97
884s ok 840 /checksum/SHA256/98
884s ok 841 /checksum/SHA256/99
884s ok 842 /checksum/SHA256/100
884s ok 843 /checksum/SHA256/101
884s ok 844 /checksum/SHA256/102
884s ok 845 /checksum/SHA256/103
884s ok 846 /checksum/SHA256/104
884s ok 847 /checksum/SHA256/105
884s ok 848 /checksum/SHA256/106
884s ok 849 /checksum/SHA256/107
884s ok 850 /checksum/SHA256/108
884s ok 851 /checksum/SHA256/109
884s ok 852 /checksum/SHA256/110
884s ok 853 /checksum/SHA256/111
884s ok 854 /checksum/SHA256/112
884s ok 855 /checksum/SHA256/113
884s ok 856 /checksum/SHA256/114
884s ok 857 /checksum/SHA256/115
884s ok 858 /checksum/SHA256/116
884s ok 859 /checksum/SHA256/117
884s ok 860 /checksum/SHA256/118
884s ok 861 /checksum/SHA256/119
884s ok 862 /checksum/SHA256/120
884s ok 863 /checksum/SHA256/121
884s ok 864 /checksum/SHA256/122
884s ok 865 /checksum/SHA256/123
884s ok 866 /checksum/SHA256/124
884s ok 867 /checksum/SHA256/125
884s ok 868 /checksum/SHA256/126
884s ok 869 /checksum/SHA256/127
884s ok 870 /checksum/SHA256/128
884s ok 871 /checksum/SHA256/129
884s ok 872 /checksum/SHA256/130
884s ok 873 /checksum/SHA256/131
884s ok 874 /checksum/SHA256/132
884s ok 875 /checksum/SHA256/133
884s ok 876 /checksum/SHA256/134
884s ok 877 /checksum/SHA256/135
884s ok 878 /checksum/SHA256/136
884s ok 879 /checksum/SHA256/137
884s ok 880 /checksum/SHA256/138
884s ok 881 /checksum/SHA256/139
884s ok 882 /checksum/SHA256/140
884s ok 883 /checksum/SHA256/141
884s ok 884 /checksum/SHA256/142
884s ok 885 /checksum/SHA256/143
884s ok 886 /checksum/SHA256/144
884s ok 887 /checksum/SHA256/145
884s ok 888 /checksum/SHA256/146
884s ok 889 /checksum/SHA256/147
884s ok 890 /checksum/SHA256/148
884s ok 891 /checksum/SHA256/149
884s ok 892 /checksum/SHA256/150
884s ok 893 /checksum/SHA256/151
884s ok 894 /checksum/SHA256/152
884s ok 895 /checksum/SHA256/153
884s ok 896 /checksum/SHA256/154
884s ok 897 /checksum/SHA256/155
884s ok 898 /checksum/SHA256/156
884s ok 899 /checksum/SHA256/157
884s ok 900 /checksum/SHA256/158
884s ok 901 /checksum/SHA256/159
884s ok 902 /checksum/SHA256/160
884s ok 903 /checksum/SHA256/161
884s ok 904 /checksum/SHA256/162
884s ok 905 /checksum/SHA256/163
884s ok 906 /checksum/SHA256/164
884s ok 907 /checksum/SHA256/165
884s ok 908 /checksum/SHA256/166
884s ok 909 /checksum/SHA256/167
884s ok 910 /checksum/SHA256/168
884s ok 911 /checksum/SHA256/169
884s ok 912 /checksum/SHA256/170
884s ok 913 /checksum/SHA256/171
884s ok 914 /checksum/SHA256/172
884s ok 915 /checksum/SHA256/173
884s ok 916 /checksum/SHA256/174
884s ok 917 /checksum/SHA256/175
884s ok 918 /checksum/SHA256/176
884s ok 919 /checksum/SHA256/177
884s ok 920 /checksum/SHA256/178
884s ok 921 /checksum/SHA256/179
884s ok 922 /checksum/SHA256/180
884s ok 923 /checksum/SHA256/181
884s ok 924 /checksum/SHA256/182
884s ok 925 /checksum/SHA256/183
884s ok 926 /checksum/SHA256/string
884s ok 927 /checksum/SHA256/bytes
884s # Start of reset tests
884s ok 928 /checksum/SHA256/reset/0
884s ok 929 /checksum/SHA256/reset/1
884s ok 930 /checksum/SHA256/reset/2
884s ok 931 /checksum/SHA256/reset/3
884s ok 932 /checksum/SHA256/reset/4
884s ok 933 /checksum/SHA256/reset/5
884s ok 934 /checksum/SHA256/reset/6
884s ok 935 /checksum/SHA256/reset/7
884s ok 936 /checksum/SHA256/reset/8
884s ok 937 /checksum/SHA256/reset/9
884s ok 938 /checksum/SHA256/reset/10
884s ok 939 /checksum/SHA256/reset/11
884s ok 940 /checksum/SHA256/reset/12
884s ok 941 /checksum/SHA256/reset/13
884s ok 942 /checksum/SHA256/reset/14
884s ok 943 /checksum/SHA256/reset/15
884s ok 944 /checksum/SHA256/reset/16
884s ok 945 /checksum/SHA256/reset/17
884s ok 946 /checksum/SHA256/reset/18
884s ok 947 /checksum/SHA256/reset/19
884s ok 948 /checksum/SHA256/reset/20
884s ok 949 /checksum/SHA256/reset/21
884s ok 950 /checksum/SHA256/reset/22
884s ok 951 /checksum/SHA256/reset/23
884s ok 952 /checksum/SHA256/reset/24
884s ok 953 /checksum/SHA256/reset/25
884s ok 954 /checksum/SHA256/reset/26
884s ok 955 /checksum/SHA256/reset/27
884s ok 956 /checksum/SHA256/reset/28
884s ok 957 /checksum/SHA256/reset/29
884s ok 958 /checksum/SHA256/reset/30
884s ok 959 /checksum/SHA256/reset/31
884s ok 960 /checksum/SHA256/reset/32
884s ok 961 /checksum/SHA256/reset/33
884s ok 962 /checksum/SHA256/reset/34
884s ok 963 /checksum/SHA256/reset/35
884s ok 964 /checksum/SHA256/reset/36
884s ok 965 /checksum/SHA256/reset/37
884s ok 966 /checksum/SHA256/reset/38
884s ok 967 /checksum/SHA256/reset/39
884s ok 968 /checksum/SHA256/reset/40
884s ok 969 /checksum/SHA256/reset/41
884s ok 970 /checksum/SHA256/reset/42
884s ok 971 /checksum/SHA256/reset/43
884s ok 972 /checksum/SHA256/reset/44
884s ok 973 /checksum/SHA256/reset/45
884s ok 974 /checksum/SHA256/reset/46
884s ok 975 /checksum/SHA256/reset/47
884s ok 976 /checksum/SHA256/reset/48
884s ok 977 /checksum/SHA256/reset/49
884s ok 978 /checksum/SHA256/reset/50
884s ok 979 /checksum/SHA256/reset/51
884s ok 980 /checksum/SHA256/reset/52
884s ok 981 /checksum/SHA256/reset/53
884s ok 982 /checksum/SHA256/reset/54
884s ok 983 /checksum/SHA256/reset/55
884s ok 984 /checksum/SHA256/reset/56
884s ok 985 /checksum/SHA256/reset/57
884s ok 986 /checksum/SHA256/reset/58
884s ok 987 /checksum/SHA256/reset/59
884s ok 988 /checksum/SHA256/reset/60
884s ok 989 /checksum/SHA256/reset/61
884s ok 990 /checksum/SHA256/reset/62
884s ok 991 /checksum/SHA256/reset/63
884s ok 992 /checksum/SHA256/reset/64
884s ok 993 /checksum/SHA256/reset/65
884s ok 994 /checksum/SHA256/reset/66
884s ok 995 /checksum/SHA256/reset/67
884s ok 996 /checksum/SHA256/reset/68
884s ok 997 /checksum/SHA256/reset/69
884s ok 998 /checksum/SHA256/reset/70
884s ok 999 /checksum/SHA256/reset/71
884s ok 1000 /checksum/SHA256/reset/72
884s ok 1001 /checksum/SHA256/reset/73
884s ok 1002 /checksum/SHA256/reset/74
884s ok 1003 /checksum/SHA256/reset/75
884s ok 1004 /checksum/SHA256/reset/76
884s ok 1005 /checksum/SHA256/reset/77
884s ok 1006 /checksum/SHA256/reset/78
884s ok 1007 /checksum/SHA256/reset/79
884s ok 1008 /checksum/SHA256/reset/80
884s ok 1009 /checksum/SHA256/reset/81
884s ok 1010 /checksum/SHA256/reset/82
884s ok 1011 /checksum/SHA256/reset/83
884s ok 1012 /checksum/SHA256/reset/84
884s ok 1013 /checksum/SHA256/reset/85
884s ok 1014 /checksum/SHA256/reset/86
884s ok 1015 /checksum/SHA256/reset/87
884s ok 1016 /checksum/SHA256/reset/88
884s ok 1017 /checksum/SHA256/reset/89
884s ok 1018 /checksum/SHA256/reset/90
884s ok 1019 /checksum/SHA256/reset/91
884s ok 1020 /checksum/SHA256/reset/92
884s ok 1021 /checksum/SHA256/reset/93
884s ok 1022 /checksum/SHA256/reset/94
884s ok 1023 /checksum/SHA256/reset/95
884s ok 1024 /checksum/SHA256/reset/96
884s ok 1025 /checksum/SHA256/reset/97
884s ok 1026 /checksum/SHA256/reset/98
884s ok 1027 /checksum/SHA256/reset/99
884s ok 1028 /checksum/SHA256/reset/100
884s ok 1029 /checksum/SHA256/reset/101
884s ok 1030 /checksum/SHA256/reset/102
884s ok 1031 /checksum/SHA256/reset/103
884s ok 1032 /checksum/SHA256/reset/104
884s ok 1033 /checksum/SHA256/reset/105
884s ok 1034 /checksum/SHA256/reset/106
884s ok 1035 /checksum/SHA256/reset/107
884s ok 1036 /checksum/SHA256/reset/108
884s ok 1037 /checksum/SHA256/reset/109
884s ok 1038 /checksum/SHA256/reset/110
884s ok 1039 /checksum/SHA256/reset/111
884s ok 1040 /checksum/SHA256/reset/112
884s ok 1041 /checksum/SHA256/reset/113
884s ok 1042 /checksum/SHA256/reset/114
884s ok 1043 /checksum/SHA256/reset/115
884s ok 1044 /checksum/SHA256/reset/116
884s ok 1045 /checksum/SHA256/reset/117
884s ok 1046 /checksum/SHA256/reset/118
884s ok 1047 /checksum/SHA256/reset/119
884s ok 1048 /checksum/SHA256/reset/120
884s ok 1049 /checksum/SHA256/reset/121
884s ok 1050 /checksum/SHA256/reset/122
884s ok 1051 /checksum/SHA256/reset/123
884s ok 1052 /checksum/SHA256/reset/124
884s ok 1053 /checksum/SHA256/reset/125
884s ok 1054 /checksum/SHA256/reset/126
884s ok 1055 /checksum/SHA256/reset/127
884s ok 1056 /checksum/SHA256/reset/128
884s ok 1057 /checksum/SHA256/reset/129
884s ok 1058 /checksum/SHA256/reset/130
884s ok 1059 /checksum/SHA256/reset/131
884s ok 1060 /checksum/SHA256/reset/132
884s ok 1061 /checksum/SHA256/reset/133
884s ok 1062 /checksum/SHA256/reset/134
884s ok 1063 /checksum/SHA256/reset/135
884s ok 1064 /checksum/SHA256/reset/136
884s ok 1065 /checksum/SHA256/reset/137
884s ok 1066 /checksum/SHA256/reset/138
884s ok 1067 /checksum/SHA256/reset/139
884s ok 1068 /checksum/SHA256/reset/140
884s ok 1069 /checksum/SHA256/reset/141
884s ok 1070 /checksum/SHA256/reset/142
884s ok 1071 /checksum/SHA256/reset/143
884s ok 1072 /checksum/SHA256/reset/144
884s ok 1073 /checksum/SHA256/reset/145
884s ok 1074 /checksum/SHA256/reset/146
884s ok 1075 /checksum/SHA256/reset/147
884s ok 1076 /checksum/SHA256/reset/148
884s ok 1077 /checksum/SHA256/reset/149
884s ok 1078 /checksum/SHA256/reset/150
884s ok 1079 /checksum/SHA256/reset/151
884s ok 1080 /checksum/SHA256/reset/152
884s ok 1081 /checksum/SHA256/reset/153
884s ok 1082 /checksum/SHA256/reset/154
884s ok 1083 /checksum/SHA256/reset/155
884s ok 1084 /checksum/SHA256/reset/156
884s ok 1085 /checksum/SHA256/reset/157
884s ok 1086 /checksum/SHA256/reset/158
884s ok 1087 /checksum/SHA256/reset/159
884s ok 1088 /checksum/SHA256/reset/160
884s ok 1089 /checksum/SHA256/reset/161
884s ok 1090 /checksum/SHA256/reset/162
884s ok 1091 /checksum/SHA256/reset/163
884s ok 1092 /checksum/SHA256/reset/164
884s ok 1093 /checksum/SHA256/reset/165
884s ok 1094 /checksum/SHA256/reset/166
884s ok 1095 /checksum/SHA256/reset/167
884s ok 1096 /checksum/SHA256/reset/168
884s ok 1097 /checksum/SHA256/reset/169
884s ok 1098 /checksum/SHA256/reset/170
884s ok 1099 /checksum/SHA256/reset/171
884s ok 1100 /checksum/SHA256/reset/172
884s ok 1101 /checksum/SHA256/reset/173
884s ok 1102 /checksum/SHA256/reset/174
884s ok 1103 /checksum/SHA256/reset/175
884s ok 1104 /checksum/SHA256/reset/176
884s ok 1105 /checksum/SHA256/reset/177
884s ok 1106 /checksum/SHA256/reset/178
884s ok 1107 /checksum/SHA256/reset/179
884s ok 1108 /checksum/SHA256/reset/180
884s ok 1109 /checksum/SHA256/reset/181
884s ok 1110 /checksum/SHA256/reset/182
884s ok 1111 /checksum/SHA256/reset/183
884s # End of reset tests
884s # End of SHA256 tests
884s # Start of SHA384 tests
884s ok 1112 /checksum/SHA384/0
884s ok 1113 /checksum/SHA384/1
884s ok 1114 /checksum/SHA384/2
884s ok 1115 /checksum/SHA384/3
884s ok 1116 /checksum/SHA384/4
884s ok 1117 /checksum/SHA384/5
884s ok 1118 /checksum/SHA384/6
884s ok 1119 /checksum/SHA384/7
884s ok 1120 /checksum/SHA384/8
884s ok 1121 /checksum/SHA384/9
884s ok 1122 /checksum/SHA384/10
884s ok 1123 /checksum/SHA384/11
884s ok 1124 /checksum/SHA384/12
884s ok 1125 /checksum/SHA384/13
884s ok 1126 /checksum/SHA384/14
884s ok 1127 /checksum/SHA384/15
884s ok 1128 /checksum/SHA384/16
884s ok 1129 /checksum/SHA384/17
884s ok 1130 /checksum/SHA384/18
884s ok 1131 /checksum/SHA384/19
884s ok 1132 /checksum/SHA384/20
884s ok 1133 /checksum/SHA384/21
884s ok 1134 /checksum/SHA384/22
884s ok 1135 /checksum/SHA384/23
884s ok 1136 /checksum/SHA384/24
884s ok 1137 /checksum/SHA384/25
884s ok 1138 /checksum/SHA384/26
884s ok 1139 /checksum/SHA384/27
884s ok 1140 /checksum/SHA384/28
884s ok 1141 /checksum/SHA384/29
884s ok 1142 /checksum/SHA384/30
884s ok 1143 /checksum/SHA384/31
884s ok 1144 /checksum/SHA384/32
884s ok 1145 /checksum/SHA384/33
884s ok 1146 /checksum/SHA384/34
884s ok 1147 /checksum/SHA384/35
884s ok 1148 /checksum/SHA384/36
884s ok 1149 /checksum/SHA384/37
884s ok 1150 /checksum/SHA384/38
884s ok 1151 /checksum/SHA384/39
884s ok 1152 /checksum/SHA384/40
884s ok 1153 /checksum/SHA384/41
884s ok 1154 /checksum/SHA384/42
884s ok 1155 /checksum/SHA384/43
884s ok 1156 /checksum/SHA384/44
884s ok 1157 /checksum/SHA384/45
884s ok 1158 /checksum/SHA384/46
884s ok 1159 /checksum/SHA384/47
884s ok 1160 /checksum/SHA384/48
884s ok 1161 /checksum/SHA384/49
884s ok 1162 /checksum/SHA384/50
884s ok 1163 /checksum/SHA384/51
884s ok 1164 /checksum/SHA384/52
884s ok 1165 /checksum/SHA384/53
884s ok 1166 /checksum/SHA384/54
884s ok 1167 /checksum/SHA384/55
884s ok 1168 /checksum/SHA384/56
884s ok 1169 /checksum/SHA384/57
884s ok 1170 /checksum/SHA384/58
884s ok 1171 /checksum/SHA384/59
884s ok 1172 /checksum/SHA384/60
884s ok 1173 /checksum/SHA384/61
884s ok 1174 /checksum/SHA384/62
884s ok 1175 /checksum/SHA384/63
884s ok 1176 /checksum/SHA384/64
884s ok 1177 /checksum/SHA384/65
884s ok 1178 /checksum/SHA384/66
884s ok 1179 /checksum/SHA384/67
884s ok 1180 /checksum/SHA384/68
884s ok 1181 /checksum/SHA384/69
884s ok 1182 /checksum/SHA384/70
884s ok 1183 /checksum/SHA384/71
884s ok 1184 /checksum/SHA384/72
884s ok 1185 /checksum/SHA384/73
884s ok 1186 /checksum/SHA384/74
884s ok 1187 /checksum/SHA384/75
884s ok 1188 /checksum/SHA384/76
884s ok 1189 /checksum/SHA384/77
884s ok 1190 /checksum/SHA384/78
884s ok 1191 /checksum/SHA384/79
884s ok 1192 /checksum/SHA384/80
884s ok 1193 /checksum/SHA384/81
884s ok 1194 /checksum/SHA384/82
884s ok 1195 /checksum/SHA384/83
884s ok 1196 /checksum/SHA384/84
884s ok 1197 /checksum/SHA384/85
884s ok 1198 /checksum/SHA384/86
884s ok 1199 /checksum/SHA384/87
884s ok 1200 /checksum/SHA384/88
884s ok 1201 /checksum/SHA384/89
884s ok 1202 /checksum/SHA384/90
884s ok 1203 /checksum/SHA384/91
884s ok 1204 /checksum/SHA384/92
884s ok 1205 /checksum/SHA384/93
884s ok 1206 /checksum/SHA384/94
884s ok 1207 /checksum/SHA384/95
884s ok 1208 /checksum/SHA384/96
884s ok 1209 /checksum/SHA384/97
884s ok 1210 /checksum/SHA384/98
884s ok 1211 /checksum/SHA384/99
884s ok 1212 /checksum/SHA384/100
884s ok 1213 /checksum/SHA384/101
884s ok 1214 /checksum/SHA384/102
884s ok 1215 /checksum/SHA384/103
884s ok 1216 /checksum/SHA384/104
884s ok 1217 /checksum/SHA384/105
884s ok 1218 /checksum/SHA384/106
884s ok 1219 /checksum/SHA384/107
884s ok 1220 /checksum/SHA384/108
884s ok 1221 /checksum/SHA384/109
884s ok 1222 /checksum/SHA384/110
884s ok 1223 /checksum/SHA384/111
884s ok 1224 /checksum/SHA384/112
884s ok 1225 /checksum/SHA384/113
884s ok 1226 /checksum/SHA384/114
884s ok 1227 /checksum/SHA384/115
884s ok 1228 /checksum/SHA384/116
884s ok 1229 /checksum/SHA384/117
884s ok 1230 /checksum/SHA384/118
884s ok 1231 /checksum/SHA384/119
884s ok 1232 /checksum/SHA384/120
884s ok 1233 /checksum/SHA384/121
884s ok 1234 /checksum/SHA384/122
884s ok 1235 /checksum/SHA384/123
884s ok 1236 /checksum/SHA384/124
884s ok 1237 /checksum/SHA384/125
884s ok 1238 /checksum/SHA384/126
884s ok 1239 /checksum/SHA384/127
884s ok 1240 /checksum/SHA384/128
884s ok 1241 /checksum/SHA384/129
884s ok 1242 /checksum/SHA384/130
884s ok 1243 /checksum/SHA384/131
884s ok 1244 /checksum/SHA384/132
884s ok 1245 /checksum/SHA384/133
884s ok 1246 /checksum/SHA384/134
884s ok 1247 /checksum/SHA384/135
884s ok 1248 /checksum/SHA384/136
884s ok 1249 /checksum/SHA384/137
884s ok 1250 /checksum/SHA384/138
884s ok 1251 /checksum/SHA384/139
884s ok 1252 /checksum/SHA384/140
884s ok 1253 /checksum/SHA384/141
884s ok 1254 /checksum/SHA384/142
884s ok 1255 /checksum/SHA384/143
884s ok 1256 /checksum/SHA384/144
884s ok 1257 /checksum/SHA384/145
884s ok 1258 /checksum/SHA384/146
884s ok 1259 /checksum/SHA384/147
884s ok 1260 /checksum/SHA384/148
884s ok 1261 /checksum/SHA384/149
884s ok 1262 /checksum/SHA384/150
884s ok 1263 /checksum/SHA384/151
884s ok 1264 /checksum/SHA384/152
884s ok 1265 /checksum/SHA384/153
884s ok 1266 /checksum/SHA384/154
884s ok 1267 /checksum/SHA384/155
884s ok 1268 /checksum/SHA384/156
884s ok 1269 /checksum/SHA384/157
884s ok 1270 /checksum/SHA384/158
884s ok 1271 /checksum/SHA384/159
884s ok 1272 /checksum/SHA384/160
884s ok 1273 /checksum/SHA384/161
884s ok 1274 /checksum/SHA384/162
884s ok 1275 /checksum/SHA384/163
884s ok 1276 /checksum/SHA384/164
884s ok 1277 /checksum/SHA384/165
884s ok 1278 /checksum/SHA384/166
884s ok 1279 /checksum/SHA384/167
884s ok 1280 /checksum/SHA384/168
884s ok 1281 /checksum/SHA384/169
884s ok 1282 /checksum/SHA384/170
884s ok 1283 /checksum/SHA384/171
884s ok 1284 /checksum/SHA384/172
884s ok 1285 /checksum/SHA384/173
884s ok 1286 /checksum/SHA384/174
884s ok 1287 /checksum/SHA384/175
884s ok 1288 /checksum/SHA384/176
884s ok 1289 /checksum/SHA384/177
884s ok 1290 /checksum/SHA384/178
884s ok 1291 /checksum/SHA384/179
884s ok 1292 /checksum/SHA384/180
884s ok 1293 /checksum/SHA384/181
884s ok 1294 /checksum/SHA384/182
884s ok 1295 /checksum/SHA384/183
884s ok 1296 /checksum/SHA384/string
884s ok 1297 /checksum/SHA384/bytes
884s # Start of reset tests
884s ok 1298 /checksum/SHA384/reset/0
884s ok 1299 /checksum/SHA384/reset/1
884s ok 1300 /checksum/SHA384/reset/2
884s ok 1301 /checksum/SHA384/reset/3
884s ok 1302 /checksum/SHA384/reset/4
884s ok 1303 /checksum/SHA384/reset/5
884s ok 1304 /checksum/SHA384/reset/6
884s ok 1305 /checksum/SHA384/reset/7
884s ok 1306 /checksum/SHA384/reset/8
884s ok 1307 /checksum/SHA384/reset/9
884s ok 1308 /checksum/SHA384/reset/10
884s ok 1309 /checksum/SHA384/reset/11
884s ok 1310 /checksum/SHA384/reset/12
884s ok 1311 /checksum/SHA384/reset/13
884s ok 1312 /checksum/SHA384/reset/14
884s ok 1313 /checksum/SHA384/reset/15
884s ok 1314 /checksum/SHA384/reset/16
884s ok 1315 /checksum/SHA384/reset/17
884s ok 1316 /checksum/SHA384/reset/18
884s ok 1317 /checksum/SHA384/reset/19
884s ok 1318 /checksum/SHA384/reset/20
884s ok 1319 /checksum/SHA384/reset/21
884s ok 1320 /checksum/SHA384/reset/22
884s ok 1321 /checksum/SHA384/reset/23
884s ok 1322 /checksum/SHA384/reset/24
884s ok 1323 /checksum/SHA384/reset/25
884s ok 1324 /checksum/SHA384/reset/26
884s ok 1325 /checksum/SHA384/reset/27
884s ok 1326 /checksum/SHA384/reset/28
884s ok 1327 /checksum/SHA384/reset/29
884s ok 1328 /checksum/SHA384/reset/30
884s ok 1329 /checksum/SHA384/reset/31
884s ok 1330 /checksum/SHA384/reset/32
884s ok 1331 /checksum/SHA384/reset/33
884s ok 1332 /checksum/SHA384/reset/34
884s ok 1333 /checksum/SHA384/reset/35
884s ok 1334 /checksum/SHA384/reset/36
884s ok 1335 /checksum/SHA384/reset/37
884s ok 1336 /checksum/SHA384/reset/38
884s ok 1337 /checksum/SHA384/reset/39
884s ok 1338 /checksum/SHA384/reset/40
884s ok 1339 /checksum/SHA384/reset/41
884s ok 1340 /checksum/SHA384/reset/42
884s ok 1341 /checksum/SHA384/reset/43
884s ok 1342 /checksum/SHA384/reset/44
884s ok 1343 /checksum/SHA384/reset/45
884s ok 1344 /checksum/SHA384/reset/46
884s ok 1345 /checksum/SHA384/reset/47
884s ok 1346 /checksum/SHA384/reset/48
884s ok 1347 /checksum/SHA384/reset/49
884s ok 1348 /checksum/SHA384/reset/50
884s ok 1349 /checksum/SHA384/reset/51
884s ok 1350 /checksum/SHA384/reset/52
884s ok 1351 /checksum/SHA384/reset/53
884s ok 1352 /checksum/SHA384/reset/54
884s ok 1353 /checksum/SHA384/reset/55
884s ok 1354 /checksum/SHA384/reset/56
884s ok 1355 /checksum/SHA384/reset/57
884s ok 1356 /checksum/SHA384/reset/58
884s ok 1357 /checksum/SHA384/reset/59
884s ok 1358 /checksum/SHA384/reset/60
884s ok 1359 /checksum/SHA384/reset/61
884s ok 1360 /checksum/SHA384/reset/62
884s ok 1361 /checksum/SHA384/reset/63
884s ok 1362 /checksum/SHA384/reset/64
884s ok 1363 /checksum/SHA384/reset/65
884s ok 1364 /checksum/SHA384/reset/66
884s ok 1365 /checksum/SHA384/reset/67
884s ok 1366 /checksum/SHA384/reset/68
884s ok 1367 /checksum/SHA384/reset/69
884s ok 1368 /checksum/SHA384/reset/70
884s ok 1369 /checksum/SHA384/reset/71
884s ok 1370 /checksum/SHA384/reset/72
884s ok 1371 /checksum/SHA384/reset/73
884s ok 1372 /checksum/SHA384/reset/74
884s ok 1373 /checksum/SHA384/reset/75
884s ok 1374 /checksum/SHA384/reset/76
884s ok 1375 /checksum/SHA384/reset/77
884s ok 1376 /checksum/SHA384/reset/78
884s ok 1377 /checksum/SHA384/reset/79
884s ok 1378 /checksum/SHA384/reset/80
884s ok 1379 /checksum/SHA384/reset/81
884s ok 1380 /checksum/SHA384/reset/82
884s ok 1381 /checksum/SHA384/reset/83
884s ok 1382 /checksum/SHA384/reset/84
884s ok 1383 /checksum/SHA384/reset/85
884s ok 1384 /checksum/SHA384/reset/86
884s ok 1385 /checksum/SHA384/reset/87
884s ok 1386 /checksum/SHA384/reset/88
884s ok 1387 /checksum/SHA384/reset/89
884s ok 1388 /checksum/SHA384/reset/90
884s ok 1389 /checksum/SHA384/reset/91
884s ok 1390 /checksum/SHA384/reset/92
884s ok 1391 /checksum/SHA384/reset/93
884s ok 1392 /checksum/SHA384/reset/94
884s ok 1393 /checksum/SHA384/reset/95
884s ok 1394 /checksum/SHA384/reset/96
884s ok 1395 /checksum/SHA384/reset/97
884s ok 1396 /checksum/SHA384/reset/98
884s ok 1397 /checksum/SHA384/reset/99
884s ok 1398 /checksum/SHA384/reset/100
884s ok 1399 /checksum/SHA384/reset/101
884s ok 1400 /checksum/SHA384/reset/102
884s ok 1401 /checksum/SHA384/reset/103
884s ok 1402 /checksum/SHA384/reset/104
884s ok 1403 /checksum/SHA384/reset/105
884s ok 1404 /checksum/SHA384/reset/106
884s ok 1405 /checksum/SHA384/reset/107
884s ok 1406 /checksum/SHA384/reset/108
884s ok 1407 /checksum/SHA384/reset/109
884s ok 1408 /checksum/SHA384/reset/110
884s ok 1409 /checksum/SHA384/reset/111
884s ok 1410 /checksum/SHA384/reset/112
884s ok 1411 /checksum/SHA384/reset/113
884s ok 1412 /checksum/SHA384/reset/114
884s ok 1413 /checksum/SHA384/reset/115
884s ok 1414 /checksum/SHA384/reset/116
884s ok 1415 /checksum/SHA384/reset/117
884s ok 1416 /checksum/SHA384/reset/118
884s ok 1417 /checksum/SHA384/reset/119
884s ok 1418 /checksum/SHA384/reset/120
884s ok 1419 /checksum/SHA384/reset/121
884s ok 1420 /checksum/SHA384/reset/122
884s ok 1421 /checksum/SHA384/reset/123
884s ok 1422 /checksum/SHA384/reset/124
884s ok 1423 /checksum/SHA384/reset/125
884s ok 1424 /checksum/SHA384/reset/126
884s ok 1425 /checksum/SHA384/reset/127
884s ok 1426 /checksum/SHA384/reset/128
884s ok 1427 /checksum/SHA384/reset/129
884s ok 1428 /checksum/SHA384/reset/130
884s ok 1429 /checksum/SHA384/reset/131
884s ok 1430 /checksum/SHA384/reset/132
884s ok 1431 /checksum/SHA384/reset/133
884s ok 1432 /checksum/SHA384/reset/134
884s ok 1433 /checksum/SHA384/reset/135
884s ok 1434 /checksum/SHA384/reset/136
884s ok 1435 /checksum/SHA384/reset/137
884s ok 1436 /checksum/SHA384/reset/138
884s ok 1437 /checksum/SHA384/reset/139
884s ok 1438 /checksum/SHA384/reset/140
884s ok 1439 /checksum/SHA384/reset/141
884s ok 1440 /checksum/SHA384/reset/142
884s ok 1441 /checksum/SHA384/reset/143
884s ok 1442 /checksum/SHA384/reset/144
884s ok 1443 /checksum/SHA384/reset/145
884s ok 1444 /checksum/SHA384/reset/146
884s ok 1445 /checksum/SHA384/reset/147
884s ok 1446 /checksum/SHA384/reset/148
884s ok 1447 /checksum/SHA384/reset/149
884s ok 1448 /checksum/SHA384/reset/150
884s ok 1449 /checksum/SHA384/reset/151
884s ok 1450 /checksum/SHA384/reset/152
884s ok 1451 /checksum/SHA384/reset/153
884s ok 1452 /checksum/SHA384/reset/154
884s ok 1453 /checksum/SHA384/reset/155
884s ok 1454 /checksum/SHA384/reset/156
884s ok 1455 /checksum/SHA384/reset/157
884s ok 1456 /checksum/SHA384/reset/158
884s ok 1457 /checksum/SHA384/reset/159
884s ok 1458 /checksum/SHA384/reset/160
884s ok 1459 /checksum/SHA384/reset/161
884s ok 1460 /checksum/SHA384/reset/162
884s ok 1461 /checksum/SHA384/reset/163
884s ok 1462 /checksum/SHA384/reset/164
884s ok 1463 /checksum/SHA384/reset/165
884s ok 1464 /checksum/SHA384/reset/166
884s ok 1465 /checksum/SHA384/reset/167
884s ok 1466 /checksum/SHA384/reset/168
884s ok 1467 /checksum/SHA384/reset/169
884s ok 1468 /checksum/SHA384/reset/170
884s ok 1469 /checksum/SHA384/reset/171
884s ok 1470 /checksum/SHA384/reset/172
884s ok 1471 /checksum/SHA384/reset/173
884s ok 1472 /checksum/SHA384/reset/174
884s ok 1473 /checksum/SHA384/reset/175
884s ok 1474 /checksum/SHA384/reset/176
884s ok 1475 /checksum/SHA384/reset/177
884s ok 1476 /checksum/SHA384/reset/178
884s ok 1477 /checksum/SHA384/reset/179
884s ok 1478 /checksum/SHA384/reset/180
884s ok 1479 /checksum/SHA384/reset/181
884s ok 1480 /checksum/SHA384/reset/182
884s ok 1481 /checksum/SHA384/reset/183
884s # End of reset tests
884s # End of SHA384 tests
884s # Start of SHA512 tests
884s ok 1482 /checksum/SHA512/0
884s ok 1483 /checksum/SHA512/1
884s ok 1484 /checksum/SHA512/2
884s ok 1485 /checksum/SHA512/3
884s ok 1486 /checksum/SHA512/4
884s ok 1487 /checksum/SHA512/5
884s ok 1488 /checksum/SHA512/6
884s ok 1489 /checksum/SHA512/7
884s ok 1490 /checksum/SHA512/8
884s ok 1491 /checksum/SHA512/9
884s ok 1492 /checksum/SHA512/10
884s ok 1493 /checksum/SHA512/11
884s ok 1494 /checksum/SHA512/12
884s ok 1495 /checksum/SHA512/13
884s ok 1496 /checksum/SHA512/14
884s ok 1497 /checksum/SHA512/15
884s ok 1498 /checksum/SHA512/16
884s ok 1499 /checksum/SHA512/17
884s ok 1500 /checksum/SHA512/18
884s ok 1501 /checksum/SHA512/19
884s ok 1502 /checksum/SHA512/20
884s ok 1503 /checksum/SHA512/21
884s ok 1504 /checksum/SHA512/22
884s ok 1505 /checksum/SHA512/23
884s ok 1506 /checksum/SHA512/24
884s ok 1507 /checksum/SHA512/25
884s ok 1508 /checksum/SHA512/26
884s ok 1509 /checksum/SHA512/27
884s ok 1510 /checksum/SHA512/28
884s ok 1511 /checksum/SHA512/29
884s ok 1512 /checksum/SHA512/30
884s ok 1513 /checksum/SHA512/31
884s ok 1514 /checksum/SHA512/32
884s ok 1515 /checksum/SHA512/33
884s ok 1516 /checksum/SHA512/34
884s ok 1517 /checksum/SHA512/35
884s ok 1518 /checksum/SHA512/36
884s ok 1519 /checksum/SHA512/37
884s ok 1520 /checksum/SHA512/38
884s ok 1521 /checksum/SHA512/39
884s ok 1522 /checksum/SHA512/40
884s ok 1523 /checksum/SHA512/41
884s ok 1524 /checksum/SHA512/42
884s ok 1525 /checksum/SHA512/43
884s ok 1526 /checksum/SHA512/44
884s ok 1527 /checksum/SHA512/45
884s ok 1528 /checksum/SHA512/46
884s ok 1529 /checksum/SHA512/47
884s ok 1530 /checksum/SHA512/48
884s ok 1531 /checksum/SHA512/49
884s ok 1532 /checksum/SHA512/50
884s ok 1533 /checksum/SHA512/51
884s ok 1534 /checksum/SHA512/52
884s ok 1535 /checksum/SHA512/53
884s ok 1536 /checksum/SHA512/54
884s ok 1537 /checksum/SHA512/55
884s ok 1538 /checksum/SHA512/56
884s ok 1539 /checksum/SHA512/57
884s ok 1540 /checksum/SHA512/58
884s ok 1541 /checksum/SHA512/59
884s ok 1542 /checksum/SHA512/60
884s ok 1543 /checksum/SHA512/61
884s ok 1544 /checksum/SHA512/62
884s ok 1545 /checksum/SHA512/63
884s ok 1546 /checksum/SHA512/64
884s ok 1547 /checksum/SHA512/65
884s ok 1548 /checksum/SHA512/66
884s ok 1549 /checksum/SHA512/67
884s ok 1550 /checksum/SHA512/68
884s ok 1551 /checksum/SHA512/69
884s ok 1552 /checksum/SHA512/70
884s ok 1553 /checksum/SHA512/71
884s ok 1554 /checksum/SHA512/72
884s ok 1555 /checksum/SHA512/73
884s ok 1556 /checksum/SHA512/74
884s ok 1557 /checksum/SHA512/75
884s ok 1558 /checksum/SHA512/76
884s ok 1559 /checksum/SHA512/77
884s ok 1560 /checksum/SHA512/78
884s ok 1561 /checksum/SHA512/79
884s ok 1562 /checksum/SHA512/80
884s ok 1563 /checksum/SHA512/81
884s ok 1564 /checksum/SHA512/82
884s ok 1565 /checksum/SHA512/83
884s ok 1566 /checksum/SHA512/84
884s ok 1567 /checksum/SHA512/85
884s ok 1568 /checksum/SHA512/86
884s ok 1569 /checksum/SHA512/87
884s ok 1570 /checksum/SHA512/88
884s ok 1571 /checksum/SHA512/89
884s ok 1572 /checksum/SHA512/90
884s ok 1573 /checksum/SHA512/91
884s ok 1574 /checksum/SHA512/92
884s ok 1575 /checksum/SHA512/93
884s ok 1576 /checksum/SHA512/94
884s ok 1577 /checksum/SHA512/95
884s ok 1578 /checksum/SHA512/96
884s ok 1579 /checksum/SHA512/97
884s ok 1580 /checksum/SHA512/98
884s ok 1581 /checksum/SHA512/99
884s ok 1582 /checksum/SHA512/100
884s ok 1583 /checksum/SHA512/101
884s ok 1584 /checksum/SHA512/102
884s ok 1585 /checksum/SHA512/103
884s ok 1586 /checksum/SHA512/104
884s ok 1587 /checksum/SHA512/105
884s ok 1588 /checksum/SHA512/106
884s ok 1589 /checksum/SHA512/107
884s ok 1590 /checksum/SHA512/108
884s ok 1591 /checksum/SHA512/109
884s ok 1592 /checksum/SHA512/110
884s ok 1593 /checksum/SHA512/111
884s ok 1594 /checksum/SHA512/112
884s ok 1595 /checksum/SHA512/113
884s ok 1596 /checksum/SHA512/114
884s ok 1597 /checksum/SHA512/115
884s ok 1598 /checksum/SHA512/116
884s ok 1599 /checksum/SHA512/117
884s ok 1600 /checksum/SHA512/118
884s ok 1601 /checksum/SHA512/119
884s ok 1602 /checksum/SHA512/120
884s ok 1603 /checksum/SHA512/121
884s ok 1604 /checksum/SHA512/122
884s ok 1605 /checksum/SHA512/123
884s ok 1606 /checksum/SHA512/124
884s ok 1607 /checksum/SHA512/125
884s ok 1608 /checksum/SHA512/126
884s ok 1609 /checksum/SHA512/127
884s ok 1610 /checksum/SHA512/128
884s ok 1611 /checksum/SHA512/129
884s ok 1612 /checksum/SHA512/130
884s ok 1613 /checksum/SHA512/131
884s ok 1614 /checksum/SHA512/132
884s ok 1615 /checksum/SHA512/133
884s ok 1616 /checksum/SHA512/134
884s ok 1617 /checksum/SHA512/135
884s ok 1618 /checksum/SHA512/136
884s ok 1619 /checksum/SHA512/137
884s ok 1620 /checksum/SHA512/138
884s ok 1621 /checksum/SHA512/139
884s ok 1622 /checksum/SHA512/140
884s ok 1623 /checksum/SHA512/141
884s ok 1624 /checksum/SHA512/142
884s ok 1625 /checksum/SHA512/143
884s ok 1626 /checksum/SHA512/144
884s ok 1627 /checksum/SHA512/145
884s ok 1628 /checksum/SHA512/146
884s ok 1629 /checksum/SHA512/147
884s ok 1630 /checksum/SHA512/148
884s ok 1631 /checksum/SHA512/149
884s ok 1632 /checksum/SHA512/150
884s ok 1633 /checksum/SHA512/151
884s ok 1634 /checksum/SHA512/152
884s ok 1635 /checksum/SHA512/153
884s ok 1636 /checksum/SHA512/154
884s ok 1637 /checksum/SHA512/155
884s ok 1638 /checksum/SHA512/156
884s ok 1639 /checksum/SHA512/157
884s ok 1640 /checksum/SHA512/158
884s ok 1641 /checksum/SHA512/159
884s ok 1642 /checksum/SHA512/160
884s ok 1643 /checksum/SHA512/161
884s ok 1644 /checksum/SHA512/162
884s ok 1645 /checksum/SHA512/163
884s ok 1646 /checksum/SHA512/164
884s ok 1647 /checksum/SHA512/165
884s ok 1648 /checksum/SHA512/166
884s ok 1649 /checksum/SHA512/167
884s ok 1650 /checksum/SHA512/168
884s ok 1651 /checksum/SHA512/169
884s ok 1652 /checksum/SHA512/170
884s ok 1653 /checksum/SHA512/171
884s ok 1654 /checksum/SHA512/172
884s ok 1655 /checksum/SHA512/173
884s ok 1656 /checksum/SHA512/174
884s ok 1657 /checksum/SHA512/175
884s ok 1658 /checksum/SHA512/176
884s ok 1659 /checksum/SHA512/177
884s ok 1660 /checksum/SHA512/178
884s ok 1661 /checksum/SHA512/179
884s ok 1662 /checksum/SHA512/180
884s ok 1663 /checksum/SHA512/181
884s ok 1664 /checksum/SHA512/182
884s ok 1665 /checksum/SHA512/183
884s ok 1666 /checksum/SHA512/string
884s ok 1667 /checksum/SHA512/bytes
884s # Start of reset tests
884s ok 1668 /checksum/SHA512/reset/0
884s ok 1669 /checksum/SHA512/reset/1
884s ok 1670 /checksum/SHA512/reset/2
884s ok 1671 /checksum/SHA512/reset/3
884s ok 1672 /checksum/SHA512/reset/4
884s ok 1673 /checksum/SHA512/reset/5
884s ok 1674 /checksum/SHA512/reset/6
884s ok 1675 /checksum/SHA512/reset/7
884s ok 1676 /checksum/SHA512/reset/8
884s ok 1677 /checksum/SHA512/reset/9
884s ok 1678 /checksum/SHA512/reset/10
884s ok 1679 /checksum/SHA512/reset/11
884s ok 1680 /checksum/SHA512/reset/12
884s ok 1681 /checksum/SHA512/reset/13
884s ok 1682 /checksum/SHA512/reset/14
884s ok 1683 /checksum/SHA512/reset/15
884s ok 1684 /checksum/SHA512/reset/16
884s ok 1685 /checksum/SHA512/reset/17
884s ok 1686 /checksum/SHA512/reset/18
884s ok 1687 /checksum/SHA512/reset/19
884s ok 1688 /checksum/SHA512/reset/20
884s ok 1689 /checksum/SHA512/reset/21
884s ok 1690 /checksum/SHA512/reset/22
884s ok 1691 /checksum/SHA512/reset/23
884s ok 1692 /checksum/SHA512/reset/24
884s ok 1693 /checksum/SHA512/reset/25
884s ok 1694 /checksum/SHA512/reset/26
884s ok 1695 /checksum/SHA512/reset/27
884s ok 1696 /checksum/SHA512/reset/28
884s ok 1697 /checksum/SHA512/reset/29
884s ok 1698 /checksum/SHA512/reset/30
884s ok 1699 /checksum/SHA512/reset/31
884s ok 1700 /checksum/SHA512/reset/32
884s ok 1701 /checksum/SHA512/reset/33
884s ok 1702 /checksum/SHA512/reset/34
884s ok 1703 /checksum/SHA512/reset/35
884s ok 1704 /checksum/SHA512/reset/36
884s ok 1705 /checksum/SHA512/reset/37
884s ok 1706 /checksum/SHA512/reset/38
884s ok 1707 /checksum/SHA512/reset/39
884s ok 1708 /checksum/SHA512/reset/40
884s ok 1709 /checksum/SHA512/reset/41
884s ok 1710 /checksum/SHA512/reset/42
884s ok 1711 /checksum/SHA512/reset/43
884s ok 1712 /checksum/SHA512/reset/44
884s ok 1713 /checksum/SHA512/reset/45
884s ok 1714 /checksum/SHA512/reset/46
884s ok 1715 /checksum/SHA512/reset/47
884s ok 1716 /checksum/SHA512/reset/48
884s ok 1717 /checksum/SHA512/reset/49
884s ok 1718 /checksum/SHA512/reset/50
884s ok 1719 /checksum/SHA512/reset/51
884s ok 1720 /checksum/SHA512/reset/52
884s ok 1721 /checksum/SHA512/reset/53
884s ok 1722 /checksum/SHA512/reset/54
884s ok 1723 /checksum/SHA512/reset/55
884s ok 1724 /checksum/SHA512/reset/56
884s ok 1725 /checksum/SHA512/reset/57
884s ok 1726 /checksum/SHA512/reset/58
884s ok 1727 /checksum/SHA512/reset/59
884s ok 1728 /checksum/SHA512/reset/60
884s ok 1729 /checksum/SHA512/reset/61
884s ok 1730 /checksum/SHA512/reset/62
884s ok 1731 /checksum/SHA512/reset/63
884s ok 1732 /checksum/SHA512/reset/64
884s ok 1733 /checksum/SHA512/reset/65
884s ok 1734 /checksum/SHA512/reset/66
884s ok 1735 /checksum/SHA512/reset/67
884s ok 1736 /checksum/SHA512/reset/68
884s ok 1737 /checksum/SHA512/reset/69
884s ok 1738 /checksum/SHA512/reset/70
884s ok 1739 /checksum/SHA512/reset/71
884s ok 1740 /checksum/SHA512/reset/72
884s ok 1741 /checksum/SHA512/reset/73
884s ok 1742 /checksum/SHA512/reset/74
884s ok 1743 /checksum/SHA512/reset/75
884s ok 1744 /checksum/SHA512/reset/76
884s ok 1745 /checksum/SHA512/reset/77
884s ok 1746 /checksum/SHA512/reset/78
884s ok 1747 /checksum/SHA512/reset/79
884s ok 1748 /checksum/SHA512/reset/80
884s ok 1749 /checksum/SHA512/reset/81
884s ok 1750 /checksum/SHA512/reset/82
884s ok 1751 /checksum/SHA512/reset/83
884s ok 1752 /checksum/SHA512/reset/84
884s ok 1753 /checksum/SHA512/reset/85
884s ok 1754 /checksum/SHA512/reset/86
884s ok 1755 /checksum/SHA512/reset/87
884s ok 1756 /checksum/SHA512/reset/88
884s ok 1757 /checksum/SHA512/reset/89
884s ok 1758 /checksum/SHA512/reset/90
884s ok 1759 /checksum/SHA512/reset/91
884s ok 1760 /checksum/SHA512/reset/92
884s ok 1761 /checksum/SHA512/reset/93
884s ok 1762 /checksum/SHA512/reset/94
884s ok 1763 /checksum/SHA512/reset/95
884s ok 1764 /checksum/SHA512/reset/96
884s ok 1765 /checksum/SHA512/reset/97
884s ok 1766 /checksum/SHA512/reset/98
884s ok 1767 /checksum/SHA512/reset/99
884s ok 1768 /checksum/SHA512/reset/100
884s ok 1769 /checksum/SHA512/reset/101
884s ok 1770 /checksum/SHA512/reset/102
884s ok 1771 /checksum/SHA512/reset/103
884s ok 1772 /checksum/SHA512/reset/104
884s ok 1773 /checksum/SHA512/reset/105
884s ok 1774 /checksum/SHA512/reset/106
884s ok 1775 /checksum/SHA512/reset/107
884s ok 1776 /checksum/SHA512/reset/108
884s ok 1777 /checksum/SHA512/reset/109
884s ok 1778 /checksum/SHA512/reset/110
884s ok 1779 /checksum/SHA512/reset/111
884s ok 1780 /checksum/SHA512/reset/112
884s ok 1781 /checksum/SHA512/reset/113
884s ok 1782 /checksum/SHA512/reset/114
884s ok 1783 /checksum/SHA512/reset/115
884s ok 1784 /checksum/SHA512/reset/116
884s ok 1785 /checksum/SHA512/reset/117
884s ok 1786 /checksum/SHA512/reset/118
884s ok 1787 /checksum/SHA512/reset/119
884s ok 1788 /checksum/SHA512/reset/120
884s ok 1789 /checksum/SHA512/reset/121
884s ok 1790 /checksum/SHA512/reset/122
884s ok 1791 /checksum/SHA512/reset/123
884s ok 1792 /checksum/SHA512/reset/124
884s ok 1793 /checksum/SHA512/reset/125
884s ok 1794 /checksum/SHA512/reset/126
884s ok 1795 /checksum/SHA512/reset/127
884s ok 1796 /checksum/SHA512/reset/128
884s ok 1797 /checksum/SHA512/reset/129
884s ok 1798 /checksum/SHA512/reset/130
884s ok 1799 /checksum/SHA512/reset/131
884s ok 1800 /checksum/SHA512/reset/132
884s ok 1801 /checksum/SHA512/reset/133
884s ok 1802 /checksum/SHA512/reset/134
884s ok 1803 /checksum/SHA512/reset/135
884s ok 1804 /checksum/SHA512/reset/136
884s ok 1805 /checksum/SHA512/reset/137
884s ok 1806 /checksum/SHA512/reset/138
884s ok 1807 /checksum/SHA512/reset/139
884s ok 1808 /checksum/SHA512/reset/140
884s ok 1809 /checksum/SHA512/reset/141
884s ok 1810 /checksum/SHA512/reset/142
884s ok 1811 /checksum/SHA512/reset/143
884s ok 1812 /checksum/SHA512/reset/144
884s ok 1813 /checksum/SHA512/reset/145
884s ok 1814 /checksum/SHA512/reset/146
884s ok 1815 /checksum/SHA512/reset/147
884s ok 1816 /checksum/SHA512/reset/148
884s ok 1817 /checksum/SHA512/reset/149
884s ok 1818 /checksum/SHA512/reset/150
884s ok 1819 /checksum/SHA512/reset/151
884s ok 1820 /checksum/SHA512/reset/152
884s ok 1821 /checksum/SHA512/reset/153
884s ok 1822 /checksum/SHA512/reset/154
884s ok 1823 /checksum/SHA512/reset/155
884s ok 1824 /checksum/SHA512/reset/156
884s ok 1825 /checksum/SHA512/reset/157
884s ok 1826 /checksum/SHA512/reset/158
884s ok 1827 /checksum/SHA512/reset/159
884s ok 1828 /checksum/SHA512/reset/160
884s ok 1829 /checksum/SHA512/reset/161
884s ok 1830 /checksum/SHA512/reset/162
884s ok 1831 /checksum/SHA512/reset/163
884s ok 1832 /checksum/SHA512/reset/164
884s ok 1833 /checksum/SHA512/reset/165
884s ok 1834 /checksum/SHA512/reset/166
884s ok 1835 /checksum/SHA512/reset/167
884s ok 1836 /checksum/SHA512/reset/168
884s ok 1837 /checksum/SHA512/reset/169
884s ok 1838 /checksum/SHA512/reset/170
884s ok 1839 /checksum/SHA512/reset/171
884s ok 1840 /checksum/SHA512/reset/172
884s ok 1841 /checksum/SHA512/reset/173
884s ok 1842 /checksum/SHA512/reset/174
884s ok 1843 /checksum/SHA512/reset/175
884s ok 1844 /checksum/SHA512/reset/176
884s ok 1845 /checksum/SHA512/reset/177
884s ok 1846 /checksum/SHA512/reset/178
884s ok 1847 /checksum/SHA512/reset/179
884s ok 1848 /checksum/SHA512/reset/180
884s ok 1849 /checksum/SHA512/reset/181
884s ok 1850 /checksum/SHA512/reset/182
884s ok 1851 /checksum/SHA512/reset/183
884s # End of reset tests
884s # End of SHA512 tests
884s # End of checksum tests
884s ok - glib/checksum.test
884s # Running test: glib/gdbus-export.test
884s TAP version 14
884s # random seed: R02S3767d89407598bb5f6bcf2b835e52b16
884s 1..7
884s # Start of gdbus tests
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/system-config1:/tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/system-data1:/tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration/.dirs/runtime
884s ok 1 /gdbus/object-registration
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/system-config1:/tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/system-data1:/tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures/.dirs/runtime
884s ok 2 /gdbus/object-registration-with-closures
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/system-config1:/tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/system-data1:/tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Q1WZ52/gdbus/object-registration-with-closures2/.dirs/runtime
884s ok 3 /gdbus/object-registration-with-closures2
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/system-config1:/tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/system-data1:/tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Q1WZ52/gdbus/registered-interfaces/.dirs/runtime
884s ok 4 /gdbus/registered-interfaces
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/system-config1:/tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/system-data1:/tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Q1WZ52/gdbus/async-properties/.dirs/runtime
884s ok 5 /gdbus/async-properties
884s # Start of threaded-unregistration tests
884s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/home
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/cache
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/system-config1:/tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/system-config2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/config
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/system-data1:/tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/system-data2
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/data
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/state
884s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/object/.dirs/runtime
884s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
884s # /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
885s ok 6 /gdbus/threaded-unregistration/object # SKIP Failed to reproduce race (36 iterations with unregistration first, 964 with call first); skipping test
885s # slow test /gdbus/threaded-unregistration/object executed in 1.30 secs
885s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/home
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/cache
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/system-config1:/tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/system-config2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/config
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/system-data1:/tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/system-data2
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/data
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/state
885s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-export_Q1WZ52/gdbus/threaded-unregistration/subtree/.dirs/runtime
885s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2400
885s # /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
886s # Executing: glib/gdbus-export.test
886s ok 7 /gdbus/threaded-unregistration/subtree # SKIP Failed to reproduce race (34 iterations with unregistration first, 966 with call first); skipping test
886s # slow test /gdbus/threaded-unregistration/subtree executed in 1.47 secs
886s # End of threaded-unregistration tests
886s # End of gdbus tests
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
886s ok - glib/gdbus-export.test
886s # Running test: glib/environment.test
886s TAP version 14
886s # random seed: R02Sd82168e896b7685b24fc16df3a66a987
886s 1..6
886s # Start of environ tests
886s # /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.
886s ok 1 /environ/listenv
886s # /environ/getenv summary: Test setting an environment variable using g_setenv(), and that the updated value is queryable using g_getenv().
886s ok 2 /environ/getenv
886s ok 3 /environ/setenv
887s ok - glib/environment.test
887s # Running test: glib/network-monitor.test
887s ok - glib/network-monitor.test
887s # Running test: glib/power-profile-monitor.test
887s ok - glib/power-profile-monitor.test
887s # Running test: glib/filter-streams.test
887s ok - glib/filter-streams.test
887s # Running test: glib/charset.test
887s ok - glib/charset.test
887s # Running test: glib/overflow-fallback.test
887s ok - glib/overflow-fallback.test
887s # Running test: glib/gdbus-subscribe.test
887s # /environ/array summary: Test getting and setting variables on a local envp array (rather than the global envp).
887s ok 4 /environ/array
887s # /environ/null summary: Test getting and setting variables on a NULL envp array.
887s ok 5 /environ/null
887s # /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.
887s ok 6 /environ/case
887s # End of environ tests
887s TAP version 14
887s # random seed: R02S4032c20136849e388afed3cfa6f33191
887s 1..4
887s # Start of network-monitor tests
887s # GLib-GIO-DEBUG: Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
887s # GLib-GIO-DEBUG: Failed to initialize networkmanager (GNetworkMonitorNM) for gio-network-monitor: NetworkManager not running
887s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation netlink (GNetworkMonitorNetlink) for ?gio-network-monitor?
887s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
887s ok 1 /network-monitor/default
887s ok 2 /network-monitor/remove_default
887s ok 3 /network-monitor/add_networks
887s ok 4 /network-monitor/remove_networks
887s # End of network-monitor tests
887s TAP version 14
887s # random seed: R02S8cc1240494c6b46d8ade14822ba88b6f
887s 1..1
887s # Start of power-profile-monitor tests
887s # GLib-GIO-DEBUG: Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
887s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ?gio-power-profile-monitor
887s ok 1 /power-profile-monitor/default
887s # End of power-profile-monitor tests
887s TAP version 14
887s # random seed: R02S8dbac74a30a9f59acf392c5ee57dc5b6
887s 1..4
887s # Start of filter-stream tests
887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=568394
887s ok 1 /filter-stream/input
887s ok 2 /filter-stream/output
887s ok 3 /filter-stream/async-input
887s ok 4 /filter-stream/async-output
887s # End of filter-stream tests
887s TAP version 14
887s # random seed: R02S14420158f78f45fe8f7d505e51548b78
887s 1..2
887s # Start of charset tests
887s # Test 0
887s # Test 1
887s # Test 2
887s # Test 3
887s ok 1 /charset/language_names_with_category
887s ok 2 /charset/language_names_with_category_async
887s # End of charset tests
887s TAP version 14
887s # random seed: R02S45eaa8d93d1601cdd1426369b826e26b
887s 1..6
887s # Start of glib tests
887s # Start of checked-math tests
887s ok 1 /glib/checked-math/guint-add
887s ok 2 /glib/checked-math/guint-mul
887s ok 3 /glib/checked-math/guint64-add
887s ok 4 /glib/checked-math/guint64-mul
887s ok 5 /glib/checked-math/gsize-add
887s ok 6 /glib/checked-math/gsize-mul
887s # End of checked-math tests
887s # End of glib tests
887s TAP version 14
887s # random seed: R02Sbd6c2dd3cdeeabe9dc58268bf9af4b53
887s 1..24
887s # Start of gdbus tests
887s # Start of subscribe tests
887s # Start of conn tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/simple/.dirs/runtime
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/conn/simple summary: A broadcast is only received after subscribing to it
887s # Step 0: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 1: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 2: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 2
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 1 /gdbus/subscribe/conn/simple
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/broadcast_from_anyone/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/conn/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
887s # Step 0: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: service 2
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 3: emitting signal
887s # Sender: service
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 4: emitting signal
887s # Sender: service 2
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 1
887s # Signal received from service 2 :1.2
887s # Signal received from service 2 :1.2 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 2
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 3
887s # Signal received from service 2 :1.2
887s # Signal received from service 2 :1.2 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 2 /gdbus/subscribe/conn/broadcast_from_anyone
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/match_twice/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/conn/match_twice summary: A message matching more than one subscription is received once per subscription
887s # Step 0: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 1: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: (any)
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 2: adding subscription
887s # Sender: (any)
887s # Path: (any)
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 3: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 4: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 3 /gdbus/subscribe/conn/match_twice
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_unique_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/conn/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
887s # Step 0: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 3: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 3
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 4 /gdbus/subscribe/conn/limit_by_unique_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/nonexistent_unique_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/conn/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
887s # Step 0: adding subscription
887s # Sender: :0.this.had.better.not.exist
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 5 /gdbus/subscribe/conn/nonexistent_unique_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_by_well_known_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /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
887s # Step 0: claiming bus name
887s # Name: org.gtk.Test.AlreadyOwned
887s # Owner: service
887s # Step 1: adding subscription
887s # Sender: org.gtk.Test.AlreadyOwned
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 2: adding subscription
887s # Sender: org.gtk.Test.OwnedLater
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 3: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 4: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 5: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 6: claiming bus name
887s # Name: org.gtk.Test.OwnedLater
887s # Owner: service
887s # Step 7: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 5
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
887s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 6 /gdbus/subscribe/conn/limit_by_well_known_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/limit_to_message_bus/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/conn/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
887s # Step 0: adding subscription
887s # Sender: org.freedesktop.DBus
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # String argument 0: would I lie to you?
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # Waiting for signal to reach message bus
887s # Step 3: claiming bus name
887s # Name: org.gtk.Test.OwnedLater
887s # Owner: service
887s # Signal received from message bus org.freedesktop.DBus
887s # Signal received from (unused) org.freedesktop.DBus via connection
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 7 /gdbus/subscribe/conn/limit_to_message_bus
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/conn/unsubscribe_immediately/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/conn/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
887s # Step 0: claiming bus name
887s # Name: org.gtk.Test.AlreadyOwned
887s # Owner: service
887s # Step 1: adding subscription
887s # Sender: org.gtk.Test.AlreadyOwned
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Immediately unsubscribing
887s # Waiting for AddMatch to be processed
887s # Step 2: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 8 /gdbus/subscribe/conn/unsubscribe_immediately
887s # End of conn tests
887s # Start of proxy tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/simple/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/proxy/simple summary: A broadcast is only received after subscribing to it
887s # Step 0: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 1: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 2: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 9 /gdbus/subscribe/proxy/simple
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/broadcast_from_anyone/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/proxy/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
887s # Step 0: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: service 2
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 3: emitting signal
887s # Sender: service
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 4: emitting signal
887s # Sender: service 2
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 10 /gdbus/subscribe/proxy/broadcast_from_anyone
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/match_twice/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/proxy/match_twice summary: A message matching more than one subscription is received once per subscription
887s # Step 0: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: (any)
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 2: adding subscription
887s # Sender: (any)
887s # Path: (any)
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 3: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 4: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 11 /gdbus/subscribe/proxy/match_twice
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_unique_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/proxy/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
887s # Step 0: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 3: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 3
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 12 /gdbus/subscribe/proxy/limit_by_unique_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/nonexistent_unique_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/proxy/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
887s # Step 0: adding subscription
887s # Sender: :0.this.had.better.not.exist
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 13 /gdbus/subscribe/proxy/nonexistent_unique_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_by_well_known_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /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
887s # Step 0: claiming bus name
887s # Name: org.gtk.Test.AlreadyOwned
887s # Owner: service
887s # Step 1: adding subscription
887s # Sender: org.gtk.Test.AlreadyOwned
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 2: adding subscription
887s # Sender: org.gtk.Test.OwnedLater
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 3: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 4: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 5: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 6: claiming bus name
887s # Name: org.gtk.Test.OwnedLater
887s # Owner: service
887s # Step 7: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 5
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
887s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 14 /gdbus/subscribe/proxy/limit_by_well_known_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/limit_to_message_bus/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/proxy/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
887s # Step 0: adding subscription
887s # Sender: org.freedesktop.DBus
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # String argument 0: would I lie to you?
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # Waiting for signal to reach message bus
887s # Step 3: claiming bus name
887s # Name: org.gtk.Test.OwnedLater
887s # Owner: service
887s # Signal received from message bus org.freedesktop.DBus
887s # Signal received from (unused) org.freedesktop.DBus via proxy
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 15 /gdbus/subscribe/proxy/limit_to_message_bus
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/proxy/unsubscribe_immediately/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/proxy/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
887s # Step 0: claiming bus name
887s # Name: org.gtk.Test.AlreadyOwned
887s # Owner: service
887s # Step 1: adding subscription
887s # Sender: org.gtk.Test.AlreadyOwned
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 2: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 2
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 16 /gdbus/subscribe/proxy/unsubscribe_immediately
887s # End of proxy tests
887s # Start of parallel tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/simple/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/parallel/simple summary: A broadcast is only received after subscribing to it
887s # Step 0: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 1: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 2: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 2
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 0 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 0 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 17 /gdbus/subscribe/parallel/simple
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/broadcast_from_anyone/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/parallel/broadcast_from_anyone summary: A subscription with NULL sender accepts broadcast and unicast
887s # Step 0: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: service 2
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 3: emitting signal
887s # Sender: service
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 4: emitting signal
887s # Sender: service 2
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 1
887s # Signal received from service 2 :1.2
887s # Signal received from service 2 :1.2 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 2
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 3
887s # Signal received from service 2 :1.2
887s # Signal received from service 2 :1.2 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 4 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 18 /gdbus/subscribe/parallel/broadcast_from_anyone
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/match_twice/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/parallel/match_twice summary: A message matching more than one subscription is received once per subscription
887s # Step 0: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: adding subscription
887s # Sender: (any)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: (any)
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 2: adding subscription
887s # Sender: (any)
887s # Path: (any)
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Cannot subscribe via proxy: no bus name
887s # Waiting for AddMatch to be processed
887s # Step 3: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 4: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 4
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 4 was received 4 times by GDBusConnection, expected 4
887s # Signal from step 4 was received 2 times by GDBusProxy, expected 2
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 19 /gdbus/subscribe/parallel/match_twice
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_unique_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/parallel/limit_by_unique_name summary: A subscription via a unique name only accepts messages sent by that same unique name
887s # Step 0: adding subscription
887s # Sender: service :1.1
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 3: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 3
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 3
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 3 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 3 was received 1 times by GDBusProxy, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 20 /gdbus/subscribe/parallel/limit_by_unique_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/nonexistent_unique_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/parallel/nonexistent_unique_name summary: A subscription via a unique name that doesn't exist accepts no messages
887s # Step 0: adding subscription
887s # Sender: :0.this.had.better.not.exist
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 21 /gdbus/subscribe/parallel/nonexistent_unique_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_by_well_known_name/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /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
887s # Step 0: claiming bus name
887s # Name: org.gtk.Test.AlreadyOwned
887s # Owner: service
887s # Step 1: adding subscription
887s # Sender: org.gtk.Test.AlreadyOwned
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 2: adding subscription
887s # Sender: org.gtk.Test.OwnedLater
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 3: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 4: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 5: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Step 6: claiming bus name
887s # Name: org.gtk.Test.OwnedLater
887s # Owner: service
887s # Step 7: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 5
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 5
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via connection
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 7
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
887s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 3 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 3 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 4 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 4 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 5 was received 1 times by GDBusConnection, expected 1
887s # Signal from step 5 was received 1 times by GDBusProxy, expected 1
887s # NameOwnerChanged from step 6 was received 0 times by GDBusConnection, expected 0
887s # NameOwnerChanged from step 6 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 7 was received 2 times by GDBusConnection, expected 2
887s # Signal from step 7 was received 2 times by GDBusProxy, expected 2
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 22 /gdbus/subscribe/parallel/limit_by_well_known_name
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/limit_to_message_bus/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/parallel/limit_to_message_bus summary: A subscription to the message bus only accepts messages from the message bus
887s # Step 0: adding subscription
887s # Sender: org.freedesktop.DBus
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 1: emitting signal
887s # Sender: attacker
887s # Destination: (broadcast)
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # String argument 0: would I lie to you?
887s # Waiting for signal to reach message bus
887s # Step 2: emitting signal
887s # Sender: attacker
887s # Destination: subscriber :1.0
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # Waiting for signal to reach message bus
887s # Step 3: claiming bus name
887s # Name: org.gtk.Test.OwnedLater
887s # Owner: service
887s # Signal received from message bus org.freedesktop.DBus
887s # Signal received from (unused) org.freedesktop.DBus via connection
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # Signal received from message bus org.freedesktop.DBus
887s # Signal received from (unused) org.freedesktop.DBus via proxy
887s # Path: /org/freedesktop/DBus
887s # Interface: org.freedesktop.DBus
887s # Member: NameOwnerChanged
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # Signal from step 1 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 1 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 0 times by GDBusProxy, expected 0
887s # NameOwnerChanged from step 3 was received 1 times by GDBusConnection, expected 1
887s # NameOwnerChanged from step 3 was received 1 times by GDBusProxy, expected 1
887s ok - glib/gdbus-subscribe.test
887s # Running test: glib/spawn-path-search.test
887s ok - glib/spawn-path-search.test
887s # Running test: glib/async-splice-output-stream.test
887s ok - glib/async-splice-output-stream.test
887s # Running test: glib/glistmodel.test
887s ok - glib/glistmodel.test
887s # Running test: glib/scannerapi.test
887s ok - glib/scannerapi.test
887s # Running test: glib/slice.test
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 23 /gdbus/subscribe/parallel/limit_to_message_bus
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data1:/tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-subscribe_UB3452/gdbus/subscribe/parallel/unsubscribe_immediately/.dirs/runtime
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
887s # subscriber is :1.0
887s # service is :1.1
887s # service 2 is :1.2
887s # attacker is :1.3
887s # Waiting for AddMatch to be processed
887s # /gdbus/subscribe/parallel/unsubscribe_immediately summary: Unsubscribing before GetNameOwner can return doesn't result in a crash
887s # Step 0: claiming bus name
887s # Name: org.gtk.Test.AlreadyOwned
887s # Owner: service
887s # Step 1: adding subscription
887s # Sender: org.gtk.Test.AlreadyOwned
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: (any)
887s # String argument 0: (any)
887s # Flags: 0
887s # Subscribing via connection
887s # Immediately unsubscribing
887s # Subscribing via proxy
887s # Waiting for AddMatch to be processed
887s # Step 2: emitting signal
887s # Sender: service
887s # Destination: (broadcast)
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Waiting for signal to reach message bus
887s # Signal received from service :1.1
887s # Signal received from service :1.1 via proxy
887s # Path: /org/gtk/GDBus/ExampleInterface
887s # Interface: org.gtk.GDBus.ExampleInterface
887s # Member: Foo
887s # Argument 0: (not a string)
887s # Sent in step: 2
887s # Received Finished signal from subscriber :1.0
887s # Received Finished signal from service :1.1
887s # Received Finished signal from service 2 :1.2
887s # Received Finished signal from attacker :1.3
887s # NameOwnerChanged from step 0 was received 0 times by GDBusConnection, expected 0
887s # NameOwnerChanged from step 0 was received 0 times by GDBusProxy, expected 0
887s # Signal from step 2 was received 0 times by GDBusConnection, expected 0
887s # Signal from step 2 was received 1 times by GDBusProxy, expected 1
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
887s ok 24 /gdbus/subscribe/parallel/unsubscribe_immediately
887s # End of parallel tests
887s # End of subscribe tests
887s # End of gdbus tests
887s TAP version 14
887s # random seed: R02Sa34b97eb959075e1e26f76dacdc9f3ee
887s 1..7
887s # Start of spawn tests
887s # /spawn/do-not-search summary: Without G_SPAWN_SEARCH_PATH, spawn-test-helper means ./spawn-test-helper.
887s #
887s # this is spawn-test-helper from glib/tests
887s #
887s ok 1 /spawn/do-not-search
887s # /spawn/search-path summary: With G_SPAWN_SEARCH_PATH, spawn-test-helper means $PATH/spawn-test-helper.
887s #
887s # this is spawn-test-helper from path-test-subdir
887s #
887s ok 2 /spawn/search-path
887s # /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.
887s #
887s # this is spawn-test-helper from path-test-subdir
887s #
887s ok 3 /spawn/search-path-from-envp
887s # /spawn/search-path-ambiguous summary: With G_SPAWN_SEARCH_PATH and G_SPAWN_SEARCH_PATH_FROM_ENVP, the latter wins.
887s #
887s # this is spawn-test-helper from path-test-subdir
887s #
887s ok 4 /spawn/search-path-ambiguous
887s #
887s # this is spawn-test-helper from path-test-subdir
887s #
887s ok 5 /spawn/search-path-heap-allocation
887s # /spawn/search-path-fallback-in-environ summary: With G_SPAWN_SEARCH_PATH but no PATH, a fallback is used.
887s #
887s # this is spawn-test-helper from glib/tests
887s #
887s ok 6 /spawn/search-path-fallback-in-environ
887s # /spawn/search-path-fallback-in-envp summary: With G_SPAWN_SEARCH_PATH_FROM_ENVP but no PATH, a fallback is used.
887s #
887s # this is spawn-test-helper from glib/tests
887s #
887s ok 7 /spawn/search-path-fallback-in-envp
887s # End of spawn tests
887s TAP version 14
887s # random seed: R02S3d79bc4afe6de1d9c5fa3969578c4b30
887s 1..5
887s # Start of async-splice tests
887s ok 1 /async-splice/copy-chunks
887s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
887s ok 2 /async-splice/copy-chunks-threaded-input
887s ok 3 /async-splice/copy-chunks-threaded-output
887s ok 4 /async-splice/copy-chunks-threaded
887s ok 5 /async-splice/cancelled
887s # End of async-splice tests
887s TAP version 14
887s # random seed: R02S47f23e058d7c164c5d1c24bebc67f587
887s 1..18
887s # Start of glistmodel tests
887s # Start of store tests
887s ok 1 /glistmodel/store/properties
887s ok 2 /glistmodel/store/non-gobjects
887s ok 3 /glistmodel/store/boundaries
887s ok 4 /glistmodel/store/refcounts
887s ok 5 /glistmodel/store/sorted
887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
887s ok 6 /glistmodel/store/splice-replace-middle
887s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=795307
887s ok 7 /glistmodel/store/splice-replace-all
887s ok 8 /glistmodel/store/splice-noop
887s ok 9 /glistmodel/store/splice-remove-multiple
887s ok 10 /glistmodel/store/splice-add-multiple
887s ok 11 /glistmodel/store/splice-wrong-type
887s ok 12 /glistmodel/store/item-type
887s ok 13 /glistmodel/store/remove-all
887s ok 14 /glistmodel/store/sort
887s ok 15 /glistmodel/store/get-item-cache
887s ok 16 /glistmodel/store/items-changed
887s ok 17 /glistmodel/store/past-end
887s ok 18 /glistmodel/store/find
887s # End of store tests
887s # End of glistmodel tests
887s TAP version 14
887s # random seed: R02S1124fbd3fa9babd409e910a06ce92e69
887s 1..4
887s # Start of scanner tests
887s ok 1 /scanner/warn
887s ok 2 /scanner/error
887s ok 3 /scanner/symbols
887s ok 4 /scanner/tokens
887s # End of scanner tests
887s TAP version 14
887s # random seed: R02Sddbf0ff6bd7cd132146c6e122bfbda48
887s 1..3
887s # Start of slice tests
887s ok 1 /slice/copy
887s ok 2 /slice/chain
887s ok 3 /slice/allocate
887s # End of slice tests
887s ok - glib/slice.test
887s # Running test: glib/rec-mutex.test
887s TAP version 14
887s # random seed: R02S0d8868efd5a8584c6167aa20dd4b309b
887s 1..29
887s # Start of thread tests
887s ok 1 /thread/rec-mutex1
887s ok 2 /thread/rec-mutex2
887s ok 3 /thread/rec-mutex3
887s ok 4 /thread/rec-mutex4
887s # Start of rec-mutex tests
887s # Start of perf tests
887s # Start of uncontended tests
887s # max perf: inf mips
887s ok 5 /thread/rec-mutex/perf/uncontended/depth1
887s # max perf: inf mips
887s ok 6 /thread/rec-mutex/perf/uncontended/depth2
887s # max perf: 1.000000 mips
887s ok 7 /thread/rec-mutex/perf/uncontended/depth3
887s # max perf: 1.000000 mips
887s ok 8 /thread/rec-mutex/perf/uncontended/depth4
887s # max perf: inf mips
887s ok 9 /thread/rec-mutex/perf/uncontended/depth5
887s # End of uncontended tests
887s # Start of contended1 tests
887s # max perf: inf mips
887s ok 10 /thread/rec-mutex/perf/contended1/depth1
887s # max perf: inf mips
887s ok 11 /thread/rec-mutex/perf/contended1/depth2
887s # max perf: 2.000000 mips
887s ok 12 /thread/rec-mutex/perf/contended1/depth3
887s # max perf: inf mips
887s ok 13 /thread/rec-mutex/perf/contended1/depth4
887s # max perf: inf mips
887s ok 14 /thread/rec-mutex/perf/contended1/depth5
887s # End of contended1 tests
887s # Start of contended2 tests
887s # max perf: inf mips
887s ok 15 /thread/rec-mutex/perf/contended2/depth1
887s # max perf: 3.000000 mips
887s ok 16 /thread/rec-mutex/perf/contended2/depth2
887s # max perf: inf mips
887s ok 17 /thread/rec-mutex/perf/contended2/depth3
887s # max perf: 3.000000 mips
887s ok 18 /thread/rec-mutex/perf/contended2/depth4
887s # max perf: 3.000000 mips
887s ok 19 /thread/rec-mutex/perf/contended2/depth5
887s # End of contended2 tests
887s # Start of contended3 tests
887s # max perf: 4.000000 mips
887s ok 20 /thread/rec-mutex/perf/contended3/depth1
887s # max perf: 4.000000 mips
887s ok 21 /thread/rec-mutex/perf/contended3/depth2
887s # max perf: inf mips
887s ok 22 /thread/rec-mutex/perf/contended3/depth3
887s # max perf: 2.000000 mips
887s ok 23 /thread/rec-mutex/perf/contended3/depth4
887s # max perf: 2.000000 mips
887s ok 24 /thread/rec-mutex/perf/contended3/depth5
887s # End of contended3 tests
887s # Start of contended4 tests
887s # max perf: inf mips
887s ok 25 /thread/rec-mutex/perf/contended4/depth1
887s # max perf: inf mips
887s ok 26 /thread/rec-mutex/perf/contended4/depth2
887s # max perf: inf mips
887s ok 27 /thread/rec-mutex/perf/contended4/depth3
887s # max perf: inf mips
887s ok 28 /thread/rec-mutex/perf/contended4/depth4
887s # max perf: inf mips
887s ok 29 /thread/rec-mutex/perf/contended4/depth5
887s # End of contended4 tests
887s # End of perf tests
887s # End of rec-mutex tests
887s # End of thread tests
887s ok - glib/rec-mutex.test
887s # Running test: glib/gdbus-addresses.test
887s TAP version 14
887s # random seed: R02S8317ed51b9cfd61afccd37e3a129e247
887s 1..9
887s # Start of gdbus tests
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/empty-address/.dirs/runtime
887s ok 1 /gdbus/empty-address
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/unsupported-address/.dirs/runtime
887s ok 2 /gdbus/unsupported-address
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/address-parsing/.dirs/runtime
887s ok 3 /gdbus/address-parsing
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/unix-address/.dirs/runtime
887s ok 4 /gdbus/unix-address
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/nonce-tcp-address/.dirs/runtime
887s ok 5 /gdbus/nonce-tcp-address
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/tcp-address/.dirs/runtime
887s ok 6 /gdbus/tcp-address
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/autolaunch-address/.dirs/runtime
887s ok 7 /gdbus/autolaunch-address
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/mixed-address/.dirs/runtime
887s ok 8 /gdbus/mixed-address
887s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/home
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/cache
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/system-config1:/tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/system-config2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/config
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/system-data1:/tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/system-data2
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/data
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/state
887s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-addresses_NMMS52/gdbus/escape-address/.dirs/runtime
887s ok 9 /gdbus/escape-address
887s # End of gdbus tests
887s ok - glib/gdbus-addresses.test
887s # Running test: glib/srvtarget.test
887s TAP version 14
887s # random seed: R02Secf28cf746f431d6c411c99a41e9b8be
887s 1..1
887s # Start of srvtarget tests
888s ok - glib/srvtarget.test
888s ok 1 /srvtarget/srv-target-ordering
888s # slow test /srvtarget/srv-target-ordering executed in 0.60 secs
888s # End of srvtarget tests
888s # Running test: glib/objects-refcount2.test
888s TAP version 14
888s # random seed: R02Sbd90346b73f2ecae2a7c1d4338d5f62b
888s 1..1
888s # Start of gobject tests
888s # Start of refcount tests
888s # init 0x2aa2346d400
888s #
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
888s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
889s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
890s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # Executing: glib/objects-refcount2.test
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
891s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
892s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # .
893s # dispose 0x2aa2346d400!
893s #
893s ok 1 /gobject/refcount/object-advanced
893s # slow test /gobject/refcount/object-advanced executed in 5.05 secs
893s # End of refcount tests
893s # End of gobject tests
893s ok - glib/objects-refcount2.test
893s # Running test: glib/closure.test
893s TAP version 14
893s # random seed: R02Sc6189d9f445b3e63675fd6d942c3a2f1
893s 1..6
893s # Start of closure tests
893s ok 1 /closure/idle
893s ok 2 /closure/timeout
893s ok 3 /closure/iochannel
893s ok 4 /closure/child
893s ok 5 /closure/fd
893s ok - glib/closure.test
893s ok 6 /closure/signal
893s # End of closure tests
893s # Running test: glib/gdbus-server-auth.test
893s TAP version 14
893s # random seed: R02S644451c759043e7d0c45290be22c8b19
893s 1..9
893s # Start of gdbus tests
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/.dirs/runtime
893s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-OJ9X52 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
893s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-OJ9X52/dbus-k6y2vBYr
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7288
893s ok 1 /gdbus/server-auth
893s # Start of server-auth tests
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/abstract/.dirs/runtime
893s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-HRFY52 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
893s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-HRFY52/dbus-nyWHcyB9
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
893s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
893s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7288
893s ok 2 /gdbus/server-auth/abstract
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/tcp/.dirs/runtime
893s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
893s ok 3 /gdbus/server-auth/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/.dirs/runtime
893s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-J1QY52 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
893s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-J1QY52/dbus-VHcYfNSS
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7288
893s ok 4 /gdbus/server-auth/anonymous
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/.dirs/runtime
893s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-1ZVZ52 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
893s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-1ZVZ52/dbus-w5ehF2hg
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7288
893s ok 5 /gdbus/server-auth/external
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/.dirs/runtime
893s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-JQ0Z52 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
893s ok 6 /gdbus/server-auth/sha1 # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
893s # Start of anonymous tests
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/anonymous/tcp/.dirs/runtime
893s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
893s ok 7 /gdbus/server-auth/anonymous/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
893s # End of anonymous tests
893s # Start of external tests
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/external/require-same-user/.dirs/runtime
893s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-I11Z52 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
893s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_1A9X52/gdbus-server-auth-I11Z52/dbus-P244vPp2
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 7288
893s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
893s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
893s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
893s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=7288,uid=1000,gid=1000
893s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 7288
893s ok 8 /gdbus/server-auth/external/require-same-user
893s # End of external tests
893s # Start of sha1 tests
893s ok - glib/gdbus-server-auth.test
893s # Running test: glib/spawn-singlethread.test
893s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/home
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/cache
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/system-config2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/config
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/system-data2
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/data
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/state
893s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_1A9X52/gdbus/server-auth/sha1/tcp/.dirs/runtime
893s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
893s ok 9 /gdbus/server-auth/sha1/tcp # SKIP https://gitlab.gnome.org/GNOME/glib/-/issues/2206
893s # End of sha1 tests
893s # End of server-auth tests
893s # End of gdbus tests
893s TAP version 14
893s # random seed: R02S57bad32d293a791fe6b3f1bb2bebeb57
893s 1..9
893s # Start of gthread tests
893s ok 1 /gthread/spawn-single-sync
893s # /gthread/spawn-stderr-socket summary: Test calling g_spawn_sync() with its stderr FD set to a socket
893s ok 2 /gthread/spawn-stderr-socket
893s ok 3 /gthread/spawn-single-async
893s # thread 1
893s # thread 1
893s ok 4 /gthread/spawn-single-async-with-fds
893s ok 5 /gthread/spawn-async-with-invalid-fds
893s ok 6 /gthread/spawn-script
893s ok 7 /gthread/spawn-posix-spawn
893s # Start of spawn tests
893s ok 8 /gthread/spawn/nonexistent
893s # FD map:
893s # • 5 → 15
893s # • 6 → 16
893s # • 7 → 17
893s # • 8 → 18
893s # • 9 → 19
893s # • 10 → 20
893s # • 11 → 21
893s # • 12 → 22
893s # • 13 → 23
893s # • 3 → 13
893s ok 9 /gthread/spawn/fd-assignment-clash
893s ok - glib/spawn-singlethread.test
893s # Running test: glib/objects-refcount1.test
893s # End of spawn tests
893s # End of gthread tests
893s TAP version 14
893s # random seed: R02S9be1f999925c06361bfe7ab5a784ae4e
893s 1..1
893s # Start of gobject tests
893s # Start of refcount tests
893s # init 0x2aa096d6420
893s #
893s # init 0x2aa096d65a0
893s #
896s # Executing: glib/objects-refcount1.test
898s # dispose 0x2aa096d6420!
898s #
898s # dispose 0x2aa096d65a0!
898s #
898s ok 1 /gobject/refcount/object-basics
898s # slow test /gobject/refcount/object-basics executed in 5.00 secs
898s # End of refcount tests
898s # End of gobject tests
898s ok - glib/objects-refcount1.test
898s # Running test: glib/queue.test
898s TAP version 14
898s # random seed: R02S9cf07381853bd9d5eff76b624483a0ab
898s 1..12
898s # Start of queue tests
898s ok 1 /queue/basic
898s ok 2 /queue/copy
898s ok 3 /queue/off-by-one
898s ok 4 /queue/find-custom
898s ok 5 /queue/static
898s ok 6 /queue/clear
898s ok 7 /queue/free-full
898s ok 8 /queue/clear-full
898s ok 9 /queue/insert-sibling-link
898s ok 10 /queue/push-nth-link
898s # Start of clear-full tests
898s ok 11 /queue/clear-full/noop
898s # End of clear-full tests
898s # Start of random tests
898s ok 12 /queue/random/seed:1591386432
898s # End of random tests
898s # End of queue tests
898s ok - glib/queue.test
898s # Running test: glib/utils-c-89.test
898s TAP version 14
898s # random seed: R02S516edb2b3798a7c4f68fc043c27a56cf
898s 1..41
898s # Start of utils tests
898s ok 1 /utils/language-names
898s ok 2 /utils/locale-variants
898s ok 3 /utils/version
898s ok 4 /utils/appname
898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
898s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
898s ok 5 /utils/prgname-thread-safety
898s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
898s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
898s ok 6 /utils/tmpdir
898s ok 7 /utils/basic_bits
898s ok 8 /utils/bits
898s ok 9 /utils/swap
898s ok 10 /utils/find-program
898s ok 11 /utils/find-program-for-path
898s ok 12 /utils/debug
898s ok 13 /utils/codeset
898s ok 14 /utils/codeset2
898s ok 15 /utils/console-charset
898s ok 16 /utils/gettext
898s ok 17 /utils/username
898s ok 18 /utils/realname
898s ok 19 /utils/hostname
898s ok 20 /utils/xdgdirs
898s ok 21 /utils/specialdir
898s # NAME: Ubuntu
898s ok 22 /utils/os-info
898s ok 23 /utils/clear-pointer
898s ok 24 /utils/clear-pointer-cast
898s ok 25 /utils/take-pointer
898s ok 26 /utils/clear-source
898s ok 27 /utils/misc-mem
898s # /utils/aligned-mem summary: Aligned memory allocator
898s # Alignment must not be zero
898s # Alignment must be a power of two
898s # Alignment must be a multiple of sizeof(void*)
898s ok 28 /utils/aligned-mem
898s # /utils/free-sized summary: Check that g_free_sized() works
898s ok 29 /utils/free-sized
898s ok 30 /utils/nullify
898s ok 31 /utils/atexit
898s ok - glib/utils-c-89.test
898s # Running test: glib/bookmarkfile.test
898s ok 32 /utils/check-setuid
898s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
898s ok 33 /utils/int-limits
898s ok 34 /utils/clear-list
898s ok 35 /utils/clear-slist
898s ok 36 /utils/steal-handle-id
898s # Start of specialdir tests
898s ok 37 /utils/specialdir/desktop
898s # End of specialdir tests
898s # Start of clear-pointer tests
898s ok 38 /utils/clear-pointer/side-effects
898s # End of clear-pointer tests
898s # Start of aligned-mem tests
898s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
898s ok 39 /utils/aligned-mem/alignment
898s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
898s ok 40 /utils/aligned-mem/zeroed
898s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
898s ok 41 /utils/aligned-mem/free-sized
898s # Start of subprocess tests
898s # End of subprocess tests
898s # End of aligned-mem tests
898s # End of utils tests
898s TAP version 14
898s # random seed: R02Seb6d12d679753c0846277a2bc645e977
898s 1..96
898s # Start of bookmarks tests
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/load-from-data-dirs/.dirs/runtime
898s ok 1 /bookmarks/load-from-data-dirs
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/to-file/.dirs/runtime
898s # Roundtrip from newly created bookmark file /tmp/test_bookmarkfile_1IW952/bookmarkfile-test-XEW952.xbel
898s # Roundtrip from a valid bookmark file
898s ok 2 /bookmarks/to-file
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/move-item/.dirs/runtime
898s ok 3 /bookmarks/move-item
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/corner-cases/.dirs/runtime
898s ok 4 /bookmarks/corner-cases
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/misc/.dirs/runtime
898s ok 5 /bookmarks/misc
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/deprecated/.dirs/runtime
898s ok 6 /bookmarks/deprecated
898s # Start of parse tests
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-34.xbel/.dirs/runtime
898s ok 7 /bookmarks/parse/fail-34.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-33.xbel/.dirs/runtime
898s ok 8 /bookmarks/parse/fail-33.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-03.xbel/.dirs/runtime
898s ok 9 /bookmarks/parse/fail-03.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-21.xbel/.dirs/runtime
898s ok 10 /bookmarks/parse/fail-21.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-22.xbel/.dirs/runtime
898s ok 11 /bookmarks/parse/fail-22.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-36.xbel/.dirs/runtime
898s ok 12 /bookmarks/parse/fail-36.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-38.xbel/.dirs/runtime
898s ok 13 /bookmarks/parse/fail-38.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-25.xbel/.dirs/runtime
898s ok 14 /bookmarks/parse/fail-25.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-14.xbel/.dirs/runtime
898s ok 15 /bookmarks/parse/fail-14.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-19.xbel/.dirs/runtime
898s ok 16 /bookmarks/parse/fail-19.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-26.xbel/.dirs/runtime
898s ok 17 /bookmarks/parse/fail-26.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-10.xbel/.dirs/runtime
898s ok 18 /bookmarks/parse/fail-10.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-06.xbel/.dirs/runtime
898s ok 19 /bookmarks/parse/fail-06.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-16.xbel/.dirs/runtime
898s ok 20 /bookmarks/parse/fail-16.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-12.xbel/.dirs/runtime
898s ok 21 /bookmarks/parse/fail-12.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-23.xbel/.dirs/runtime
898s ok 22 /bookmarks/parse/fail-23.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-11.xbel/.dirs/runtime
898s ok 23 /bookmarks/parse/fail-11.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-04.xbel/.dirs/runtime
898s ok 24 /bookmarks/parse/fail-04.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-01.xbel/.dirs/runtime
898s ok 25 /bookmarks/parse/fail-01.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-09.xbel/.dirs/runtime
898s ok 26 /bookmarks/parse/fail-09.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-02.xbel/.dirs/runtime
898s ok 27 /bookmarks/parse/fail-02.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-07.xbel/.dirs/runtime
898s ok 28 /bookmarks/parse/fail-07.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-30.xbel/.dirs/runtime
898s ok 29 /bookmarks/parse/fail-30.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-37.xbel/.dirs/runtime
898s ok 30 /bookmarks/parse/fail-37.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-31.xbel/.dirs/runtime
898s ok 31 /bookmarks/parse/fail-31.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-02.xbel/.dirs/runtime
898s ok 32 /bookmarks/parse/valid-02.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-01.xbel/.dirs/runtime
898s ok 33 /bookmarks/parse/valid-01.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-18.xbel/.dirs/runtime
898s ok 34 /bookmarks/parse/fail-18.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-40.xbel/.dirs/runtime
898s ok 35 /bookmarks/parse/fail-40.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-27.xbel/.dirs/runtime
898s ok 36 /bookmarks/parse/fail-27.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-24.xbel/.dirs/runtime
898s ok 37 /bookmarks/parse/fail-24.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-29.xbel/.dirs/runtime
898s ok 38 /bookmarks/parse/fail-29.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-32.xbel/.dirs/runtime
898s ok 39 /bookmarks/parse/fail-32.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/valid-03.xbel/.dirs/runtime
898s ok 40 /bookmarks/parse/valid-03.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-41.xbel/.dirs/runtime
898s ok 41 /bookmarks/parse/fail-41.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-05.xbel/.dirs/runtime
898s ok 42 /bookmarks/parse/fail-05.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-35.xbel/.dirs/runtime
898s ok 43 /bookmarks/parse/fail-35.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-17.xbel/.dirs/runtime
898s ok 44 /bookmarks/parse/fail-17.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-28.xbel/.dirs/runtime
898s ok 45 /bookmarks/parse/fail-28.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-15.xbel/.dirs/runtime
898s ok 46 /bookmarks/parse/fail-15.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-42.xbel/.dirs/runtime
898s ok 47 /bookmarks/parse/fail-42.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-39.xbel/.dirs/runtime
898s ok 48 /bookmarks/parse/fail-39.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-20.xbel/.dirs/runtime
898s ok 49 /bookmarks/parse/fail-20.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-08.xbel/.dirs/runtime
898s ok 50 /bookmarks/parse/fail-08.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/parse/fail-13.xbel/.dirs/runtime
898s ok 51 /bookmarks/parse/fail-13.xbel
898s # End of parse tests
898s # Start of copy tests
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-34.xbel/.dirs/runtime
898s ok 52 /bookmarks/copy/fail-34.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-33.xbel/.dirs/runtime
898s ok 53 /bookmarks/copy/fail-33.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-03.xbel/.dirs/runtime
898s ok 54 /bookmarks/copy/fail-03.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-21.xbel/.dirs/runtime
898s ok 55 /bookmarks/copy/fail-21.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-22.xbel/.dirs/runtime
898s ok 56 /bookmarks/copy/fail-22.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-36.xbel/.dirs/runtime
898s ok 57 /bookmarks/copy/fail-36.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-38.xbel/.dirs/runtime
898s ok 58 /bookmarks/copy/fail-38.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-25.xbel/.dirs/runtime
898s ok 59 /bookmarks/copy/fail-25.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-14.xbel/.dirs/runtime
898s ok 60 /bookmarks/copy/fail-14.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-19.xbel/.dirs/runtime
898s ok 61 /bookmarks/copy/fail-19.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-26.xbel/.dirs/runtime
898s ok 62 /bookmarks/copy/fail-26.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-10.xbel/.dirs/runtime
898s ok 63 /bookmarks/copy/fail-10.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-06.xbel/.dirs/runtime
898s ok 64 /bookmarks/copy/fail-06.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-16.xbel/.dirs/runtime
898s ok 65 /bookmarks/copy/fail-16.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-12.xbel/.dirs/runtime
898s ok 66 /bookmarks/copy/fail-12.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-23.xbel/.dirs/runtime
898s ok 67 /bookmarks/copy/fail-23.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-11.xbel/.dirs/runtime
898s ok 68 /bookmarks/copy/fail-11.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-04.xbel/.dirs/runtime
898s ok 69 /bookmarks/copy/fail-04.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-01.xbel/.dirs/runtime
898s ok 70 /bookmarks/copy/fail-01.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-09.xbel/.dirs/runtime
898s ok 71 /bookmarks/copy/fail-09.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-02.xbel/.dirs/runtime
898s ok 72 /bookmarks/copy/fail-02.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-07.xbel/.dirs/runtime
898s ok 73 /bookmarks/copy/fail-07.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-30.xbel/.dirs/runtime
898s ok 74 /bookmarks/copy/fail-30.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-37.xbel/.dirs/runtime
898s ok 75 /bookmarks/copy/fail-37.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-31.xbel/.dirs/runtime
898s ok 76 /bookmarks/copy/fail-31.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-02.xbel/.dirs/runtime
898s ok 77 /bookmarks/copy/valid-02.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-01.xbel/.dirs/runtime
898s ok 78 /bookmarks/copy/valid-01.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-18.xbel/.dirs/runtime
898s ok 79 /bookmarks/copy/fail-18.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-40.xbel/.dirs/runtime
898s ok 80 /bookmarks/copy/fail-40.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fok - glib/bookmarkfile.test
898s # Running test: glib/autoptr-girepository.test
898s ail-27.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-27.xbel/.dirs/runtime
898s ok 81 /bookmarks/copy/fail-27.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-24.xbel/.dirs/runtime
898s ok 82 /bookmarks/copy/fail-24.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-29.xbel/.dirs/runtime
898s ok 83 /bookmarks/copy/fail-29.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-32.xbel/.dirs/runtime
898s ok 84 /bookmarks/copy/fail-32.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/valid-03.xbel/.dirs/runtime
898s ok 85 /bookmarks/copy/valid-03.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-41.xbel/.dirs/runtime
898s ok 86 /bookmarks/copy/fail-41.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-05.xbel/.dirs/runtime
898s ok 87 /bookmarks/copy/fail-05.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-35.xbel/.dirs/runtime
898s ok 88 /bookmarks/copy/fail-35.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-17.xbel/.dirs/runtime
898s ok 89 /bookmarks/copy/fail-17.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-28.xbel/.dirs/runtime
898s ok 90 /bookmarks/copy/fail-28.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-15.xbel/.dirs/runtime
898s ok 91 /bookmarks/copy/fail-15.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-42.xbel/.dirs/runtime
898s ok 92 /bookmarks/copy/fail-42.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-39.xbel/.dirs/runtime
898s ok 93 /bookmarks/copy/fail-39.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-20.xbel/.dirs/runtime
898s ok 94 /bookmarks/copy/fail-20.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-08.xbel/.dirs/runtime
898s ok 95 /bookmarks/copy/fail-08.xbel
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/system-config1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/system-data1:/tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_bookmarkfile_1IW952/bookmarks/copy/fail-13.xbel/.dirs/runtime
898s ok 96 /bookmarks/copy/fail-13.xbel
898s # End of copy tests
898s # End of bookmarks tests
898s TAP version 14
898s # random seed: R02S542bc419c246cc5c4592d73cb6f40e48
898s 1..24
898s # Start of autoptr tests
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/repository/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 1 /autoptr/repository
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/typelib/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 2 /autoptr/typelib
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/base-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 3 /autoptr/base-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/arg-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 4 /autoptr/arg-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callable-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 5 /autoptr/callable-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/callback-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 6 /autoptr/callback-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/constant-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 7 /autoptr/constant-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/enum-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 8 /autoptr/enum-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/field-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 9 /autoptr/field-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/flags-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 10 /autoptr/flags-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/function-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 11 /autoptr/function-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/interface-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 12 /autoptr/interface-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/object-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 13 /autoptr/object-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/config
898s ok - glib/autoptr-girepository.test
898s # Running test: glib/sandbox.test
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/property-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 14 /autoptr/property-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/registered-type-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 15 /autoptr/registered-type-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/signal-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 16 /autoptr/signal-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/struct-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 17 /autoptr/struct-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/type-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 18 /autoptr/type-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/union-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 19 /autoptr/union-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/value-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 20 /autoptr/value-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/autoptr/vfunc-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 21 /autoptr/vfunc-info
898s # End of autoptr tests
898s # Start of auto tests
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/auto/arg-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 22 /auto/arg-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/auto/type-info/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 23 /auto/type-info
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/system-config1:/tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/system-data1:/tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_autoptr-girepository_Z3ZA62/auto/function-invoker/.dirs/runtime
898s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
898s ok 24 /auto/function-invoker
898s # End of auto tests
898s ok - glib/sandbox.test
898s # Running test: glib/atomic-c-11.test
898s ok - glib/atomic-c-11.test
898s # Running test: glib/gdbus-connection-slow.test
898s TAP version 14
898s # random seed: R02S0593e099e9953d1b6fd1a12bd4b04876
898s 1..4
898s # Start of sandbox tests
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/system-config1:/tmp/test_sandbox_AMBB62/sandbox/none/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/system-data1:/tmp/test_sandbox_AMBB62/sandbox/none/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_AMBB62/sandbox/none/.dirs/runtime
898s ok 1 /sandbox/none
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/system-config1:/tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/system-data1:/tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_AMBB62/sandbox/snap/.dirs/runtime
898s # Created snap.yaml in /tmp/test_sandbox_AMBB62/snap/current/meta/snap.yaml
898s ok 2 /sandbox/snap
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/system-config1:/tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/system-data1:/tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_AMBB62/sandbox/classic-snap/.dirs/runtime
898s # Created snap.yaml in /tmp/test_sandbox_AMBB62/snap/current/meta/snap.yaml
898s ok 3 /sandbox/classic-snap
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/system-config1:/tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/system-data1:/tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/runtime
898s # Creating .flatpak-info in /tmp/test_sandbox_AMBB62/sandbox/flatpak/.dirs/runtime/.flatpak-info
898s ok 4 /sandbox/flatpak
898s # End of sandbox tests
898s TAP version 14
898s # random seed: R02Sc978f50c0f64034932a04d8a0708ccc1
898s 1..2
898s # Start of atomic tests
898s ok 1 /atomic/types
898s ok 2 /atomic/threaded
898s # End of atomic tests
898s TAP version 14
898s # random seed: R02Se24e2929e48d0901a7dead4e7a69707a
898s 1..2
898s # Start of gdbus tests
898s # Start of connection tests
898s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/home
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/cache
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/system-config1:/tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/system-config2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/config
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/system-data1:/tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/system-data2
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/data
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/state
898s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/flush/.dirs/runtime
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s ok 1 /gdbus/connection/flush
899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/home
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/cache
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/system-config1:/tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/system-config2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/config
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/system-data1:/tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/system-data2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/data
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/state
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-slow_B8PB62/gdbus/connection/large_message/.dirs/runtime
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
899s ok 2 /gdbus/connection/large_message
899s # slow test /gdbus/connection/large_message executed in 0.50 secs
899s # End of connection tests
899s # End of gdbus tests
899s ok - glib/gdbus-connection-slow.test
899s # Running test: glib/throws.test
899s TAP version 14
899s # random seed: R02Sf615db33d7b298a6204d26b9bd17add1
899s 1..3
899s # Start of throws tests
899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/home
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/cache
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/system-config1:/tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/system-config2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/config
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/system-data1:/tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/system-data2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/data
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/state
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FXO952/throws/invoke-gerror/.dirs/runtime
899s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
899s # /throws/invoke-gerror summary: Test invoking a function that throws a GError
899s ok 1 /throws/invoke-gerror
899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/home
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/cache
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/system-config2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/config
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/system-data2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/data
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/state
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FXO952/throws/vfunc-can-throw-gerror/.dirs/runtime
899s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
899s # /throws/vfunc-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a vfunc
899s ok 2 /throws/vfunc-can-throw-gerror
899s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/home
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/cache
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/system-config1:/tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/system-config2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/config
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/system-data1:/tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/system-data2
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/data
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/state
899s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_throws_FXO952/throws/callback-can-throw-gerror/.dirs/runtime
899s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
899s # /throws/callback-can-throw-gerror summary: Test gi_callable_info_can_throw_gerror() on a callback
899s ok 3 /throws/callback-can-throw-gerror
899s # End of throws tests
899s ok - glib/throws.test
899s # Running test: glib/pattern.test
899s TAP version 14
899s # random seed: R02S484feedc59a23204d8e0e3b46e2d03bf
899s 1..90
899s # Start of pattern tests
899s # Start of compile tests
899s ok 1 /pattern/compile/0
899s ok 2 /pattern/compile/1
899s ok 3 /pattern/compile/2
899s ok 4 /pattern/compile/3
899s ok 5 /pattern/compile/4
899s ok 6 /pattern/compile/5
899s ok 7 /pattern/compile/6
899s ok 8 /pattern/compile/7
899s ok 9 /pattern/compile/8
899s ok 10 /pattern/compile/9
899s ok 11 /pattern/compile/10
899s ok 12 /pattern/compile/11
899s ok 13 /pattern/compile/12
899s ok 14 /pattern/compile/13
899s # End of compile tests
899s # Start of copy tests
899s ok 15 /pattern/copy/0
899s ok 16 /pattern/copy/1
899s ok 17 /pattern/copy/2
899s ok 18 /pattern/copy/3
899s ok 19 /pattern/copy/4
899s ok 20 /pattern/copy/5
899s ok 21 /pattern/copy/6
899s ok 22 /pattern/copy/7
899s ok 23 /pattern/copy/8
899s ok 24 /pattern/copy/9
899s ok 25 /pattern/copy/10
899s ok 26 /pattern/copy/11
899s ok 27 /pattern/copy/12
899s ok 28 /pattern/copy/13
899s # End of copy tests
899s # Start of match tests
899s ok 29 /pattern/match/0
899s ok 30 /pattern/match/1
899s ok 31 /pattern/match/2
899s ok 32 /pattern/match/3
899s ok 33 /pattern/match/4
899s ok 34 /pattern/match/5
899s ok 35 /pattern/match/6
899s ok 36 /pattern/match/7
899s ok 37 /pattern/match/8
899s ok 38 /pattern/match/9
899s ok 39 /pattern/match/10
899s ok 40 /pattern/match/11
899s ok 41 /pattern/match/12
899s ok 42 /pattern/match/13
899s ok 43 /pattern/match/14
899s ok 44 /pattern/match/15
899s ok 45 /pattern/match/16
899s ok 46 /pattern/match/17
899s ok 47 /pattern/match/18
899s ok 48 /pattern/match/19
899s ok 49 /pattern/match/20
899s ok 50 /pattern/match/21
899s ok 51 /pattern/match/22
899s ok 52 /pattern/match/23
899s ok 53 /pattern/match/24
899s ok 54 /pattern/match/25
899s ok 55 /pattern/match/26
899s ok 56 /pattern/match/27
899s ok 57 /pattern/match/28
899s ok 58 /pattern/match/29
899s ok 59 /pattern/match/30
899s ok 60 /pattern/match/31
899s ok 61 /pattern/match/32
899s ok 62 /pattern/match/33
899s ok 63 /pattern/match/34
899s ok 64 /pattern/match/35
899s ok 65 /pattern/match/36
899s ok 66 /pattern/match/37
899s ok 67 /pattern/match/38
899s ok 68 /pattern/match/39
899s ok 69 /pattern/match/40
899s ok 70 /pattern/match/41
899s ok 71 /pattern/match/42
899s ok 72 /pattern/match/43
899s ok 73 /pattern/match/44
899s ok 74 /pattern/match/45
899s ok 75 /pattern/match/46
899s ok 76 /pattern/match/47
899s ok 77 /pattern/match/48
899s ok 78 /pattern/match/49
899s ok 79 /pattern/match/50
899s # End of match tests
899s # Start of equal tests
899s ok 80 /pattern/equal/0
899s ok 81 /pattern/equal/1
899s ok 82 /pattern/equal/2
899s ok 83 /pattern/equal/3
899s ok 84 /pattern/equal/4
899s ok 85 /pattern/equal/5
899s ok 86 /pattern/equal/6
899s ok 87 /pattern/equal/7
899s ok 88 /pattern/equal/8
899s ok 89 /pattern/equal/9
899s ok 90 /pattern/equal/10
899s # End of equal tests
899s # End of pattern tests
899s ok - glib/pattern.test
899s # Running test: glib/protocol.test
899s ok - glib/protocol.test
899s TAP version 14
899s # random seed: R02S3a6fa1a2075071f0bc6d9fec814e11d8
899s 1..9
899s # Start of glib tests
899s # Start of testing tests
899s # Start of protocol tests
899s ok 1 /glib/testing/protocol/debug
899s ok 2 /glib/testing/protocol/info
899s ok 3 /glib/testing/protocol/message
899s ok 4 /glib/testing/protocol/warning
899s ok 5 /glib/testing/protocol/critical
899s ok 6 /glib/testing/protocol/error
899s ok 7 /glib/testing/protocol/gtest-message
899s ok 8 /glib/testing/protocol/test-message
899s ok 9 /glib/testing/protocol/test-error
899s # End of protocol tests
899s # End of testing tests
899s # End of glib tests
899s # Running test: glib/utf8-performance.test
899s TAP version 14
899s # random seed: R02S147db9aa5bbf17547f8cfc669162ed36
899s 1..36
899s # Start of utf8 tests
899s # Start of perf tests
899s # Start of get_char tests
899s # max perf: 43.0 MB/s
899s ok 1 /utf8/perf/get_char/ascii
899s # max perf: inf MB/s
899s ok 2 /utf8/perf/get_char/latin1
899s # max perf: inf MB/s
899s ok 3 /utf8/perf/get_char/cyrillic
899s # max perf: inf MB/s
899s ok 4 /utf8/perf/get_char/han
899s # End of get_char tests
899s # Start of get_char-backwards tests
899s # max perf: inf MB/s
899s ok 5 /utf8/perf/get_char-backwards/ascii
899s # max perf: inf MB/s
899s ok 6 /utf8/perf/get_char-backwards/latin1
899s # max perf: 160.0 MB/s
899s ok 7 /utf8/perf/get_char-backwards/cyrillic
899s # max perf: 156.0 MB/s
899s ok 8 /utf8/perf/get_char-backwards/han
899s # End of get_char-backwards tests
899s # Start of get_char_validated tests
899s # max perf: 43.0 MB/s
899s ok 9 /utf8/perf/get_char_validated/ascii
899s # max perf: inf MB/s
899s ok 10 /utf8/perf/get_char_validated/latin1
899s # max perf: 160.0 MB/s
899s ok 11 /utf8/perf/get_char_validated/cyrillic
899s # max perf: inf MB/s
899s ok 12 /utf8/perf/get_char_validated/han
899s # End of get_char_validated tests
899s # Start of utf8_to_ucs4 tests
899s # max perf: 43.0 MB/s
899s ok 13 /utf8/perf/utf8_to_ucs4/ascii
899s # max perf: 67.0 MB/s
899s ok 14 /utf8/perf/utf8_to_ucs4/latin1
899s # max perf: 80.0 MB/s
899s ok 15 /utf8/perf/utf8_to_ucs4/cyrillic
899s # max perf: 156.0 MB/s
899s ok 16 /utf8/perf/utf8_to_ucs4/han
899s # End of utf8_to_ucs4 tests
899s # Start of utf8_to_ucs4-sized tests
899s # max perf: inf MB/s
899s ok 17 /utf8/perf/utf8_to_ucs4-sized/ascii
899s # max perf: 67.0 MB/s
899s ok 18 /utf8/perf/utf8_to_ucs4-sized/latin1
899s # max perf: 160.0 MB/s
899s ok 19 /utf8/perf/utf8_to_ucs4-sized/cyrillic
899s ok - glib/utf8-performance.test
899s # Running test: glib/tree.test
899s ok - glib/tree.test
899s # Running test: glib/mutex.test
899s # max perf: 156.0 MB/s
899s ok 20 /utf8/perf/utf8_to_ucs4-sized/han
899s # End of utf8_to_ucs4-sized tests
899s # Start of utf8_to_ucs4_fast tests
899s # max perf: 43.0 MB/s
899s ok 21 /utf8/perf/utf8_to_ucs4_fast/ascii
899s # max perf: inf MB/s
899s ok 22 /utf8/perf/utf8_to_ucs4_fast/latin1
899s # max perf: inf MB/s
899s ok 23 /utf8/perf/utf8_to_ucs4_fast/cyrillic
899s # max perf: inf MB/s
899s ok 24 /utf8/perf/utf8_to_ucs4_fast/han
899s # End of utf8_to_ucs4_fast tests
899s # Start of utf8_to_ucs4_fast-sized tests
899s # max perf: inf MB/s
899s ok 25 /utf8/perf/utf8_to_ucs4_fast-sized/ascii
899s # max perf: 67.0 MB/s
899s ok 26 /utf8/perf/utf8_to_ucs4_fast-sized/latin1
899s # max perf: inf MB/s
899s ok 27 /utf8/perf/utf8_to_ucs4_fast-sized/cyrillic
899s # max perf: inf MB/s
899s ok 28 /utf8/perf/utf8_to_ucs4_fast-sized/han
899s # End of utf8_to_ucs4_fast-sized tests
899s # Start of utf8_validate tests
899s # max perf: 43.0 MB/s
899s ok 29 /utf8/perf/utf8_validate/ascii
899s # max perf: inf MB/s
899s ok 30 /utf8/perf/utf8_validate/latin1
899s # max perf: inf MB/s
899s ok 31 /utf8/perf/utf8_validate/cyrillic
899s # max perf: inf MB/s
899s ok 32 /utf8/perf/utf8_validate/han
899s # End of utf8_validate tests
899s # Start of utf8_validate-sized tests
899s # max perf: inf MB/s
899s ok 33 /utf8/perf/utf8_validate-sized/ascii
899s # max perf: 67.0 MB/s
899s ok 34 /utf8/perf/utf8_validate-sized/latin1
899s # max perf: inf MB/s
899s ok 35 /utf8/perf/utf8_validate-sized/cyrillic
899s # max perf: 156.0 MB/s
899s ok 36 /utf8/perf/utf8_validate-sized/han
899s # End of utf8_validate-sized tests
899s # End of perf tests
899s # End of utf8 tests
899s TAP version 14
899s # random seed: R02Sa43878b65dcfabe1ba0efea50753c2c4
899s 1..7
899s # Start of tree tests
899s ok 1 /tree/search
899s ok 2 /tree/remove
899s ok 3 /tree/destroy
899s ok 4 /tree/traverse
899s ok 5 /tree/insert
899s ok 6 /tree/bounds
899s ok 7 /tree/remove-all
899s # End of tree tests
899s TAP version 14
899s # random seed: R02Sa2ef5abbcf7238782884c783c606c379
899s 1..17
899s # Start of thread tests
899s ok 1 /thread/mutex1
899s ok 2 /thread/mutex2
899s ok 3 /thread/mutex3
899s ok 4 /thread/mutex4
901s # Executing: glib/mutex.test
903s ok 5 /thread/mutex5
903s # slow test /thread/mutex5 executed in 3.49 secs
903s # Start of mutex tests
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s # /thread/mutex/errno summary: Validates that errno is not touched upon return
903s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3034
903s ok 6 /thread/mutex/errno
903s # Start of perf tests
903s # max perf: inf mips
903s ok 7 /thread/mutex/perf/uncontended
903s # Start of contended tests
903s # max perf: inf mips
903s ok 8 /thread/mutex/perf/contended/1
903s # max perf: inf mips
903s ok 9 /thread/mutex/perf/contended/2
903s # max perf: 4.000000 mips
903s ok 10 /thread/mutex/perf/contended/3
903s # max perf: 0.312500 mips
903s ok 11 /thread/mutex/perf/contended/4
903s # max perf: inf mips
903s ok 12 /thread/mutex/perf/contended/5
903s # max perf: inf mips
903s ok 13 /thread/mutex/perf/contended/6
903s # max perf: inf mips
903s ok 14 /thread/mutex/perf/contended/7
903s ok - glib/mutex.test
903s # Running test: glib/macros-c-17.test
903s ok - glib/macros-c-17.test
903s # Running test: glib/markup-collect.test
903s ok - glib/markup-collect.test
903s # Running test: glib/unicode.test
903s # max perf: 0.113924 mips
903s ok 15 /thread/mutex/perf/contended/8
903s # max perf: 10.000000 mips
903s ok 16 /thread/mutex/perf/contended/9
903s # max perf: 11.000000 mips
903s ok 17 /thread/mutex/perf/contended/10
903s # End of contended tests
903s # End of perf tests
903s # End of mutex tests
903s # End of thread tests
903s TAP version 14
903s # random seed: R02S733e42df11ab230fbfe707af9e63941a
903s 1..4
903s # Start of C tests
903s ok 1 /C/standard-17
903s # End of C tests
903s # Start of alignof tests
903s ok 2 /alignof/fallback
903s # End of alignof tests
903s # Start of assert tests
903s ok 3 /assert/static
903s # End of assert tests
903s # Start of struct tests
903s ok 4 /struct/sizeof_member
903s # End of struct tests
903s TAP version 14
903s # random seed: R02Sd67daa271fb2cabceac5e5c1bea93e2d
903s 1..21
903s # Start of markup tests
903s # Start of collect tests
903s ok 1 /markup/collect/0
903s ok 2 /markup/collect/1
903s ok 3 /markup/collect/2
903s ok 4 /markup/collect/3
903s ok 5 /markup/collect/4
903s ok 6 /markup/collect/5
903s ok 7 /markup/collect/6
903s ok 8 /markup/collect/7
903s ok 9 /markup/collect/8
903s ok 10 /markup/collect/9
903s ok 11 /markup/collect/10
903s ok 12 /markup/collect/11
903s ok 13 /markup/collect/12
903s ok 14 /markup/collect/13
903s ok 15 /markup/collect/14
903s ok 16 /markup/collect/15
903s ok 17 /markup/collect/16
903s ok 18 /markup/collect/17
903s ok 19 /markup/collect/18
903s ok 20 /markup/collect/19
903s ok 21 /markup/collect/cleanup
903s # End of collect tests
903s # End of markup tests
903s TAP version 14
903s # random seed: R02S22b961756be1dc2e90fffa3333f27639
903s 1..39
903s # Start of unicode tests
903s ok 1 /unicode/alnum
903s ok 2 /unicode/alpha
903s ok 3 /unicode/break-type
903s ok 4 /unicode/canonical-decomposition
903s ok 5 /unicode/casefold
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s # Cannot set locale to lt_LT, skipping
903s ok 6 /unicode/casemap_and_casefold
903s ok 7 /unicode/cases
903s ok 8 /unicode/character-type
903s ok 9 /unicode/cntrl
903s ok 10 /unicode/combining-class
903s # Composing U+000041 and U+000042; expecting U+000000
903s # Composing U+000041 and U+000000; expecting U+000000
903s # Composing U+000066 and U+000069; expecting U+000000
903s # Composing U+000308 and U+000301; expecting U+000000
903s # Composing U+000f71 and U+000f72; expecting U+000000
903s # Composing U+00212b and U+000000; expecting U+000000
903s # Composing U+0000c5 and U+000000; expecting U+000000
903s # Composing U+002126 and U+000000; expecting U+000000
903s # Composing U+0003a9 and U+000000; expecting U+000000
903s # Composing U+000041 and U+00030a; expecting U+0000c5
903s # Composing U+00006f and U+000302; expecting U+0000f4
903s # Composing U+001e63 and U+000307; expecting U+001e69
903s # Composing U+000073 and U+000323; expecting U+001e63
903s # Composing U+000064 and U+000307; expecting U+001e0b
903s # Composing U+000064 and U+000323; expecting U+001e0d
903s # Composing U+00d4cc and U+0011b6; expecting U+00d4db
903s # Composing U+001111 and U+001171; expecting U+00d4cc
903s # Composing U+00ce20 and U+0011b8; expecting U+00ce31
903s # Composing U+00110e and U+001173; expecting U+00ce20
903s # Composing U+001100 and U+001160; expecting U+000000
903s # Composing U+001100 and U+001177; expecting U+000000
903s # Composing U+00abff and U+0011b6; expecting U+000000
903s # Composing U+00d7a5 and U+0011b6; expecting U+000000
903s # Composing U+00ac01 and U+0011b6; expecting U+000000
903s # Composing U+00d4cc and U+0011a6; expecting U+000000
903s # Composing U+00d4cc and U+0011c4; expecting U+000000
903s # Composing U+01611e and U+01611e; expecting U+016121
903s # Composing U+01611e and U+01611f; expecting U+016123
903s # Composing U+0000f6 and U+000304; expecting U+00022b
903s # Composing U+000b47 and U+000b57; expecting U+000b4c
903s # Composing U+0000a0 and U+000b57; expecting U+000000
903s # Composing U+016e00 and U+00030a; expecting U+000000
903s # Composing U+00212b and U+016e00; expecting U+000000
903s # Composing U+001e63 and U+000306; expecting U+000000
903s # Composing U+001e63 and U+000304; expecting U+000000
903s # Composing U+001e63 and U+000b57; expecting U+000000
903s # Composing U+001e63 and U+000000; expecting U+000000
903s # Composing U+001e63 and U+0113c2; expecting U+000000
903s # Composing U+001f01 and U+0113c2; expecting U+000000
903s # Composing U+00006e and U+000302; expecting U+000000
903s # Composing U+001e63 and U+01611f; expecting U+000000
903s # Composing U+01138e and U+0113b8; expecting U+000000
903s # Composing U+01611e and U+000000; expecting U+000000
903s # Composing U+000000 and U+01611f; expecting U+000000
903s # Composing U+011390 and U+0113c2; expecting U+000000
903s ok 11 /unicode/compose
903s ok 12 /unicode/decompose
903s ok 13 /unicode/decompose-tail
903s ok 14 /unicode/defined
903s ok 15 /unicode/digit
903s ok 16 /unicode/digit-value
903s # Fully decomposing U+000041; expecting 1 codepoints
903s # Fully decomposing U+00fb01; expecting 1 codepoints
903s # Fully decomposing U+00212b; expecting 2 codepoints
903s # Fully decomposing U+002126; expecting 1 codepoints
903s # Fully decomposing U+000344; expecting 2 codepoints
903s # Fully decomposing U+000f73; expecting 2 codepoints
903s # Fully decomposing U+0000c5; expecting 2 codepoints
903s # Fully decomposing U+0000f4; expecting 2 codepoints
903s # Fully decomposing U+001e69; expecting 3 codepoints
903s # Fully decomposing U+001e63; expecting 2 codepoints
903s # Fully decomposing U+001e0b; expecting 2 codepoints
903s # Fully decomposing U+001e0d; expecting 2 codepoints
903s # Fully decomposing U+00d4db; expecting 3 codepoints
903s # Fully decomposing U+00d4cc; expecting 2 codepoints
903s # Fully decomposing U+00ce31; expecting 3 codepoints
903s # Fully decomposing U+00ce20; expecting 2 codepoints
903s ok 17 /unicode/fully-decompose-canonical
903s ok 18 /unicode/fully-decompose-len
903s ok 19 /unicode/normalization
903s ok 20 /unicode/graph
903s # Testing script Zyyy (code 1517910393)
903s # Testing script Zinh (code 1516858984)
903s # Testing script Zmth (code 1517122664)
903s # Testing script Arab (code 1098015074)
903s # Testing script Armn (code 1098018158)
903s # Testing script Beng (code 1113943655)
903s # Testing script Bopo (code 1114599535)
903s # Testing script Cher (code 1130915186)
903s # Testing script Copt (code 1131376756)
903s # Testing script Cyrl (code 1132032620)
903s # Testing script Dsrt (code 1148416628)
903s # Testing script Deva (code 1147500129)
903s # Testing script Ethi (code 1165256809)
903s # Testing script Geor (code 1197830002)
903s # Testing script Goth (code 1198486632)
903s # Testing script Grek (code 1198679403)
903s # Testing script Gujr (code 1198877298)
903s # Testing script Guru (code 1198879349)
903s # Testing script Hani (code 1214344809)
903s # Testing script Hang (code 1214344807)
903s # Testing script Hebr (code 1214603890)
903s # Testing script Hira (code 1214870113)
903s # Testing script Knda (code 1265525857)
903s # Testing script Kana (code 1264676449)
903s # Testing script Khmr (code 1265134962)
903s # Testing script Laoo (code 1281453935)
903s # Testing script Latn (code 1281455214)
903s # Testing script Mlym (code 1298954605)
903s # Testing script Mong (code 1299148391)
903s # Testing script Mymr (code 1299803506)
903s # Testing script Ogam (code 1332175213)
903s # Testing script Ital (code 1232363884)
903s # Testing script Orya (code 1332902241)
903s # Testing script Runr (code 1383427698)
903s # Testing script Sinh (code 1399418472)
903s # Testing script Syrc (code 1400468067)
903s # Testing script Taml (code 1415671148)
903s # Testing script Telu (code 1415933045)
903s # Testing script Thaa (code 1416126817)
903s # Testing script Thai (code 1416126825)
903s # Testing script Tibt (code 1416192628)
903s # Testing script Cans (code 1130458739)
903s # Testing script Yiii (code 1500080489)
903s # Testing script Tglg (code 1416064103)
903s # Testing script Hano (code 1214344815)
903s # Testing script Buhd (code 1114990692)
903s # Testing script Tagb (code 1415669602)
903s # Testing script Brai (code 1114792297)
903s # Testing script Cprt (code 1131442804)
903s # Testing script Limb (code 1281977698)
903s # Testing script Osma (code 1332964705)
903s # Testing script Shaw (code 1399349623)
903s # Testing script Linb (code 1281977954)
903s # Testing script Tale (code 1415670885)
903s # Testing script Ugar (code 1432838514)
903s # Testing script Talu (code 1415670901)
903s # Testing script Bugi (code 1114990441)
903s # Testing script Glag (code 1198285159)
903s # Testing script Tfng (code 1415999079)
903s # Testing script Sylo (code 1400466543)
903s # Testing script Xpeo (code 1483761007)
903s # Testing script Khar (code 1265131890)
903s # Testing script Zzzz (code 1517976186)
903s # Testing script Bali (code 1113681001)
903s # Testing script Xsux (code 1483961720)
903s # Testing script Phnx (code 1349021304)
903s # Testing script Phag (code 1349017959)
903s # Testing script Nkoo (code 1315663727)
903s # Testing script Kali (code 1264675945)
903s # Testing script Lepc (code 1281716323)
903s # Testing script Rjng (code 1382706791)
903s # Testing script Sund (code 1400204900)
903s # Testing script Saur (code 1398895986)
903s # Testing script Cham (code 1130914157)
903s # Testing script Olck (code 1332503403)
903s # Testing script Vaii (code 1449224553)
903s # Testing script Cari (code 1130459753)
903s # Testing script Lyci (code 1283023721)
903s # Testing script Lydi (code 1283023977)
903s # Testing script Avst (code 1098281844)
903s # Testing script Bamu (code 1113681269)
903s # Testing script Egyp (code 1164409200)
903s # Testing script Armi (code 1098018153)
903s # Testing script Phli (code 1349020777)
903s # Testing script Prti (code 1349678185)
903s # Testing script Java (code 1247901281)
903s # Testing script Kthi (code 1265920105)
903s # Testing script Lisu (code 1281979253)
903s # Testing script Mtei (code 1299473769)
903s # Testing script Sarb (code 1398895202)
903s # Testing script Orkh (code 1332898664)
903s # Testing script Samr (code 1398893938)
903s # Testing script Lana (code 1281453665)
903s # Testing script Tavt (code 1415673460)
903s # Testing script Batk (code 1113683051)
903s # Testing script Brah (code 1114792296)
903s # Testing script Mand (code 1298230884)
903s # Testing script Cakm (code 1130457965)
903s # Testing script Merc (code 1298494051)
903s # Testing script Mero (code 1298494063)
903s # Testing script Plrd (code 1349284452)
903s # Testing script Shrd (code 1399353956)
903s # Testing script Sora (code 1399812705)
903s # Testing script Takr (code 1415670642)
903s # Testing script Bass (code 1113682803)
903s # Testing script Aghb (code 1097295970)
903s # Testing script Dupl (code 1148547180)
903s # Testing script Elba (code 1164730977)
903s # Testing script Gran (code 1198678382)
903s # Testing script Khoj (code 1265135466)
903s # Testing script Sind (code 1399418468)
903s # Testing script Lina (code 1281977953)
903s # Testing script Mahj (code 1298229354)
903s # Testing script Mani (code 1298230889)
903s # Testing script Mend (code 1298493028)
903s # Testing script Modi (code 1299145833)
903s # Testing script Mroo (code 1299345263)
903s # Testing script Nbat (code 1315070324)
903s # Testing script Narb (code 1315009122)
903s # Testing script Perm (code 1348825709)
903s # Testing script Hmng (code 1215131239)
903s # Testing script Palm (code 1348562029)
903s # Testing script Pauc (code 1348564323)
903s # Testing script Phlp (code 1349020784)
903s # Testing script Sidd (code 1399415908)
903s # Testing script Tirh (code 1416196712)
903s # Testing script Wara (code 1466004065)
903s # Testing script Ahom (code 1097363309)
903s # Testing script Hluw (code 1215067511)
903s # Testing script Hatr (code 1214346354)
903s # Testing script Mult (code 1299541108)
903s # Testing script Hung (code 1215655527)
903s # Testing script Sgnw (code 1399287415)
903s # Testing script Adlm (code 1097100397)
903s # Testing script Bhks (code 1114139507)
903s # Testing script Marc (code 1298231907)
903s # Testing script Newa (code 1315272545)
903s # Testing script Osge (code 1332963173)
903s # Testing script Tang (code 1415671399)
903s # Testing script Gonm (code 1198485101)
903s # Testing script Nshu (code 1316186229)
903s # Testing script Soyo (code 1399814511)
903s # Testing script Zanb (code 1516334690)
903s # Testing script Dogr (code 1148151666)
903s # Testing script Gong (code 1198485095)
903s # Testing script Rohg (code 1383032935)
903s # Testing script Maka (code 1298230113)
903s # Testing script Medf (code 1298490470)
903s # Testing script Sogo (code 1399809903)
903s # Testing script Sogd (code 1399809892)
903s # Testing script Elym (code 1164736877)
903s # Testing script Nand (code 1315008100)
903s # Testing script Hmnp (code 1215131248)
903s # Testing script Wcho (code 1466132591)
903s # Testing script Chrs (code 1130918515)
903s # Testing script Diak (code 1147756907)
903s # Testing script Kits (code 1265202291)
903s # Testing script Yezi (code 1499822697)
903s # Testing script Cpmn (code 1131441518)
903s # Testing script Ougr (code 1333094258)
903s # Testing script Tnsa (code 1416524641)
903s # Testing script Toto (code 1416590447)
903s # Testing script Vith (code 1449751656)
903s # Testing script Kawi (code 1264678761)
903s # Testing script Nagm (code 1315006317)
903s # Testing script Todr (code 1416586354)
903s # Testing script Gara (code 1197568609)
903s # Testing script Tutg (code 1416983655)
903s # Testing script Sunu (code 1400204917)
903s # Testing script Gukh (code 1198877544)
903s # Testing script Krai (code 1265787241)
903s # Testing script Onao (code 1332633967)
903s ok 21 /unicode/iso15924
903s ok 22 /unicode/lower
903s ok 23 /unicode/mark
903s ok 24 /unicode/mirror
903s ok 25 /unicode/print
903s ok 26 /unicode/punctuation
903s ok 27 /unicode/script
903s ok 28 /unicode/space
903s ok 29 /unicode/strdown
903s ok 30 /unicode/strup
903s ok 31 /unicode/turkish-strupdown
903s ok 32 /unicode/title
903s ok 33 /unicode/upper
903s ok 34 /unicode/validate
903s ok 35 /unicode/wide
903s ok 36 /unicode/xdigit
903s ok 37 /unicode/xdigit-value
903s ok 38 /unicode/zero-width
903s ok 39 /unicode/normalize
903s # End of unicode tests
903s TAP version 14
903s # random seed: R02Sd2e22257e5942d2df68a73cd2b5087bd
903s 1..3
903s # Start of close-async tests
903s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
903s ok 1 /close-async/without-flush
903s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
903s ok 2 /close-async/with-flush
903s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=617937
903s ok 3 /close-async/with-async-flush
903s # End of close-async tests
903s ok - glib/unicode.test
903s # Running test: glib/async-close-output-stream.test
903s ok - glib/async-close-output-stream.test
903s # Running test: glib/cxx-98.test
903s TAP version 14
903s # random seed: R02S9334563dfae5c038c337a8116f4e45e3
903s 1..2
903s # Start of gtask tests
903s # 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.
903s ok 1 /gtask/name
903s # Start of name tests
903s ok - glib/cxx-98.test
903s # Running test: glib/properties-refcount2.test
903s # 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.
903s ok 2 /gtask/name/macro-wrapper
903s # End of name tests
903s # End of gtask tests
903s TAP version 14
903s # random seed: R02S3c6f83fdd83416839f1343fd2a4a87fe
903s 1..1
903s # Start of gobject tests
903s # Start of refcount tests
903s # init 0x2aa29680e30
903s #
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
903s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s # .
904s ok - glib/properties-refcount2.test
904s # .
904s # dispose 0x2aa29680e30!
904s #
904s ok 1 /gobject/refcount/properties-2
904s # slow test /gobject/refcount/properties-2 executed in 0.70 secs
904s # End of refcount tests
904s # End of gobject tests
904s # Running test: glib/completion.test
904s TAP version 14
904s # random seed: R02S34e2105309a690a62a284bd0c58cf49b
904s 1..1
904s # Start of completion tests
904s ok 1 /completion/test-completion
904s ok - glib/completion.test
904s # Running test: glib/simple-proxy.test
904s # End of completion tests
904s TAP version 14
904s # random seed: R02S0c801f69f641850028d127d0e60216df
904s ok - glib/simple-proxy.test
904s 1..3
904s # Start of static-proxy tests
904s ok 1 /static-proxy/uri
904s ok 2 /static-proxy/socks
904s ok 3 /static-proxy/ignore
904s # End of static-proxy tests
904s # Running test: glib/macros-c-11.test
904s ok - glib/macros-c-11.test
904s TAP version 14
904s # random seed: R02Se2133d98c3e0d33a97ff4e6bd12624c4
904s 1..4
904s # Start of C tests
904s ok 1 /C/standard-11
904s # End of C tests
904s # Start of alignof tests
904s ok 2 /alignof/fallback
904s # End of alignof tests
904s # Start of assert tests
904s ok 3 /assert/static
904s # End of assert tests
904s # Start of struct tests
904s ok 4 /struct/sizeof_member
904s # End of struct tests
904s # Running test: glib/portal-support-none.test
904s TAP version 14
904s # random seed: R02Sd1ea16a2603a667964342bab068e7680
904s 1..1
904s # Start of portal-support tests
904s ok 1 /portal-support/none
904s # End of portal-support tests
904s ok - glib/portal-support-none.test
904s # Running test: glib/gdbus-connection-loss.test
904s TAP version 14
904s # random seed: R02S8209067f32caf22435473fc750b3bd51
904s 1..1
904s # Start of gdbus tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/system-config1:/tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/system-data1:/tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection-loss_W71Q52/gdbus/connection-loss/.dirs/runtime
904s ok 1 /gdbus/connection-loss
904s # End of gdbus tests
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
904s ok - glib/gdbus-connection-loss.test
904s # Running test: glib/resolver-parsing.test
904s TAP version 14
904s # random seed: R02Sd4bff38b0c628fa3ccec7e2bb3d4c865
904s 1..21
904s # Start of gresolver tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/invalid-header/.dirs/runtime
904s ok 1 /gresolver/invalid-header
904s ok - glib/resolver-parsing.test
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/record-ownership/.dirs/runtime
904s ok 2 /gresolver/record-ownership
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/unknown-record-type/.dirs/runtime
904s # GLib-GIO-DEBUG: Unrecognized DNS record type 20
904s ok 3 /gresolver/unknown-record-type
904s # Start of mx tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/valid/.dirs/runtime
904s ok 4 /gresolver/mx/valid
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/.dirs/runtime
904s ok 5 /gresolver/mx/invalid
904s # Start of invalid tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short/.dirs/runtime
904s ok 6 /gresolver/mx/invalid/too-short
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/mx/invalid/too-short2/.dirs/runtime
904s ok 7 /gresolver/mx/invalid/too-short2
904s # End of invalid tests
904s # End of mx tests
904s # Start of ns tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/valid/.dirs/runtime
904s ok 8 /gresolver/ns/valid
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/ns/invalid/.dirs/runtime
904s ok 9 /gresolver/ns/invalid
904s # End of ns tests
904s # Start of soa tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/valid/.dirs/runtime
904s ok 10 /gresolver/soa/valid
904s # Start of invalid tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/mname/.dirs/runtime
904s ok 11 /gresolver/soa/invalid/mname
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/rname/.dirs/runtime
904s ok 12 /gresolver/soa/invalid/rname
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/soa/invalid/too-short/.dirs/runtime
904s ok 13 /gresolver/soa/invalid/too-short
904s # End of invalid tests
904s # End of soa tests
904s # Start of srv tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/valid/.dirs/runtime
904s ok 14 /gresolver/srv/valid
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/.dirs/runtime
904s ok 15 /gresolver/srv/invalid
904s # Start of invalid tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short/.dirs/runtime
904s ok 16 /gresolver/srv/invalid/too-short
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/srv/invalid/too-short2/.dirs/runtime
904s ok 17 /gresolver/srv/invalid/too-short2
904s # End of invalid tests
904s # End of srv tests
904s # Start of txt tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/.dirs/runtime
904s ok 18 /gresolver/txt/valid
904s # Start of valid tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/valid/multiple-strings/.dirs/runtime
904s ok 19 /gresolver/txt/valid/multiple-strings
904s # End of valid tests
904s # Start of invalid tests
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/empty/.dirs/runtime
904s ok 20 /gresolver/txt/invalid/empty
904s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/home
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/cache
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/system-config1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/system-config2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/config
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/system-data1:/tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/system-data2
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/data
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/state
904s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_resolver-parsing_WDXT52/gresolver/txt/invalid/overflow/.dirs/runtime
904s ok 21 /gresolver/txt/invalid/overflow
904s # End of invalid tests
904s # End of txt tests
904s # End of gresolver tests
904s # Running test: glib/socket-service.test
904s TAP version 14
904s # random seed: R02Se58272aa6c12bdf189701148b85d3e12
904s 1..4
904s # Start of socket-service tests
904s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
904s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e08c150 and GSocketClientAsyncConnectData 0x2aa1e086bc0
904s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
904s ok 1 /socket-service/start-stop
904s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0900f0 and GSocketClientAsyncConnectData 0x2aa1e08fd90
904s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
904s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
904s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e090070 for GSocketClientAsyncConnectData 0x2aa1e086bc0
904s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
904s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
904s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
904s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
904s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
904s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e090070 for GSocketClientAsyncConnectData 0x2aa1e08fd90
904s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
904s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
904s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
904s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
904s ok 2 /socket-service/read_write_async
904s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e0900f0 and GSocketClientAsyncConnectData 0x2aa1e094100
904s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
904s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
904s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e093600 for GSocketClientAsyncConnectData 0x2aa1e094100
904s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
904s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
904s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
904s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
904s ok 3 /socket-service/read_writev_async
904s # Start of threaded tests
904s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=712570
904s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa1e091740 and GSocketClientAsyncConnectData 0x2aa1e08fd90
904s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
904s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
904s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa1e094ac0 for GSocketClientAsyncConnectData 0x2aa1e08fd90
904s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
904s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
904s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
904s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
904s ok 4 /socket-service/threaded/712570
904s # End of threaded tests
904s # End of socket-service tests
904s ok - glib/socket-service.test
904s # Running test: glib/power-profile-monitor-portal.test
904s TAP version 13
904s ok 1 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal # SKIP xdg-desktop-portal not available
905s ok 2 __main__.TestPowerProfileMonitorPortal.test_power_profile_power_saver_enabled_portal_default # SKIP xdg-desktop-portal not available
905s 1..2
905s ok - glib/power-profile-monitor-portal.test
905s # Running test: glib/ifaceproperties.test
905s TAP version 14
905s # random seed: R02Seb29b58c15d194f41fa08b7490dc6053
905s 1..7
905s # Start of interface tests
905s # Start of properties tests
905s ok 1 /interface/properties/set
905s ok 2 /interface/properties/notify
905s ok 3 /interface/properties/find-overridden
905s ok 4 /interface/properties/list-overridden
905s ok 5 /interface/properties/find-interface
905s ok 6 /interface/properties/list-interface
905s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=637738
905s ok 7 /interface/properties/not-overridden
905s # End of properties tests
905s # End of interface tests
905s ok - glib/ifaceproperties.test
905s # Running test: glib/io-channel-basic.test
905s TAP version 14
905s # random seed: R02S5dec5f88f15c7e47b5d0beb9647016bf
905s 1..1
905s # Start of gio tests
905s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
905s # random seed: R02S9af700cda7ab0a55f1f35bc57eb8941a
905s # GLib-DEBUG: io-channel-basic: child writing 8+2100 bytes to 6
905s # GLib-DEBUG: io-channel-basic: ...from 5: IN
905s # GLib-DEBUG: io-channel-basic: ...from 5: 2100 bytes
905s # GLib-DEBUG: io-channel-basic: ...from 5: OK
905s # GLib-DEBUG: io-channel-basic: child writing 8+2464 bytes to 6
905s # GLib-DEBUG: io-channel-basic: ...from 5: IN
905s # GLib-DEBUG: io-channel-basic: ...from 5: 2464 bytes
905s # GLib-DEBUG: io-channel-basic: ...from 5: OK
905s # GLib-DEBUG: io-channel-basic: child writing 8+934 bytes to 6
905s # GLib-DEBUG: io-channel-basic: ...from 5: IN
905s # GLib-DEBUG: io-channel-basic: ...from 5: 934 bytes
905s # GLib-DEBUG: io-channel-basic: ...from 5: OK
906s # GLib-DEBUG: io-channel-basic: child writing 8+390 bytes to 6
906s # GLib-DEBUG: io-channel-basic: ...from 5: IN
906s # GLib-DEBUG: io-channel-basic: ...from 5: 390 bytes
906s # GLib-DEBUG: io-channel-basic: ...from 5: OK
906s # GLib-DEBUG: io-channel-basic: child writing 8+259 bytes to 6
906s # GLib-DEBUG: io-channel-basic: ...from 5: IN
906s # GLib-DEBUG: io-channel-basic: ...from 5: 259 bytes
906s # GLib-DEBUG: io-channel-basic: ...from 5: OK
906s # GLib-DEBUG: io-channel-basic: child writing 8+3777 bytes to 6
906s # GLib-DEBUG: io-channel-basic: ...from 5: IN
906s # GLib-DEBUG: io-channel-basic: ...from 5: 3777 bytes
906s # GLib-DEBUG: io-channel-basic: ...from 5: OK
906s # Executing: glib/io-channel-basic.test
906s # GLib-DEBUG: io-channel-basic: child writing 8+2238 bytes to 6
906s # GLib-DEBUG: io-channel-basic: ...from 5: IN
906s # GLib-DEBUG: io-channel-basic: ...from 5: 2238 bytes
906s # GLib-DEBUG: io-channel-basic: ...from 5: OK
907s # GLib-DEBUG: io-channel-basic: child writing 8+291 bytes to 6
907s # GLib-DEBUG: io-channel-basic: ...from 5: IN
907s # GLib-DEBUG: io-channel-basic: ...from 5: 291 bytes
907s # GLib-DEBUG: io-channel-basic: ...from 5: OK
907s # GLib-DEBUG: io-channel-basic: child writing 8+1695 bytes to 6
907s # GLib-DEBUG: io-channel-basic: ...from 5: IN
907s # GLib-DEBUG: io-channel-basic: ...from 5: 1695 bytes
907s # GLib-DEBUG: io-channel-basic: ...from 5: OK
907s # GLib-DEBUG: io-channel-basic: child writing 8+212 bytes to 6
907s # GLib-DEBUG: io-channel-basic: ...from 5: IN
907s # GLib-DEBUG: io-channel-basic: ...from 5: 212 bytes
907s # GLib-DEBUG: io-channel-basic: ...from 5: OK
908s # GLib-DEBUG: io-channel-basic: child writing 8+1712 bytes to 6
908s # GLib-DEBUG: io-channel-basic: ...from 5: IN
908s # GLib-DEBUG: io-channel-basic: ...from 5: 1712 bytes
908s # GLib-DEBUG: io-channel-basic: ...from 5: OK
908s # GLib-DEBUG: io-channel-basic: child writing 8+426 bytes to 6
908s # GLib-DEBUG: io-channel-basic: ...from 5: IN
908s # GLib-DEBUG: io-channel-basic: ...from 5: 426 bytes
908s # GLib-DEBUG: io-channel-basic: ...from 5: OK
908s # GLib-DEBUG: io-channel-basic: child writing 8+1566 bytes to 6
908s # GLib-DEBUG: io-channel-basic: ...from 5: IN
908s # GLib-DEBUG: io-channel-basic: ...from 5: 1566 bytes
908s # GLib-DEBUG: io-channel-basic: ...from 5: OK
908s # GLib-DEBUG: io-channel-basic: child writing 8+4572 bytes to 6
908s # GLib-DEBUG: io-channel-basic: ...from 5: IN
908s # GLib-DEBUG: io-channel-basic: ...from 5: 4572 bytes
908s # GLib-DEBUG: io-channel-basic: ...from 5: OK
909s # GLib-DEBUG: io-channel-basic: child writing 8+4144 bytes to 6
909s # GLib-DEBUG: io-channel-basic: ...from 5: IN
909s # GLib-DEBUG: io-channel-basic: ...from 5: 4144 bytes
909s # GLib-DEBUG: io-channel-basic: ...from 5: OK
909s # GLib-DEBUG: io-channel-basic: child writing 8+865 bytes to 6
909s # GLib-DEBUG: io-channel-basic: ...from 5: IN
909s # GLib-DEBUG: io-channel-basic: ...from 5: 865 bytes
909s # GLib-DEBUG: io-channel-basic: ...from 5: OK
909s # GLib-DEBUG: io-channel-basic: child writing 8+780 bytes to 6
909s # GLib-DEBUG: io-channel-basic: ...from 5: IN
909s # GLib-DEBUG: io-channel-basic: ...from 5: 780 bytes
909s # GLib-DEBUG: io-channel-basic: ...from 5: OK
909s # GLib-DEBUG: io-channel-basic: child writing 8+3249 bytes to 6
909s # GLib-DEBUG: io-channel-basic: ...from 5: IN
909s # GLib-DEBUG: io-channel-basic: ...from 5: 3249 bytes
909s # GLib-DEBUG: io-channel-basic: ...from 5: OK
910s # GLib-DEBUG: io-channel-basic: child writing 8+2504 bytes to 6
910s # GLib-DEBUG: io-channel-basic: ...from 5: IN
910s # GLib-DEBUG: io-channel-basic: ...from 5: 2504 bytes
910s # GLib-DEBUG: io-channel-basic: ...from 5: OK
910s # GLib-DEBUG: io-channel-basic: child writing 8+2346 bytes to 6
910s # GLib-DEBUG: io-channel-basic: ...from 5: IN
910s # GLib-DEBUG: io-channel-basic: ...from 5: 2346 bytes
910s # GLib-DEBUG: io-channel-basic: ...from 5: OK
910s # GLib-DEBUG: io-channel-basic: child writing 8+44 bytes to 6
910s # GLib-DEBUG: io-channel-basic: ...from 5: IN
910s # GLib-DEBUG: io-channel-basic: ...from 5: 44 bytes
910s # GLib-DEBUG: io-channel-basic: ...from 5: OK
910s # GLib-DEBUG: io-channel-basic: child writing 8+2279 bytes to 6
910s # GLib-DEBUG: io-channel-basic: child exiting, closing 6
910s # GLib-DEBUG: io-channel-basic: ...from 5: IN
910s # GLib-DEBUG: io-channel-basic: ...from 5: 2279 bytes
910s # GLib-DEBUG: io-channel-basic: ...from 5: OK
910s # GLib-DEBUG: io-channel-basic: ...from 5: HUP
910s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
910s # random seed: R02Sa851f208b00fd0c93d15c90a417142bb
910s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
910s # random seed: R02Saa7deb59f126378186dea1b3a4b7fb7e
910s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
910s # random seed: R02S7e8516daf1527a4d40b81e8afc39109b
910s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
910s # random seed: R02Sc84925896254348f32b2adbad9262c9f
910s # Subtest: /usr/libexec/installed-tests/glib/io-channel-basic
910s # random seed: R02S2d9dcdc7db81228aa5b267edf1cb4bb3
911s # GLib-DEBUG: io-channel-basic: child writing 8+3016 bytes to 11
911s # GLib-DEBUG: io-channel-basic: ...from 10: IN
911s # GLib-DEBUG: io-channel-basic: ...from 10: 3016 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 10: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+4816 bytes to 13
911s # GLib-DEBUG: io-channel-basic: ...from 12: IN
911s # GLib-DEBUG: io-channel-basic: ...from 12: 4816 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 12: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+4170 bytes to 15
911s # GLib-DEBUG: io-channel-basic: ...from 14: IN
911s # GLib-DEBUG: io-channel-basic: ...from 14: 4170 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 14: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+171 bytes to 17
911s # GLib-DEBUG: io-channel-basic: ...from 16: IN
911s # GLib-DEBUG: io-channel-basic: ...from 16: 171 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 16: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+1991 bytes to 9
911s # GLib-DEBUG: io-channel-basic: ...from 8: IN
911s # GLib-DEBUG: io-channel-basic: ...from 8: 1991 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 8: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+2913 bytes to 11
911s # GLib-DEBUG: io-channel-basic: ...from 10: IN
911s # GLib-DEBUG: io-channel-basic: ...from 10: 2913 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 10: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+2526 bytes to 13
911s # GLib-DEBUG: io-channel-basic: ...from 12: IN
911s # GLib-DEBUG: io-channel-basic: ...from 12: 2526 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 12: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+4088 bytes to 15
911s # GLib-DEBUG: io-channel-basic: ...from 14: IN
911s # GLib-DEBUG: io-channel-basic: ...from 14: 4088 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 14: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+760 bytes to 17
911s # GLib-DEBUG: io-channel-basic: ...from 16: IN
911s # GLib-DEBUG: io-channel-basic: ...from 16: 760 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 16: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+4274 bytes to 9
911s # GLib-DEBUG: io-channel-basic: ...from 8: IN
911s # GLib-DEBUG: io-channel-basic: ...from 8: 4274 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 8: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+3072 bytes to 11
911s # GLib-DEBUG: io-channel-basic: ...from 10: IN
911s # GLib-DEBUG: io-channel-basic: ...from 10: 3072 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 10: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+2634 bytes to 17
911s # GLib-DEBUG: io-channel-basic: ...from 16: IN
911s # GLib-DEBUG: io-channel-basic: ...from 16: 2634 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 16: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+2037 bytes to 13
911s # GLib-DEBUG: io-channel-basic: ...from 12: IN
911s # GLib-DEBUG: io-channel-basic: ...from 12: 2037 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 12: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+2061 bytes to 15
911s # GLib-DEBUG: io-channel-basic: ...from 14: IN
911s # GLib-DEBUG: io-channel-basic: ...from 14: 2061 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 14: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+3806 bytes to 9
911s # GLib-DEBUG: io-channel-basic: ...from 8: IN
911s # GLib-DEBUG: io-channel-basic: ...from 8: 3806 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 8: OK
911s # Executing: glib/io-channel-basic.test
911s # GLib-DEBUG: io-channel-basic: child writing 8+1175 bytes to 11
911s # GLib-DEBUG: io-channel-basic: ...from 10: IN
911s # GLib-DEBUG: io-channel-basic: ...from 10: 1175 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 10: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+4256 bytes to 13
911s # GLib-DEBUG: io-channel-basic: ...from 12: IN
911s # GLib-DEBUG: io-channel-basic: ...from 12: 4256 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 12: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+3779 bytes to 17
911s # GLib-DEBUG: io-channel-basic: ...from 16: IN
911s # GLib-DEBUG: io-channel-basic: ...from 16: 3779 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 16: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+4233 bytes to 15
911s # GLib-DEBUG: io-channel-basic: ...from 14: IN
911s # GLib-DEBUG: io-channel-basic: ...from 14: 4233 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 14: OK
911s # GLib-DEBUG: io-channel-basic: child writing 8+1832 bytes to 9
911s # GLib-DEBUG: io-channel-basic: ...from 8: IN
911s # GLib-DEBUG: io-channel-basic: ...from 8: 1832 bytes
911s # GLib-DEBUG: io-channel-basic: ...from 8: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+1105 bytes to 11
912s # GLib-DEBUG: io-channel-basic: ...from 10: IN
912s # GLib-DEBUG: io-channel-basic: ...from 10: 1105 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 10: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+2217 bytes to 17
912s # GLib-DEBUG: io-channel-basic: ...from 16: IN
912s # GLib-DEBUG: io-channel-basic: ...from 16: 2217 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 16: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+980 bytes to 13
912s # GLib-DEBUG: io-channel-basic: ...from 12: IN
912s # GLib-DEBUG: io-channel-basic: ...from 12: 980 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 12: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+2613 bytes to 15
912s # GLib-DEBUG: io-channel-basic: ...from 14: IN
912s # GLib-DEBUG: io-channel-basic: ...from 14: 2613 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 14: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+3096 bytes to 9
912s # GLib-DEBUG: io-channel-basic: ...from 8: IN
912s # GLib-DEBUG: io-channel-basic: ...from 8: 3096 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 8: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+1843 bytes to 11
912s # GLib-DEBUG: io-channel-basic: ...from 10: IN
912s # GLib-DEBUG: io-channel-basic: ...from 10: 1843 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 10: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+297 bytes to 17
912s # GLib-DEBUG: io-channel-basic: ...from 16: IN
912s # GLib-DEBUG: io-channel-basic: ...from 16: 297 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 16: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+1730 bytes to 13
912s # GLib-DEBUG: io-channel-basic: ...from 12: IN
912s # GLib-DEBUG: io-channel-basic: ...from 12: 1730 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 12: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+2948 bytes to 9
912s # GLib-DEBUG: io-channel-basic: ...from 8: IN
912s # GLib-DEBUG: io-channel-basic: ...from 8: 2948 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 8: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+823 bytes to 15
912s # GLib-DEBUG: io-channel-basic: ...from 14: IN
912s # GLib-DEBUG: io-channel-basic: ...from 14: 823 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 14: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+1718 bytes to 11
912s # GLib-DEBUG: io-channel-basic: ...from 10: IN
912s # GLib-DEBUG: io-channel-basic: ...from 10: 1718 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 10: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+2168 bytes to 17
912s # GLib-DEBUG: io-channel-basic: ...from 16: IN
912s # GLib-DEBUG: io-channel-basic: ...from 16: 2168 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 16: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+3194 bytes to 13
912s # GLib-DEBUG: io-channel-basic: ...from 12: IN
912s # GLib-DEBUG: io-channel-basic: ...from 12: 3194 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 12: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+667 bytes to 15
912s # GLib-DEBUG: io-channel-basic: ...from 14: IN
912s # GLib-DEBUG: io-channel-basic: ...from 14: 667 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 14: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+3930 bytes to 9
912s # GLib-DEBUG: io-channel-basic: ...from 8: IN
912s # GLib-DEBUG: io-channel-basic: ...from 8: 3930 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 8: OK
912s # GLib-DEBUG: io-channel-basic: child writing 8+3105 bytes to 11
912s # GLib-DEBUG: io-channel-basic: ...from 10: IN
912s # GLib-DEBUG: io-channel-basic: ...from 10: 3105 bytes
912s # GLib-DEBUG: io-channel-basic: ...from 10: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+2272 bytes to 17
913s # GLib-DEBUG: io-channel-basic: ...from 16: IN
913s # GLib-DEBUG: io-channel-basic: ...from 16: 2272 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 16: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+4990 bytes to 15
913s # GLib-DEBUG: io-channel-basic: ...from 14: IN
913s # GLib-DEBUG: io-channel-basic: ...from 14: 4990 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 14: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+1784 bytes to 13
913s # GLib-DEBUG: io-channel-basic: ...from 12: IN
913s # GLib-DEBUG: io-channel-basic: ...from 12: 1784 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 12: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+2107 bytes to 9
913s # GLib-DEBUG: io-channel-basic: ...from 8: IN
913s # GLib-DEBUG: io-channel-basic: ...from 8: 2107 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 8: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+4113 bytes to 11
913s # GLib-DEBUG: io-channel-basic: ...from 10: IN
913s # GLib-DEBUG: io-channel-basic: ...from 10: 4113 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 10: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+3806 bytes to 9
913s # GLib-DEBUG: io-channel-basic: ...from 8: IN
913s # GLib-DEBUG: io-channel-basic: ...from 8: 3806 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 8: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+1820 bytes to 13
913s # GLib-DEBUG: io-channel-basic: ...from 12: IN
913s # GLib-DEBUG: io-channel-basic: ...from 12: 1820 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 12: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+3962 bytes to 17
913s # GLib-DEBUG: io-channel-basic: ...from 16: IN
913s # GLib-DEBUG: io-channel-basic: ...from 16: 3962 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 16: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+4084 bytes to 15
913s # GLib-DEBUG: io-channel-basic: ...from 14: IN
913s # GLib-DEBUG: io-channel-basic: ...from 14: 4084 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 14: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+1912 bytes to 11
913s # GLib-DEBUG: io-channel-basic: ...from 10: IN
913s # GLib-DEBUG: io-channel-basic: ...from 10: 1912 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 10: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+3548 bytes to 17
913s # GLib-DEBUG: io-channel-basic: ...from 16: IN
913s # GLib-DEBUG: io-channel-basic: ...from 16: 3548 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 16: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+1611 bytes to 9
913s # GLib-DEBUG: io-channel-basic: ...from 8: IN
913s # GLib-DEBUG: io-channel-basic: ...from 8: 1611 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 8: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+4255 bytes to 13
913s # GLib-DEBUG: io-channel-basic: ...from 12: IN
913s # GLib-DEBUG: io-channel-basic: ...from 12: 4255 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 12: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+2857 bytes to 15
913s # GLib-DEBUG: io-channel-basic: ...from 14: IN
913s # GLib-DEBUG: io-channel-basic: ...from 14: 2857 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 14: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+2727 bytes to 11
913s # GLib-DEBUG: io-channel-basic: ...from 10: IN
913s # GLib-DEBUG: io-channel-basic: ...from 10: 2727 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 10: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+4555 bytes to 17
913s # GLib-DEBUG: io-channel-basic: ...from 16: IN
913s # GLib-DEBUG: io-channel-basic: ...from 16: 4555 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 16: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+140 bytes to 13
913s # GLib-DEBUG: io-channel-basic: ...from 12: IN
913s # GLib-DEBUG: io-channel-basic: ...from 12: 140 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 12: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+1112 bytes to 9
913s # GLib-DEBUG: io-channel-basic: ...from 8: IN
913s # GLib-DEBUG: io-channel-basic: ...from 8: 1112 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 8: OK
913s # GLib-DEBUG: io-channel-basic: child writing 8+3660 bytes to 15
913s # GLib-DEBUG: io-channel-basic: ...from 14: IN
913s # GLib-DEBUG: io-channel-basic: ...from 14: 3660 bytes
913s # GLib-DEBUG: io-channel-basic: ...from 14: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+3619 bytes to 11
914s # GLib-DEBUG: io-channel-basic: ...from 10: IN
914s # GLib-DEBUG: io-channel-basic: ...from 10: 3619 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 10: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+2032 bytes to 17
914s # GLib-DEBUG: io-channel-basic: ...from 16: IN
914s # GLib-DEBUG: io-channel-basic: ...from 16: 2032 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 16: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+3014 bytes to 13
914s # GLib-DEBUG: io-channel-basic: ...from 12: IN
914s # GLib-DEBUG: io-channel-basic: ...from 12: 3014 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 12: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+201 bytes to 9
914s # GLib-DEBUG: io-channel-basic: ...from 8: IN
914s # GLib-DEBUG: io-channel-basic: ...from 8: 201 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 8: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+1995 bytes to 15
914s # GLib-DEBUG: io-channel-basic: ...from 14: IN
914s # GLib-DEBUG: io-channel-basic: ...from 14: 1995 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 14: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+3220 bytes to 11
914s # GLib-DEBUG: io-channel-basic: ...from 10: IN
914s # GLib-DEBUG: io-channel-basic: ...from 10: 3220 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 10: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+3612 bytes to 13
914s # GLib-DEBUG: io-channel-basic: ...from 12: IN
914s # GLib-DEBUG: io-channel-basic: ...from 12: 3612 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 12: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+176 bytes to 9
914s # GLib-DEBUG: io-channel-basic: ...from 8: IN
914s # GLib-DEBUG: io-channel-basic: ...from 8: 176 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 8: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+4274 bytes to 17
914s # GLib-DEBUG: io-channel-basic: ...from 16: IN
914s # GLib-DEBUG: io-channel-basic: ...from 16: 4274 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 16: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+2323 bytes to 15
914s # GLib-DEBUG: io-channel-basic: ...from 14: IN
914s # GLib-DEBUG: io-channel-basic: ...from 14: 2323 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 14: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+2254 bytes to 11
914s # GLib-DEBUG: io-channel-basic: ...from 10: IN
914s # GLib-DEBUG: io-channel-basic: ...from 10: 2254 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 10: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+4794 bytes to 13
914s # GLib-DEBUG: io-channel-basic: ...from 12: IN
914s # GLib-DEBUG: io-channel-basic: ...from 12: 4794 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 12: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+316 bytes to 9
914s # GLib-DEBUG: io-channel-basic: ...from 8: IN
914s # GLib-DEBUG: io-channel-basic: ...from 8: 316 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 8: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+4951 bytes to 17
914s # GLib-DEBUG: io-channel-basic: ...from 16: IN
914s # GLib-DEBUG: io-channel-basic: ...from 16: 4951 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 16: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+4665 bytes to 15
914s # GLib-DEBUG: io-channel-basic: ...from 14: IN
914s # GLib-DEBUG: io-channel-basic: ...from 14: 4665 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 14: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+1469 bytes to 11
914s # GLib-DEBUG: io-channel-basic: ...from 10: IN
914s # GLib-DEBUG: io-channel-basic: ...from 10: 1469 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 10: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+3339 bytes to 9
914s # GLib-DEBUG: io-channel-basic: ...from 8: IN
914s # GLib-DEBUG: io-channel-basic: ...from 8: 3339 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 8: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+4853 bytes to 17
914s # GLib-DEBUG: io-channel-basic: ...from 16: IN
914s # GLib-DEBUG: io-channel-basic: ...from 16: 4853 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 16: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+4824 bytes to 13
914s # GLib-DEBUG: io-channel-basic: ...from 12: IN
914s # GLib-DEBUG: io-channel-basic: ...from 12: 4824 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 12: OK
914s # GLib-DEBUG: io-channel-basic: child writing 8+2652 bytes to 15
914s # GLib-DEBUG: io-channel-basic: ...from 14: IN
914s # GLib-DEBUG: io-channel-basic: ...from 14: 2652 bytes
914s # GLib-DEBUG: io-channel-basic: ...from 14: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+3673 bytes to 9
915s # GLib-DEBUG: io-channel-basic: ...from 8: IN
915s # GLib-DEBUG: io-channel-basic: ...from 8: 3673 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 8: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+3995 bytes to 11
915s # GLib-DEBUG: io-channel-basic: ...from 10: IN
915s # GLib-DEBUG: io-channel-basic: ...from 10: 3995 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 10: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+2480 bytes to 17
915s # GLib-DEBUG: io-channel-basic: ...from 16: IN
915s # GLib-DEBUG: io-channel-basic: ...from 16: 2480 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 16: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+1816 bytes to 13
915s # GLib-DEBUG: io-channel-basic: ...from 12: IN
915s # GLib-DEBUG: io-channel-basic: ...from 12: 1816 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 12: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+3263 bytes to 15
915s # GLib-DEBUG: io-channel-basic: ...from 14: IN
915s # GLib-DEBUG: io-channel-basic: ...from 14: 3263 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 14: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+1997 bytes to 9
915s # GLib-DEBUG: io-channel-basic: ...from 8: IN
915s # GLib-DEBUG: io-channel-basic: ...from 8: 1997 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 8: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+2613 bytes to 11
915s # GLib-DEBUG: io-channel-basic: ...from 10: IN
915s # GLib-DEBUG: io-channel-basic: ...from 10: 2613 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 10: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+130 bytes to 17
915s # GLib-DEBUG: io-channel-basic: ...from 16: IN
915s # GLib-DEBUG: io-channel-basic: ...from 16: 130 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 16: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+1644 bytes to 13
915s # GLib-DEBUG: io-channel-basic: ...from 12: IN
915s # GLib-DEBUG: io-channel-basic: ...from 12: 1644 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 12: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+3596 bytes to 15
915s # GLib-DEBUG: io-channel-basic: ...from 14: IN
915s # GLib-DEBUG: io-channel-basic: ...from 14: 3596 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 14: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+1564 bytes to 11
915s # GLib-DEBUG: io-channel-basic: ...from 10: IN
915s # GLib-DEBUG: io-channel-basic: ...from 10: 1564 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 10: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+4136 bytes to 17
915s # GLib-DEBUG: io-channel-basic: ...from 16: IN
915s # GLib-DEBUG: io-channel-basic: ...from 16: 4136 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 16: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+4375 bytes to 9
915s # GLib-DEBUG: io-channel-basic: ...from 8: IN
915s # GLib-DEBUG: io-channel-basic: ...from 8: 4375 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 8: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+1453 bytes to 13
915s # GLib-DEBUG: io-channel-basic: ...from 12: IN
915s # GLib-DEBUG: io-channel-basic: ...from 12: 1453 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 12: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+1489 bytes to 15
915s # GLib-DEBUG: io-channel-basic: ...from 14: IN
915s # GLib-DEBUG: io-channel-basic: ...from 14: 1489 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 14: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+4555 bytes to 11
915s # GLib-DEBUG: io-channel-basic: ...from 10: IN
915s # GLib-DEBUG: io-channel-basic: ...from 10: 4555 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 10: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+415 bytes to 9
915s # GLib-DEBUG: io-channel-basic: ...from 8: IN
915s # GLib-DEBUG: io-channel-basic: ...from 8: 415 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 8: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+1753 bytes to 17
915s # GLib-DEBUG: io-channel-basic: ...from 16: IN
915s # GLib-DEBUG: io-channel-basic: ...from 16: 1753 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 16: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+3807 bytes to 15
915s # GLib-DEBUG: io-channel-basic: ...from 14: IN
915s # GLib-DEBUG: io-channel-basic: ...from 14: 3807 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 14: OK
915s # GLib-DEBUG: io-channel-basic: child writing 8+305 bytes to 13
915s # GLib-DEBUG: io-channel-basic: ...from 12: IN
915s # GLib-DEBUG: io-channel-basic: ...from 12: 305 bytes
915s # GLib-DEBUG: io-channel-basic: ...from 12: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+2464 bytes to 11
916s # GLib-DEBUG: io-channel-basic: ...from 10: IN
916s # GLib-DEBUG: io-channel-basic: ...from 10: 2464 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 10: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+2544 bytes to 9
916s # GLib-DEBUG: io-channel-basic: ...from 8: IN
916s # GLib-DEBUG: io-channel-basic: ...from 8: 2544 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 8: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+4827 bytes to 17
916s # GLib-DEBUG: io-channel-basic: ...from 16: IN
916s # GLib-DEBUG: io-channel-basic: ...from 16: 4827 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 16: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+966 bytes to 15
916s # GLib-DEBUG: io-channel-basic: ...from 14: IN
916s # GLib-DEBUG: io-channel-basic: ...from 14: 966 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 14: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+3334 bytes to 13
916s # GLib-DEBUG: io-channel-basic: child exiting, closing 13
916s # GLib-DEBUG: io-channel-basic: ...from 12: HUP IN
916s # GLib-DEBUG: io-channel-basic: ...from 12: 3334 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 12: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+3834 bytes to 11
916s # GLib-DEBUG: io-channel-basic: ...from 10: IN
916s # GLib-DEBUG: io-channel-basic: ...from 10: 3834 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 10: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+3563 bytes to 9
916s # GLib-DEBUG: io-channel-basic: ...from 8: IN
916s # GLib-DEBUG: io-channel-basic: ...from 8: 3563 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 8: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+2730 bytes to 17
916s # GLib-DEBUG: io-channel-basic: child exiting, closing 17
916s # GLib-DEBUG: io-channel-basic: ...from 16: HUP IN
916s # GLib-DEBUG: io-channel-basic: ...from 16: 2730 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 16: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+2125 bytes to 15
916s # GLib-DEBUG: io-channel-basic: child exiting, closing 15
916s # GLib-DEBUG: io-channel-basic: ...from 14: HUP IN
916s # GLib-DEBUG: io-channel-basic: ...from 14: 2125 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 14: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+1478 bytes to 11
916s # GLib-DEBUG: io-channel-basic: child exiting, closing 11
916s # GLib-DEBUG: io-channel-basic: ...from 10: HUP IN
916s # GLib-DEBUG: io-channel-basic: ...from 10: 1478 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 10: OK
916s # GLib-DEBUG: io-channel-basic: child writing 8+796 bytes to 9
916s # GLib-DEBUG: io-channel-basic: ...from 8: IN
916s # GLib-DEBUG: io-channel-basic: ...from 8: 796 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 8: OK
916s # Executing: glib/io-channel-basic.test
916s # GLib-DEBUG: io-channel-basic: child writing 8+2946 bytes to 9
916s # GLib-DEBUG: io-channel-basic: ...from 8: IN
916s # GLib-DEBUG: io-channel-basic: ...from 8: 2946 bytes
916s # GLib-DEBUG: io-channel-basic: ...from 8: OK
917s # GLib-DEBUG: io-channel-basic: child writing 8+1483 bytes to 9
917s # GLib-DEBUG: io-channel-basic: child exiting, closing 9
917s # GLib-DEBUG: io-channel-basic: ...from 8: HUP IN
917s # GLib-DEBUG: io-channel-basic: ...from 8: 1483 bytes
917s # GLib-DEBUG: io-channel-basic: ...from 8: OK
917s ok 1 /gio/io-basics
917s # slow test /gio/io-basics executed in 12.04 secs
917s # End of gio tests
917s ok - glib/io-channel-basic.test
917s # Running test: glib/gdbus-address-get-session.test
917s TAP version 14
917s # random seed: R02S8ba4bdc3d8baf11d82feac7efacea6be
917s 1..2
917s # Start of gdbus tests
917s ok 1 /gdbus/x11-autolaunch
917s ok 2 /gdbus/xdg-runtime
917s # End of gdbus tests
917s ok - glib/gdbus-address-get-session.test
917s # Running test: glib/cxx-2b.test
917s TAP version 14
917s # random seed: R02S81ebbfe7236ea79086949f3800171f2b
917s 1..2
917s # Start of gtask tests
917s # 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.
917s ok 1 /gtask/name
917s # Start of name tests
917s # 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.
917s ok 2 /gtask/name/macro-wrapper
917s # End of name tests
917s # End of gtask tests
917s ok - glib/cxx-2b.test
917s # Running test: glib/atomic.test
917s TAP version 14
917s # random seed: R02Scf3fd5ff40246d8d30b9175ca921bc99
917s 1..2
917s # Start of atomic tests
917s ok 1 /atomic/types
917s ok 2 /atomic/threaded
917s # End of atomic tests
917s ok - glib/atomic.test
917s # Running test: glib/memory-monitor-dbus.test
917s TAP version 13
917s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal # SKIP https://bugs.debian.org/995178
917s 1..1
917s ok - glib/memory-monitor-dbus.test
917s # Running test: glib/gi-inspect-typelib.py.test
917s TAP version 13
917s ok 1 __main__.TestGIInspectTypelibCommandLine.test_help
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmpvm555t0a
917s # Running: ['/usr/bin/gi-inspect-typelib', '--help']
917s # Return code: 0
917s # Output:
917s # Usage:
917s # gi-inspect-typelib [OPTION…] NAMESPACE - Inspect GI typelib
917s #
917s # Help Options:
917s # -h, --help Show help options
917s #
917s # Application Options:
917s # --typelib-version=VERSION Typelib version to inspect
917s # --print-shlibs List the shared libraries the typelib requires
917s # --print-typelibs List other typelibs the inspected typelib requires
917s # Error:
917s ok 2 __main__.TestGIInspectTypelibCommandLine.test_invalid_typelib
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmp9qqmcb3v
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'AnInvalidNameSpace']
917s # Return code: 1
917s # Output:
917s #
917s # Error:
917s # Failed to load typelib: Typelib file for namespace 'AnInvalidNameSpace' (any version) not found
917s ok 3 __main__.TestGIInspectTypelibCommandLine.test_no_args
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmp19fv2520
917s # Running: ['/usr/bin/gi-inspect-typelib']
917s # Return code: 1
917s # Output:
917s #
917s # Error:
917s # Please specify exactly one namespace
917s ok 4 __main__.TestGIInspectTypelibForGLibTypelib.test_print_shlibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmp7eqnopfc
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GLib', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # shlib: libgobject-2.0.so.0
917s # shlib: libglib-2.0.so.0
917s # Error:
917s ok 5 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmpmg4w0fyg
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GLib', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s #
917s # Error:
917s ok 6 __main__.TestGIInspectTypelibForGLibTypelib.test_print_typelibs_and_shlibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmp059fb869
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GLib', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # shlib: libgobject-2.0.so.0
917s # shlib: libglib-2.0.so.0
917s # Error:
917s ok 7 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_shlibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmpirn1rf28
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'GObject', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # shlib: libgobject-2.0.so.0
917s # Error:
917s ok 8 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmpafdbgr00
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'GObject', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # typelib: GLib-2.0
917s # Error:
917s ok 9 __main__.TestGIInspectTypelibForGObjectTypelib.test_print_typelibs_and_shlibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmpqjkjaedh
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'GObject', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # shlib: libgobject-2.0.so.0
917s # typelib: GLib-2.0
917s # Error:
917s ok 10 __main__.TestGIInspectTypelibForGioTypelib.test_print_shlibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmpte34ii9v
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-shlibs', 'Gio', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # shlib: libgio-2.0.so.0
917s # Error:
917s ok 11 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmpffpvmunk
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', 'Gio', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # typelib: GObject-2.0
917s # typelib: GLib-2.0
917s # typelib: GModule-2.0
917s # Error:
917s ok 12 __main__.TestGIInspectTypelibForGioTypelib.test_print_typelibs_and_shlibs
917s # gi-inspect-typelib: /usr/bin/gi-inspect-typelib
917s # tmpdir: /tmp/tmp4j1swg9u
917s # Running: ['/usr/bin/gi-inspect-typelib', '--print-typelibs', '--print-shlibs', 'Gio', '--typelib-version=2.0']
917s # Return code: 0
917s # Output:
917s # shlib: libgio-2.0.so.0
917s # typelib: GObject-2.0
917s # typelib: GLib-2.0
917s # typelib: GModule-2.0
917s # Error:
917s 1..12
917s ok - glib/gi-inspect-typelib.py.test
917s # Running test: glib/cache.test
917s TAP version 14
917s # random seed: R02Scdfe6cf06df40d2283b447089412a51e
917s 1..1
917s # Start of cache tests
917s ok 1 /cache/basic
917s # End of cache tests
917s ok - glib/cache.test
917s # Running test: glib/signals-refcount4.test
917s TAP version 14
917s # random seed: R02S49c44d047d8adaa6f04f3333e084d5ae
917s 1..1
917s # Start of gobject tests
917s # Start of refcount tests
917s # init 0x2aa132cfdd0
917s #
917s # init 0x2aa132cc310
917s #
921s # Executing: glib/signals-refcount4.test
922s # dispose 0x2aa132cfdd0!
922s #
922s # dispose 0x2aa132cc310!
922s #
922s ok 1 /gobject/refcount/signals
922s # slow test /gobject/refcount/signals executed in 5.00 secs
922s # End of refcount tests
922s # End of gobject tests
922s ok - glib/signals-refcount4.test
922s # Running test: glib/type-flags.test
922s TAP version 14
922s # random seed: R02S84e9256cdbdcc34e5f9ad92b91069d55
922s 1..4
922s # Start of type tests
922s # Start of flags tests
922s ok 1 /type/flags/interface
922s ok 2 /type/flags/final
922s # /type/flags/deprecated summary: Test that trying to instantiate a deprecated type results in a warning.
922s ok 3 /type/flags/deprecated
922s # Start of final tests
922s ok 4 /type/flags/final/instance-check
922s # End of final tests
922s # End of flags tests
922s # End of type tests
922s TAP version 14
922s # random seed: R02Se6ce4e4f05f2d9d5cb5df99a54340853
922s 1..2
922s # Start of union-info tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_123852/union-info/basic/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_123852/union-info/basic/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_123852/union-info/basic/.dirs/system-config1:/tmp/test_union-info_123852/union-info/basic/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_123852/union-info/basic/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_123852/union-info/basic/.dirs/system-data1:/tmp/test_union-info_123852/union-info/basic/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_123852/union-info/basic/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_123852/union-info/basic/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_123852/union-info/basic/.dirs/runtime
922s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
922s # /union-info/basic summary: Test basic properties of GIUnionInfo
922s ok 1 /union-info/basic
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_union-info_123852/union-info/methods/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_union-info_123852/union-info/methods/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_union-info_123852/union-info/methods/.dirs/system-config1:/tmp/test_union-info_123852/union-info/methods/.dirs/system-config2
922s ok - glib/type-flags.test
922s # Running test: glib/union-info.test
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_union-info_123852/union-info/methods/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_union-info_123852/union-info/methods/.dirs/system-data1:/tmp/test_union-info_123852/union-info/methods/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_union-info_123852/union-info/methods/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_union-info_123852/union-info/methods/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_union-info_123852/union-info/methods/.dirs/runtime
922s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
922s # /union-info/methods summary: Test retrieving methods from GIUnionInfo
922s ok 2 /union-info/methods
922s # End of union-info tests
922s TAP version 14
922s # random seed: R02S0eeea19bade641e6460873a0dacf96dd
922s 1..8
922s # Start of gdbus tests
922s # Start of codegen tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/annotations/.dirs/runtime
922s ok 1 /gdbus/codegen/annotations
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/interface_stability/.dirs/runtime
922s ok 2 /gdbus/codegen/interface_stability
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/object-manager/.dirs/runtime
922s ok 3 /gdbus/codegen/object-manager
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/config
922s ok - glib/union-info.test
922s # Running test: glib/deftype.test
922s ok - glib/deftype.test
922s # Running test: glib/gdbus-test-codegen-min-required-2-64.test
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/property-naming/.dirs/runtime
922s ok 4 /gdbus/codegen/property-naming
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/autocleanups/.dirs/runtime
922s ok 5 /gdbus/codegen/autocleanups
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/home
922s ok - glib/gdbus-test-codegen-min-required-2-64.test
922s # Running test: glib/boxed.test
922s ok - glib/boxed.test
922s # Running test: glib/gdbus-proxy-threads.test
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/deprecations/.dirs/runtime
922s ok 6 /gdbus/codegen/deprecations
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/standalone-interface-info/.dirs/runtime
922s ok 7 /gdbus/codegen/standalone-interface-info
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-min-required-2-64_0F1852/gdbus/codegen/unix-fd-list/.dirs/runtime
922s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
922s ok 8 /gdbus/codegen/unix-fd-list
922s # End of codegen tests
922s # End of gdbus tests
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
922s TAP version 14
922s # random seed: R02Sff50674682ca4003976307c76d6736fb
922s 1..27
922s # Start of boxed tests
922s ok 1 /boxed/define
922s ok 2 /boxed/ownership
922s ok 3 /boxed/closure
922s ok 4 /boxed/date
922s ok 5 /boxed/value
922s ok 6 /boxed/string
922s ok 7 /boxed/hashtable
922s ok 8 /boxed/array
922s ok 9 /boxed/ptrarray
922s ok 10 /boxed/regex
922s ok 11 /boxed/varianttype
922s ok 12 /boxed/error
922s ok 13 /boxed/datetime
922s ok 14 /boxed/matchinfo
922s ok 15 /boxed/keyfile
922s ok 16 /boxed/mainloop
922s ok 17 /boxed/maincontext
922s ok 18 /boxed/source
922s ok 19 /boxed/variantbuilder
922s ok 20 /boxed/timezone
922s ok 21 /boxed/pollfd
922s ok 22 /boxed/markup
922s ok 23 /boxed/thread
922s ok 24 /boxed/checksum
922s ok 25 /boxed/tree
922s ok 26 /boxed/patternspec
922s ok 27 /boxed/rand
922s # End of boxed tests
922s TAP version 14
922s # random seed: R02S1eb9f79836b74aa22a33e7c1e655f9d2
922s 1..1
922s # Start of gdbus tests
922s # Start of proxy tests
922s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/home
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/cache
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/system-config1:/tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/system-config2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/config
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/system-data1:/tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/system-data2
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/data
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/state
922s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-threads_FODB62/gdbus/proxy/vs-threads/.dirs/runtime
922s ok 1 /gdbus/proxy/vs-threads
922s # End of proxy tests
922s # End of gdbus tests
922s cleaning up pid 8020
922s ok - glib/gdbus-proxy-threads.test
922s # Running test: glib/thumbnail-verification.test
922s TAP version 14
922s # random seed: R02Scf479fbe7f638c045f9d6718825673e7
922s 1..1
922s # Start of png-thumbs tests
922s ok 1 /png-thumbs/validity
922s # End of png-thumbs tests
922s ok - glib/thumbnail-verification.test
922s # Running test: glib/value.test
922s TAP version 14
922s # random seed: R02S3244414eb5a6b37a86fee9419b6d3bff
922s 1..9
922s # Start of value tests
922s ok 1 /value/basic
922s ok 2 /value/collection
922s ok 3 /value/copying
922s ok 4 /value/enum-transformation
922s ok 5 /value/gtype
922s # /value/string summary: Test that G_TYPE_STRING GValue copy properly
922s ok 6 /value/string
922s # Next: GObject object in GValue of GObject to GValue of GObject
922s # Next: GObject object in GValue of GObject to GValue of TestInterface
922s # Next: GObject object in GValue of GObject to GValue of TestObjectA
922s # Next: GObject object in GValue of GObject to GValue of TestObjectB
922s # Next: GObject object in GValue of GObject to GValue of TestObjectA1
922s # Next: GObject object in GValue of GObject to GValue of TestObjectA2
922s # Next: TestObjectA object in GValue of GObject to GValue of GObject
922s # Next: TestObjectA object in GValue of GObject to GValue of TestInterface
922s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA
922s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectB
922s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA1
922s # Next: TestObjectA object in GValue of GObject to GValue of TestObjectA2
922s # Next: TestObjectA object in GValue of TestObjectA to GValue of GObject
922s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestInterface
922s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA
922s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectB
922s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA1
922s # Next: TestObjectA object in GValue of TestObjectA to GValue of TestObjectA2
922s # Next: TestObjectB object in GValue of GObject to GValue of GObject
922s ok - glib/value.test
922s # Next: TestObjectB object in GValue of GObject to GValue of TestInterface
922s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA
922s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectB
922s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA1
922s # Next: TestObjectB object in GValue of GObject to GValue of TestObjectA2
922s # Next: TestObjectB object in GValue of TestInterface to GValue of GObject
922s # Next: TestObjectB object in GValue of TestInterface to GValue of TestInterface
922s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA
922s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectB
922s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA1
922s # Next: TestObjectB object in GValue of TestInterface to GValue of TestObjectA2
922s # Next: TestObjectB object in GValue of TestObjectB to GValue of GObject
922s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestInterface
922s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA
922s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectB
922s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA1
922s # Next: TestObjectB object in GValue of TestObjectB to GValue of TestObjectA2
922s # Next: TestObjectA1 object in GValue of GObject to GValue of GObject
922s # Next: TestObjectA1 object in GValue of GObject to GValue of TestInterface
922s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA
922s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectB
922s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA1
922s # Next: TestObjectA1 object in GValue of GObject to GValue of TestObjectA2
922s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of GObject
922s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestInterface
922s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA
922s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectB
922s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA1
922s # Next: TestObjectA1 object in GValue of TestObjectA to GValue of TestObjectA2
922s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of GObject
922s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestInterface
922s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA
922s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectB
922s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA1
922s # Next: TestObjectA1 object in GValue of TestObjectA1 to GValue of TestObjectA2
922s # Next: TestObjectA2 object in GValue of GObject to GValue of GObject
922s # Next: TestObjectA2 object in GValue of GObject to GValue of TestInterface
922s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA
922s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectB
922s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA1
922s # Next: TestObjectA2 object in GValue of GObject to GValue of TestObjectA2
922s # Next: TestObjectA2 object in GValue of TestInterface to GValue of GObject
922s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestInterface
922s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA
922s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectB
922s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA1
922s # Next: TestObjectA2 object in GValue of TestInterface to GValue of TestObjectA2
922s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of GObject
922s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestInterface
922s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA
922s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectB
922s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA1
922s # Next: TestObjectA2 object in GValue of TestObjectA to GValue of TestObjectA2
922s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of GObject
922s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestInterface
922s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA
922s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectB
922s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA1
922s # Next: TestObjectA2 object in GValue of TestObjectA2 to GValue of TestObjectA2
922s ok 7 /value/transform-object
922s # Start of array tests
922s ok 8 /value/array/basic
922s ok 9 /value/array/sort-with-data
922s # End of array tests
922s # End of value tests
923s # Running test: glib/signals-refcount3.test
923s TAP version 14
923s # random seed: R02S2fe8d04396927e1c5607378476e55fd0
923s 1..1
923s # Start of gobject tests
923s # Start of refcount tests
923s # init 0x2aa22b31dd0
923s #
923s # init 0x2aa22b2e310
923s #
926s # Executing: glib/signals-refcount3.test
927s # dispose 0x2aa22b31dd0!
927s #
927s # dispose 0x2aa22b2e310!
927s #
927s ok 1 /gobject/refcount/signals
927s # slow test /gobject/refcount/signals executed in 5.00 secs
927s # End of refcount tests
927s # End of gobject tests
927s ok - glib/signals-refcount3.test
927s # Running test: glib/timer.test
927s TAP version 14
928s # random seed: R02S8824d897aafde411720c8de0930c9811
928s 1..10
928s # Start of timer tests
928s ok 1 /timer/basic # SKIP Not reliable due to floating-point rounding (glib#820)
928s ok 2 /timer/stop
928s ok 3 /timer/continue
928s ok - glib/timer.test
928s # Running test: glib/properties-refcount3.test
928s ok 4 /timer/reset
928s ok 5 /timer/is_active
928s # End of timer tests
928s # Start of timeval tests
928s ok 6 /timeval/add
928s ok 7 /timeval/from-iso8601
928s ok 8 /timeval/to-iso8601
928s # Start of to-iso8601 tests
928s ok 9 /timeval/to-iso8601/overflow
928s # End of to-iso8601 tests
928s # End of timeval tests
928s # Start of usleep tests
928s ok 10 /usleep/with-zero-wait
928s # End of usleep tests
928s TAP version 14
928s # random seed: R02S4f01e5595d3d22c1582dfd8961515af8
928s 1..1
928s # Start of gobject tests
928s # Start of refcount tests
931s # Executing: glib/properties-refcount3.test
936s # Executing: glib/properties-refcount3.test
941s # Executing: glib/properties-refcount3.test
946s # Executing: glib/properties-refcount3.test
952s # Executing: glib/properties-refcount3.test
956s # Executing: glib/properties-refcount3.test
958s ok - glib/properties-refcount3.test
958s #
958s # stopping
958s #
958s # stopped
958s #
958s # 40885080 1589219
958s #
958s ok 1 /gobject/refcount/properties-3
958s # slow test /gobject/refcount/properties-3 executed in 30.00 secs
958s # End of refcount tests
958s # End of gobject tests
958s # Running test: glib/converter-stream.test
958s TAP version 14
958s # random seed: R02Sefc2b2c866e4373d5b70940f502ad85a
958s 1..17
958s # Start of converter tests
958s ok 1 /converter/basics
958s # End of converter tests
958s # Start of converter-input-stream tests
958s ok 2 /converter-input-stream/expander
958s ok 3 /converter-input-stream/compressor
958s # Start of truncation tests
958s ok 4 /converter-input-stream/truncation/zlib
958s ok 5 /converter-input-stream/truncation/gzip
958s ok 6 /converter-input-stream/truncation/raw
958s # End of truncation tests
958s # Start of charset tests
958s ok 7 /converter-input-stream/charset/utf8->latin1
958s ok 8 /converter-input-stream/charset/latin1->utf8
958s ok 9 /converter-input-stream/charset/fallbacks
958s # End of charset tests
958s # End of converter-input-stream tests
958s # Start of converter-output-stream tests
958s # Start of roundtrip tests
958s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
958s ok 10 /converter-output-stream/roundtrip/zlib-0
958s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
958s ok 11 /converter-output-stream/roundtrip/zlib-9
958s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
958s ok 12 /converter-output-stream/roundtrip/gzip-0
958s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
958s ok 13 /converter-output-stream/roundtrip/gzip-9
958s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
958s ok 14 /converter-output-stream/roundtrip/raw-0
958s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=619945
959s ok 15 /converter-output-stream/roundtrip/raw-9
959s # End of roundtrip tests
959s # End of converter-output-stream tests
959s # Start of converter-stream tests
959s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
959s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa143da730 and GSocketClientAsyncConnectData 0x2aa143d7530
959s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
959s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
959s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa13febbc0 for GSocketClientAsyncConnectData 0x2aa143d7530
959s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
959s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
959s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
959s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
959s ok 16 /converter-stream/pollable
959s ok 17 /converter-stream/leftover
959s # End of converter-stream tests
959s ok - glib/converter-stream.test
959s # Running test: glib/module-test-library.test
959s TAP version 14
959s # random seed: R02S97f4894d49fbab7829ab5a923104a0f7
959s 1..3
959s # Start of module tests
959s ok 1 /module/basics
959s # /module/invalid-libtool-archive summary: Test that opening an invalid .la file fails
959s ok 2 /module/invalid-libtool-archive
959s # /module/local-binding summary: Test that binding a library's symbols locally does not add them globally
959s ok 3 /module/local-binding
959s # End of module tests
959s TAP version 14
959s # random seed: R02S5d4066d1b712947fd4b50f9de7037b4f
959s 1..6
959s # Start of node tests
959s ok 1 /node/allocation
959s ok 2 /node/construction
959s ok 3 /node/traversal
959s ok 4 /node/misc
959s ok 5 /node/unlink
959s ok 6 /node/copy
959s # End of node tests
959s TAP version 14
959s # random seed: R02S9c35d07fad1f064ce0d847a8c92d8bbd
959s 1..3
959s # Start of unicode tests
959s # Processing Part0 # Specific cases
959s # Processing Part1 # Character by character test
959s ok - glib/module-test-library.test
959s # Running test: glib/node.test
959s ok - glib/node.test
959s # Running test: glib/unicode-normalize.test
959s # Processing Part2 # Canonical Order Test
959s # Processing Part3 # PRI #29 Test
959s # Processing Part4 # Canonical closures (excluding Hangul)
959s # Processing Part5 # Chained primary composites
959s ok 1 /unicode/normalize
959s # Invalid UTF-8 vector 0
959s # Invalid UTF-8 vector 1
959s # Invalid UTF-8 vector 2
959s # Invalid UTF-8 vector 3
959s # Invalid UTF-8 vector 4
959s # Invalid UTF-8 vector 5
959s # Invalid UTF-8 vector 6
959s # Invalid UTF-8 vector 7
959s # Invalid UTF-8 vector 8
959s # Invalid UTF-8 vector 9
959s # Invalid UTF-8 vector 10
959s # Invalid UTF-8 vector 11
959s # Invalid UTF-8 vector 12
959s ok 2 /unicode/normalize-invalid
959s # Start of normalize tests
959s ok 3 /unicode/normalize/bad-length
959s # End of normalize tests
959s # End of unicode tests
959s ok - glib/unicode-normalize.test
959s # Running test: glib/markup.test
959s ok - glib/markup.test
959s TAP version 14
959s # random seed: R02S2fc5a63fd6b10cdc817fd4d1fa7b7517
959s 1..1
959s # Start of markup tests
959s ok 1 /markup/stack
959s # End of markup tests
959s # Running test: glib/spawn-multithreaded.test
959s TAP version 14
959s # random seed: R02S1664c53f4c7d4051bffd734adbe56885
959s 1..4
959s # Start of gthread tests
960s # Child 8067 (ttl 1) exited, status 0
961s # Child 8068 (ttl 2) exited, status 0
961s ok 1 /gthread/spawn-childs
961s # slow test /gthread/spawn-childs executed in 2.00 secs
961s # Created pid: 8073 (ttl 2)
961s # Created pid: 8072 (ttl 1)
961s # Executing: glib/spawn-multithreaded.test
962s # Child 8072 (ttl 1) exited, status 0
963s # Child 8073 (ttl 2) exited, status 0
963s ok 2 /gthread/spawn-childs-threads
963s # slow test /gthread/spawn-childs-threads executed in 2.00 secs
963s ok - glib/spawn-multithreaded.test
963s # Running test: glib/dir.test
963s ok - glib/dir.test
963s # Running test: glib/hostutils.test
963s ok 3 /gthread/spawn-sync
963s ok 4 /gthread/spawn-async
963s # End of gthread tests
963s TAP version 14
963s # random seed: R02S571cc2d095cdbd9dcb125446ff04ec3d
963s 1..3
963s # Start of dir tests
963s ok 1 /dir/read
963s ok 2 /dir/nonexisting
963s # /dir/refcounting summary: Test refcounting interactions with g_dir_close()
963s ok 3 /dir/refcounting
963s # End of dir tests
963s ok - glib/hostutils.test
963s TAP version 14
963s # random seed: R02S100736862443bfe993bbf83e6c19307e
963s 1..3
963s # Start of hostutils tests
963s ok 1 /hostutils/to_ascii
963s ok 2 /hostutils/to_unicode
963s ok 3 /hostutils/is_ip_addr
963s # End of hostutils tests
963s # Running test: glib/dynamictype.test
963s ok - glib/dynamictype.test
963s TAP version 14
963s # random seed: R02Sbccad76434f2769400f751bd334f26f1
963s 1..2
963s # Start of gobject tests
963s ok 1 /gobject/dynamic-type
963s # Start of dynamic-type tests
963s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/623
963s ok 2 /gobject/dynamic-type/query
963s # End of dynamic-type tests
963s # End of gobject tests
963s # Running test: glib/gsocketclient-slow.test
963s TAP version 14
963s # random seed: R02S94556f3a4a715844bd5ab91b9b504db1
963s 1..4
963s # Start of socket-client tests
963s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3184
963s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
963s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2c1f3b10 and GSocketClientAsyncConnectData 0x2aa2c1ee0d0
963s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
963s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
963s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2c1f75e0 for GSocketClientAsyncConnectData 0x2aa2c1ee0d0
963s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
964s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
964s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
964s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
964s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
964s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
964s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2c1f75e0 for GSocketClientAsyncConnectData 0x2aa2c1ee0d0
964s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
964s # GLib-GIO-DEBUG: GSocketClient: Address enumeration completed (out of addresses)
964s # GLib-GIO-DEBUG: GSocketClient: Connection attempt failed: Connection refused
964s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Could not connect to localhost: Connection refused
964s ok 1 /socket-client/connection-fail
964s # slow test /socket-client/connection-fail executed in 1.27 secs
964s # Start of happy-eyeballs tests
964s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2c1f6340 and GSocketClientAsyncConnectData 0x2aa2c1f6f50
964s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
964s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
964s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2c1fa560 for GSocketClientAsyncConnectData 0x2aa2c1f6f50
964s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
965s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
965s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
965s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
965s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
965s ok 2 /socket-client/happy-eyeballs/slow
965s # slow test /socket-client/happy-eyeballs/slow executed in 0.60 secs
965s # Start of cancellation tests
965s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2c1f6c30 and GSocketClientAsyncConnectData 0x2aa2c1fa9e0
965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
965s # GLib-GIO-DEBUG: GSocketClient: Connection failed: Operation was cancelled
965s ok 3 /socket-client/happy-eyeballs/cancellation/instant
965s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa2c1f6190 and GSocketClientAsyncConnectData 0x2aa2c1fa6f0
965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
965s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
965s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa2c1fa3a0 for GSocketClientAsyncConnectData 0x2aa2c1fa6f0
965s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
965s # GLib-GIO-DEBUG: GSocketClient: Connection attempt delay reached, trying another enumeration
965s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
965s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
965s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
965s # GLib-GIO-DEBUG: GSocketClient: Connection cancelled!
965s ok 4 /socket-client/happy-eyeballs/cancellation/delayed
965s # slow test /socket-client/happy-eyeballs/cancellation/delayed executed in 0.60 secs
965s # End of cancellation tests
965s # End of happy-eyeballs tests
965s # End of socket-client tests
965s ok - glib/gsocketclient-slow.test
965s # Running test: glib/task.test
965s TAP version 14
965s # random seed: R02S52b363abaead9dea1ec768fe5c4d9d05
965s 1..36
965s # Start of gtask tests
965s ok 1 /gtask/basic
965s ok 2 /gtask/error
965s ok 3 /gtask/error-literal
965s ok 4 /gtask/error-literal-from-variable
965s ok 5 /gtask/return-from-same-iteration
965s ok 6 /gtask/return-from-toplevel
965s ok 7 /gtask/return-from-anon-thread
965s ok 8 /gtask/return-from-wrong-thread
965s ok 9 /gtask/no-callback
965s ok 10 /gtask/report-error
965s ok 11 /gtask/priority
965s ok 12 /gtask/name
965s ok 13 /gtask/static-name
965s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1608
966s ok 14 /gtask/asynchronous-cancellation
966s ok 15 /gtask/check-cancellable
966s ok 16 /gtask/return-if-cancelled
966s ok 17 /gtask/run-in-thread
966s ok 18 /gtask/run-in-thread-sync
966s ok 19 /gtask/run-in-thread-priority
966s ok 20 /gtask/run-in-thread-nested
966s # Executing: glib/task.test
966s ok 21 /gtask/run-in-thread-overflow
966s # slow test /gtask/run-in-thread-overflow executed in 0.51 secs
966s # GLib-GIO-DEBUG: GTask 0x2aa3057c8f0 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
966s # GLib-GIO-DEBUG: GTask 0x2aa3057ca80 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
966s ok 22 /gtask/return-on-cancel
966s # GLib-GIO-DEBUG: GTask 0x2aa30511f70 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
966s ok 23 /gtask/return-on-cancel-sync
966s # GLib-GIO-DEBUG: GTask 0x2aa30511a90 (source object: (nil), source tag: (nil)) finalized without ever returning (using g_task_return_*()). This potentially indicates a bug in the program.
966s ok 24 /gtask/return-on-cancel-atomic
966s ok 25 /gtask/return-pointer
966s ok 26 /gtask/return-value
967s ok - glib/task.test
967s # Running test: glib/binding.test
967s ok 27 /gtask/return-prefixed-error
967s ok 28 /gtask/object-keepalive
967s ok 29 /gtask/legacy-error
967s ok 30 /gtask/finalize-without-return
967s # Start of name tests
967s ok 31 /gtask/name/macro-wrapper
967s # End of name tests
967s # Start of return tests
967s ok 32 /gtask/return/error-first
967s ok 33 /gtask/return/value-first
967s # Start of in-idle tests
967s ok 34 /gtask/return/in-idle/error-first
967s ok 35 /gtask/return/in-idle/value-first
967s # End of in-idle tests
967s # End of return tests
967s # Start of attach-source tests
967s # /gtask/attach-source/set-name summary: Test that attaching a source to a task will set the source?s name if unset
967s ok 36 /gtask/attach-source/set-name
967s # End of attach-source tests
967s # End of gtask tests
967s TAP version 14
967s # random seed: R02S2ba6082e34e81631527a07073d2b558d
967s 1..19
967s # Start of binding tests
967s ok 1 /binding/default
967s # /binding/canonicalisation summary: Test that bindings set up with non-canonical property names work
967s ok 2 /binding/canonicalisation
967s ok 3 /binding/bidirectional
967s ok 4 /binding/transform
967s ok 5 /binding/transform-default
967s ok 6 /binding/transform-closure
967s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=621782
967s ok 7 /binding/chain
967s ok 8 /binding/sync-create
967s ok 9 /binding/invert-boolean
967s ok 10 /binding/same-object
967s ok 11 /binding/unbind
967s ok 12 /binding/unbind-weak
967s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1373
967s ok 13 /binding/unbind-multiple
967s ok 14 /binding/fail
967s ok 15 /binding/interface
967s # /binding/concurrent-unbind summary: Test that unbinding from multiple threads concurrently works correctly
967s ok 16 /binding/concurrent-unbind
967s # /binding/concurrent-finalizing summary: Test that finalizing source/target from multiple threads concurrently works correctly
967s ok 17 /binding/concurrent-finalizing
967s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
967s ok 18 /binding/dispose-source
967s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2676
967s ok 19 /binding/dispose-target
967s # End of binding tests
967s TAP version 14
967s # random seed: R02S7063d5d79b017700d498d5ab80b3a4a9
967s 1..2
967s # Start of hook tests
967s ok - glib/binding.test
967s # Running test: glib/hook.test
967s ok 1 /hook/basics
967s ok 2 /hook/corner-cases
967s # End of hook tests
967s ok - glib/hook.test
967s TAP version 14
967s # random seed: R02S54c23ca442e0fc07869059d62b741fe5
967s 1..1
967s # Start of permission tests
967s ok 1 /permission/simple
967s # End of permission tests
967s # Running test: glib/permission.test
967s ok - glib/permission.test
967s # Running test: glib/portal-support-flatpak-none.test
967s TAP version 14
967s # random seed: R02Sd120b562a43ec5c2adccc365fa0c2e68
967s 1..1
967s # Start of portal-support tests
967s # Start of flatpak tests
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/system-config1:/tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/system-data1:/tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/runtime
967s # Creating .flatpak-info in /tmp/test_portal-support-flatpak-none_DNHZ52/portal-support/flatpak/none/.dirs/runtime/.flatpak-info
967s ok 1 /portal-support/flatpak/none
967s # End of flatpak tests
967s # End of portal-support tests
967s ok - glib/portal-support-flatpak-none.test
967s # Running test: glib/gnotification.test
967s TAP version 14
967s # random seed: R02S38c4ea29e32b60fc07d36098fd87218c
967s 1..2
967s # Start of gnotification tests
967s ok 1 /gnotification/basic
967s ok 2 /gnotification/properties
967s # End of gnotification tests
967s ok - glib/gnotification.test
967s # Running test: glib/properties-refcount4.test
967s TAP version 14
967s # random seed: R02Sa3ed4c8262717a921c4e5baf365d2c35
967s 1..1
967s # Start of gobject tests
967s # Start of refcount tests
967s ok 1 /gobject/refcount/properties-4
967s # End of refcount tests
967s # End of gobject tests
967s ok - glib/properties-refcount4.test
967s # Running test: glib/date.test
967s TAP version 14
967s # random seed: R02S08c928246cd40ac0c6d1685fb93c1dc2
967s 1..121
967s # Start of date tests
967s ok 1 /date/basic
967s ok 2 /date/empty
967s ok 3 /date/dmy
967s ok 4 /date/julian
967s ok 5 /date/compare
967s ok 6 /date/dates
967s ok 7 /date/strftime
967s ok 8 /date/two-digit-years
967s ok 9 /date/parse
967s ok 10 /date/parse_locale_change # SKIP locale th_TH not available
967s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=793550
967s ok 11 /date/month_substring
967s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=749206
967s ok 12 /date/month_names # SKIP libc doesn’t support all alternative month names
967s ok 13 /date/clamp
967s ok 14 /date/order
967s ok 15 /date/copy
967s # Vector 0: 0000-00-00, invalid
967s # Vector 1: 0001-01-01, valid
967s # Vector 2: 0000-01-01, invalid
967s # Vector 3: 2000-02-30, invalid
967s # Vector 4: 2000-02-29, valid
967s # Vector 5: 2001-02-29, invalid
967s # Vector 6: 65535-01-01, valid
967s ok 16 /date/valid-dmy
967s # Start of parse tests
967s # Test 0
967s # Test 1
967s ok 17 /date/parse/invalid
967s # End of parse tests
967s # Start of year tests
967s ok 18 /date/year/1
967s ok 19 /date/year/2
967s ok 20 /date/year/3
967s ok 21 /date/year/4
967s ok 22 /date/year/5
967s ok 23 /date/year/6
967s ok 24 /date/year/7
967s ok 25 /date/year/8
967s ok 26 /date/year/9
967s ok 27 /date/year/10
967s ok 28 /date/year/11
967s ok 29 /date/year/12
967s ok 30 /date/year/13
967s ok 31 /date/year/14
967s ok 32 /date/year/98
967s ok 33 /date/year/99
967s ok 34 /date/year/100
967s ok 35 /date/year/101
967s ok 36 /date/year/102
967s ok 37 /date/year/103
967s ok 38 /date/year/397
967s ok 39 /date/year/398
967s ok 40 /date/year/399
967s ok 41 /date/year/400
967s ok 42 /date/year/401
967s ok 43 /date/year/402
967s ok 44 /date/year/403
967s ok 45 /date/year/404
967s ok 46 /date/year/405
967s ok 47 /date/year/406
967s ok 48 /date/year/1598
967s ok 49 /date/year/1599
967s ok 50 /date/year/1600
967s ok 51 /date/year/1601
967s ok 52 /date/year/1602
967s ok 53 /date/year/1650
967s ok 54 /date/year/1651
967s ok 55 /date/year/1897
967s ok 56 /date/year/1898
967s ok 57 /date/year/1899
967s ok 58 /date/year/1900
967s ok 59 /date/year/1901
967s ok 60 /date/year/1902
967s ok 61 /date/year/1903
967s ok 62 /date/year/1961
967s ok 63 /date/year/1962
967s ok 64 /date/year/1963
967s ok 65 /date/year/1964
967s ok 66 /date/year/1965
967s ok 67 /date/year/1967
967s ok 68 /date/year/1968
967s ok 69 /date/year/1969
967s ok 70 /date/year/1970
967s ok 71 /date/year/1971
967s ok 72 /date/year/1972
967s ok 73 /date/year/1973
967s ok 74 /date/year/1974
967s ok 75 /date/year/1975
967s ok 76 /date/year/1976
967s ok 77 /date/year/1977
967s ok 78 /date/year/1978
967s ok 79 /date/year/1979
967s ok 80 /date/year/1980
967s ok 81 /date/year/1981
967s ok 82 /date/year/1982
967s ok 83 /date/year/1983
967s ok 84 /date/year/1984
967s ok 85 /date/year/1985
967s ok 86 /date/year/1986
967s ok 87 /date/year/1987
967s ok 88 /date/year/1988
967s ok 89 /date/year/1989
967s ok 90 /date/year/1990
967s ok 91 /date/year/1991
967s ok 92 /date/year/1992
967s ok 93 /date/year/1993
967s ok 94 /date/year/1994
967s ok 95 /date/year/1995
967s ok 96 /date/year/1996
967s ok 97 /date/year/1997
967s ok 98 /date/year/1998
967s ok 99 /date/year/1999
967s ok 100 /date/year/2000
967s ok 101 /date/year/2001
967s ok 102 /date/year/2002
967s ok 103 /date/year/2003
967s ok 104 /date/year/2004
967s ok 105 /date/year/2005
967s ok 106 /date/year/2006
967s ok 107 /date/year/2007
967s ok 108 /date/year/2008
967s ok 109 /date/year/2009
967s ok 110 /date/year/2010
967s ok 111 /date/year/2011
967s ok 112 /date/year/2012
967s ok 113 /date/year/3000
967s ok 114 /date/year/3001
967s ok 115 /date/year/3002
967s ok 116 /date/year/3998
967s ok 117 /date/year/3999
967s ok 118 /date/year/4000
967s ok 119 /date/year/4001
967s ok 120 /date/year/4002
967s ok 121 /date/year/4003
967s # End of year tests
967s # End of date tests
967s TAP version 14
967s ok - glib/date.test
967s # Running test: glib/g-file-info-filesystem-readonly.test
967s ok - glib/g-file-info-filesystem-readonly.test
967s # Running test: glib/file-thumbnail.test
967s # random seed: R02S8cdbcf075681227f78d400952d98a1a9
967s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=787731
967s 1..2
967s # Start of g-file-info-filesystem-readonly tests
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro/.dirs/runtime
967s ok 1 /g-file-info-filesystem-readonly/test-fs-ro # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config1:/tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data1:/tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_g-file-info-filesystem-readonly_2H1752/g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor/.dirs/runtime
967s ok 2 /g-file-info-filesystem-readonly/test-fs-ro-with-mount-monitor # SKIP 'bindfs' and 'fusermount' commands are needed to run this test
967s # End of g-file-info-filesystem-readonly tests
967s TAP version 14
967s # random seed: R02Scf1c387d83df4fbabf2499f4761da828
967s 1..7
967s # Start of file-thumbnail tests
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/system-config1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/system-data1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/runtime
967s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/fail/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
967s ok 1 /file-thumbnail/fail
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/system-config1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/system-data1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/runtime
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/cache/thumbnails/fail/gnome-thumbnail-factory/f098bcae74f8241ee3835bded7284cdd.png
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/size-priority/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
967s ok 2 /file-thumbnail/size-priority
967s # Start of valid tests
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/system-config1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/system-data1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/runtime
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/normal/.dirs/cache/thumbnails/normal/f098bcae74f8241ee3835bded7284cdd.png
967s ok 3 /file-thumbnail/valid/normal
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/system-config1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/system-data1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/runtime
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/large/.dirs/cache/thumbnails/large/f098bcae74f8241ee3835bded7284cdd.png
967s ok 4 /file-thumbnail/valid/large
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/system-config1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/system-data1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/runtime
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/x-large/.dirs/cache/thumbnails/x-large/f098bcae74f8241ee3835bded7284cdd.png
967s ok 5 /file-thumbnail/valid/x-large
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/system-config1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/system-data1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/runtime
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/valid/xx-large/.dirs/cache/thumbnails/xx-large/f098bcae74f8241ee3835bded7284cdd.png
967s ok 6 /file-thumbnail/valid/xx-large
967s # End of valid tests
967s # Start of unknown tests
967s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/home
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/cache
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/system-config1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/system-config2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/config
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/system-data1:/tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/system-data2
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/data
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/state
967s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/runtime
967s # Created test thumbnail at /tmp/test_file-thumbnail_UMX752/file-thumbnail/unknown/super-large/.dirs/cache/thumbnails/super-large/f098bcae74f8241ee3835bded7284cdd.png
967s ok 7 /file-thumbnail/unknown/super-large
967s # End of unknown tests
967s # End of file-thumbnail tests
967s ok - glib/file-thumbnail.test
967s # Running test: glib/gvariant.test
967s TAP version 14
967s # random seed: R02Sdb1ed602f28021894042106a587fe78a
967s 1..69
967s # Start of gvariant tests
967s ok 1 /gvariant/type
967s ok 2 /gvariant/typeinfo
967s ok 3 /gvariant/string
967s ok 4 /gvariant/utf8
967s ok 5 /gvariant/utf8-new-strings
968s ok 6 /gvariant/containers
968s ok 7 /gvariant/format-strings
968s ok 8 /gvariant/invalid-varargs
968s ok 9 /gvariant/varargs
968s ok 10 /gvariant/valist
968s ok 11 /gvariant/builder-memory
968s ok 12 /gvariant/hashing
968s ok 13 /gvariant/byteswap
968s ok 14 /gvariant/parser
968s ok 15 /gvariant/parse-failures
968s ok 16 /gvariant/parse-positional
968s ok 17 /gvariant/floating
968s ok 18 /gvariant/bytestring
968s ok 19 /gvariant/lookup-value
968s ok 20 /gvariant/lookup
968s ok 21 /gvariant/compare
968s ok 22 /gvariant/equal
968s ok 23 /gvariant/fixed-array
968s ok 24 /gvariant/check-format-string
968s ok 25 /gvariant/checksum-basic
968s ok 26 /gvariant/checksum-nested
968s ok 27 /gvariant/gbytes
968s ok 28 /gvariant/print-context
968s ok 29 /gvariant/error-quark
968s ok 30 /gvariant/stack-builder-init
968s ok 31 /gvariant/stack-builder-init-static
968s ok 32 /gvariant/stack-builder-init-unset
968s ok 33 /gvariant/stack-dict-init
968s ok 34 /gvariant/unaligned-construction
968s # Start of type tests
968s # Start of string-scan tests
968s # Start of recursion tests
968s ok 35 /gvariant/type/string-scan/recursion/tuple
968s ok 36 /gvariant/type/string-scan/recursion/array
968s # End of recursion tests
968s # End of string-scan tests
968s # End of type tests
968s # Start of serialiser tests
968s ok 37 /gvariant/serialiser/maybe
968s ok 38 /gvariant/serialiser/array
968s # slow test /gvariant/serialiser/array executed in 0.50 secs
969s ok 39 /gvariant/serialiser/tuple
969s ok 40 /gvariant/serialiser/variant
969s ok 41 /gvariant/serialiser/strings
970s ok 42 /gvariant/serialiser/byteswap
970s # slow test /gvariant/serialiser/byteswap executed in 1.53 secs
970s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1865
970s # /gvariant/serialiser/children summary: Test that getting a child variant before and after serialisation of the parent works
970s ok 43 /gvariant/serialiser/children
970s # Start of byteswap tests
970s ok 44 /gvariant/serialiser/byteswap/zero-sized
970s # End of byteswap tests
970s # Start of fuzz tests
970s ok 45 /gvariant/serialiser/fuzz/1%
971s ok 46 /gvariant/serialiser/fuzz/5%
971s # Executing: glib/gvariant.test
971s ok 47 /gvariant/serialiser/fuzz/9%
971s # slow test /gvariant/serialiser/fuzz/9% executed in 0.83 secs
972s ok 48 /gvariant/serialiser/fuzz/13%
973s ok 49 /gvariant/serialiser/fuzz/17%
973s # slow test /gvariant/serialiser/fuzz/17% executed in 1.17 secs
973s # End of fuzz tests
973s # End of serialiser tests
973s # Start of utf8 tests
973s # Start of subprocess tests
973s # End of subprocess tests
973s # End of utf8 tests
973s # Start of varargs tests
973s # Start of subprocess tests
973s # End of subprocess tests
973s # End of varargs tests
973s # Start of byteswap tests
973s # /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.
973s ok 50 /gvariant/byteswap/non-normal-non-aligned
973s # End of byteswap tests
973s # Start of parser tests
973s ok 51 /gvariant/parser/integer-bounds
973s ok 52 /gvariant/parser/recursion
973s # Start of recursion tests
973s ok 53 /gvariant/parser/recursion/typedecls
973s # /gvariant/parser/recursion/maybes summary: Test that nested maybes are handled correctly when parsing text-form variants
973s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2782
973s # Text form 0: @mmmu 5
973s # Text form 1: @mmmas ['hello']
973s # Text form 2: @mmmu just just nothing
973s # Text form 3: @mmmas just just nothing
973s # Text form 4: @mmmu just nothing
973s # Text form 5: @mmmas just nothing
973s # Text form 6: @mmmu nothing
973s # Text form 7: @mmmas nothing
973s ok 54 /gvariant/parser/recursion/maybes
973s # End of recursion tests
973s # End of parser tests
973s # Start of parse tests
973s # Start of subprocess tests
973s # End of subprocess tests
973s # End of parse tests
973s # Start of normal-checking tests
973s ok 55 /gvariant/normal-checking/tuples
973s ok 56 /gvariant/normal-checking/array-offsets
973s ok 57 /gvariant/normal-checking/array-offsets2
973s ok 58 /gvariant/normal-checking/tuple-offsets
973s ok 59 /gvariant/normal-checking/tuple-offsets2
973s ok 60 /gvariant/normal-checking/tuple-offsets3
973s ok 61 /gvariant/normal-checking/tuple-offsets4
973s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2840
973s ok 62 /gvariant/normal-checking/tuple-offsets5
973s ok 63 /gvariant/normal-checking/empty-object-path
973s # Start of array-offsets tests
973s ok 64 /gvariant/normal-checking/array-offsets/overlapped
973s ok 65 /gvariant/normal-checking/array-offsets/minimal-sized
973s # End of array-offsets tests
973s # Start of tuple-offsets tests
973s ok 66 /gvariant/normal-checking/tuple-offsets/minimal-sized
973s # End of tuple-offsets tests
973s # End of normal-checking tests
973s # Start of recursion-limits tests
973s ok 67 /gvariant/recursion-limits/variant-in-variant
973s ok 68 /gvariant/recursion-limits/array-in-variant
973s # End of recursion-limits tests
973s # End of gvariant tests
973s # Start of gvarianttype tests
973s ok 69 /gvarianttype/hash
973s # End of gvarianttype tests
973s ok - glib/gvariant.test
973s TAP version 14
973s # random seed: R02Sef7ebce49a3cc10d7a1da656a48a0bfb
973s 1..238
973s # Running test: glib/utf8-validate.test
973s # Start of utf8 tests
973s # Vector 0
973s # Vector 1
973s # Vector 2
973s # Vector 3
973s # Vector 4
973s # Vector 5
973s # Vector 6
973s # Vector 7
973s # Vector 8
973s # Vector 9
973s # Vector 10
973s # Vector 11
973s # Vector 12
973s # Vector 13
973s # Vector 14
973s # Vector 15
973s # Vector 16
973s # Vector 17
973s # Vector 18
973s # Vector 19
973s # Vector 20
973s # Vector 21
973s # Vector 22
973s # Vector 23
973s # Vector 24
973s # Vector 25
973s # Vector 26
973s # Vector 27
973s ok 1 /utf8/get-char-validated
973s # Start of validate tests
973s ok 2 /utf8/validate/0
973s ok 3 /utf8/validate/1
973s ok 4 /utf8/validate/2
973s ok 5 /utf8/validate/3
973s ok 6 /utf8/validate/4
973s ok 7 /utf8/validate/5
973s ok 8 /utf8/validate/6
973s ok 9 /utf8/validate/7
973s ok 10 /utf8/validate/8
973s ok 11 /utf8/validate/9
973s ok 12 /utf8/validate/10
973s ok 13 /utf8/validate/11
973s ok 14 /utf8/validate/12
973s ok 15 /utf8/validate/13
973s ok 16 /utf8/validate/14
973s ok 17 /utf8/validate/15
973s ok 18 /utf8/validate/16
973s ok 19 /utf8/validate/17
973s ok 20 /utf8/validate/18
973s ok 21 /utf8/validate/19
973s ok 22 /utf8/validate/20
973s ok 23 /utf8/validate/21
973s ok 24 /utf8/validate/22
973s ok 25 /utf8/validate/23
973s ok 26 /utf8/validate/24
973s ok 27 /utf8/validate/25
973s ok 28 /utf8/validate/26
973s ok 29 /utf8/validate/27
973s ok 30 /utf8/validate/28
973s ok 31 /utf8/validate/29
973s ok 32 /utf8/validate/30
973s ok 33 /utf8/validate/31
973s ok 34 /utf8/validate/32
973s ok 35 /utf8/validate/33
973s ok 36 /utf8/validate/34
973s ok 37 /utf8/validate/35
973s ok 38 /utf8/validate/36
973s ok 39 /utf8/validate/37
973s ok 40 /utf8/validate/38
973s ok 41 /utf8/validate/39
973s ok 42 /utf8/validate/40
973s ok 43 /utf8/validate/41
973s ok 44 /utf8/validate/42
973s ok 45 /utf8/validate/43
973s ok 46 /utf8/validate/44
973s ok 47 /utf8/validate/45
973s ok 48 /utf8/validate/46
973s ok 49 /utf8/validate/47
973s ok 50 /utf8/validate/48
973s ok 51 /utf8/validate/49
973s ok 52 /utf8/validate/50
973s ok 53 /utf8/validate/51
973s ok 54 /utf8/validate/52
973s ok 55 /utf8/validate/53
973s ok 56 /utf8/validate/54
973s ok 57 /utf8/validate/55
973s ok 58 /utf8/validate/56
973s ok 59 /utf8/validate/57
973s ok 60 /utf8/validate/58
973s ok 61 /utf8/validate/59
973s ok 62 /utf8/validate/60
973s ok 63 /utf8/validate/61
973s ok 64 /utf8/validate/62
973s ok 65 /utf8/validate/63
973s ok 66 /utf8/validate/64
973s ok 67 /utf8/validate/65
973s ok 68 /utf8/validate/66
973s ok 69 /utf8/validate/67
973s ok 70 /utf8/validate/68
973s ok 71 /utf8/validate/69
973s ok 72 /utf8/validate/70
973s ok 73 /utf8/validate/71
973s ok 74 /utf8/validate/72
973s ok 75 /utf8/validate/73
973s ok 76 /utf8/validate/74
973s ok 77 /utf8/validate/75
973s ok 78 /utf8/validate/76
973s ok 79 /utf8/validate/77
973s ok 80 /utf8/validate/78
973s ok 81 /utf8/validate/79
973s ok 82 /utf8/validate/80
973s ok 83 /utf8/validate/81
973s ok 84 /utf8/validate/82
973s ok 85 /utf8/validate/83
973s ok 86 /utf8/validate/84
973s ok 87 /utf8/validate/85
973s ok 88 /utf8/validate/86
973s ok 89 /utf8/validate/87
973s ok 90 /utf8/validate/88
973s ok 91 /utf8/validate/89
973s ok 92 /utf8/validate/90
973s ok 93 /utf8/validate/91
973s ok 94 /utf8/validate/92
973s ok 95 /utf8/validate/93
973s ok 96 /utf8/validate/94
973s ok 97 /utf8/validate/95
973s ok 98 /utf8/validate/96
973s ok 99 /utf8/validate/97
973s ok 100 /utf8/validate/98
973s ok 101 /utf8/validate/99
973s ok 102 /utf8/validate/100
973s ok 103 /utf8/validate/101
973s ok 104 /utf8/validate/102
973s ok 105 /utf8/validate/103
973s ok 106 /utf8/validate/104
973s ok 107 /utf8/validate/105
973s ok 108 /utf8/validate/106
973s ok 109 /utf8/validate/107
973s ok 110 /utf8/validate/108
973s ok 111 /utf8/validate/109
973s ok 112 /utf8/validate/110
973s ok 113 /utf8/validate/111
973s ok 114 /utf8/validate/112
973s ok 115 /utf8/validate/113
973s ok 116 /utf8/validate/114
973s ok 117 /utf8/validate/115
973s ok 118 /utf8/validate/116
973s ok 119 /utf8/validate/117
973s ok 120 /utf8/validate/118
973s ok 121 /utf8/validate/119
973s ok 122 /utf8/validate/120
973s ok 123 /utf8/validate/121
973s ok 124 /utf8/validate/122
973s ok 125 /utf8/validate/123
973s ok 126 /utf8/validate/124
973s ok 127 /utf8/validate/125
973s ok 128 /utf8/validate/126
973s ok 129 /utf8/validate/127
973s ok 130 /utf8/validate/128
973s ok 131 /utf8/validate/129
973s ok 132 /utf8/validate/130
973s ok 133 /utf8/validate/131
973s ok 134 /utf8/validate/132
973s ok 135 /utf8/validate/133
973s ok 136 /utf8/validate/134
973s ok 137 /utf8/validate/135
973s ok 138 /utf8/validate/136
973s ok 139 /utf8/validate/137
973s ok 140 /utf8/validate/138
973s ok 141 /utf8/validate/139
973s ok 142 /utf8/validate/140
973s ok 143 /utf8/validate/141
973s ok 144 /utf8/validate/142
973s ok 145 /utf8/validate/143
973s ok 146 /utf8/validate/144
973s ok 147 /utf8/validate/145
973s ok 148 /utf8/validate/146
973s ok 149 /utf8/validate/147
973s ok 150 /utf8/validate/148
973s ok 151 /utf8/validate/149
973s ok 152 /utf8/validate/150
973s ok 153 /utf8/validate/151
973s ok 154 /utf8/validate/152
973s ok 155 /utf8/validate/153
973s ok 156 /utf8/validate/154
973s ok 157 /utf8/validate/155
973s ok 158 /utf8/validate/156
973s ok 159 /utf8/validate/157
973s ok 160 /utf8/validate/158
973s ok 161 /utf8/validate/159
973s ok 162 /utf8/validate/160
973s ok 163 /utf8/validate/161
973s ok 164 /utf8/validate/162
973s ok 165 /utf8/validate/163
973s ok 166 /utf8/validate/164
973s ok 167 /utf8/validate/165
973s ok 168 /utf8/validate/166
973s ok 169 /utf8/validate/167
973s ok 170 /utf8/validate/168
973s ok 171 /utf8/validate/169
973s ok 172 /utf8/validate/170
973s ok 173 /utf8/validate/171
973s ok 174 /utf8/validate/172
973s ok 175 /utf8/validate/173
973s ok 176 /utf8/validate/174
973s ok 177 /utf8/validate/175
973s ok 178 /utf8/validate/176
973s ok 179 /utf8/validate/177
973s ok 180 /utf8/validate/178
973s ok 181 /utf8/validate/179
973s ok 182 /utf8/validate/180
973s ok 183 /utf8/validate/181
973s ok 184 /utf8/validate/182
973s ok 185 /utf8/validate/183
973s ok 186 /utf8/validate/184
973s ok 187 /utf8/validate/185
973s ok 188 /utf8/validate/186
973s ok 189 /utf8/validate/187
973s ok 190 /utf8/validate/188
973s ok 191 /utf8/validate/189
973s ok 192 /utf8/validate/190
973s ok 193 /utf8/validate/191
973s ok 194 /utf8/validate/192
973s ok 195 /utf8/validate/193
973s ok 196 /utf8/validate/194
973s ok 197 /utf8/validate/195
973s ok 198 /utf8/validate/196
973s ok 199 /utf8/validate/197
973s ok 200 /utf8/validate/198
973s ok 201 /utf8/validate/199
973s ok 202 /utf8/validate/200
973s ok 203 /utf8/validate/201
973s ok 204 /utf8/validate/202
973s ok 205 /utf8/validate/203
973s ok 206 /utf8/validate/204
973s ok 207 /utf8/validate/205
973s ok 208 /utf8/validate/206
973s ok 209 /utf8/validate/207
973s ok 210 /utf8/validate/208
973s ok 211 /utf8/validate/209
973s ok 212 /utf8/validate/210
973s ok 213 /utf8/validate/211
973s ok 214 /utf8/validate/212
973s ok 215 /utf8/validate/213
973s ok 216 /utf8/validate/214
973s ok 217 /utf8/validate/215
973s ok 218 /utf8/validate/216
973s ok 219 /utf8/validate/217
973s ok 220 /utf8/validate/218
973s ok 221 /utf8/validate/219
973s ok 222 /utf8/validate/220
973s ok 223 /utf8/validate/221
973s ok 224 /utf8/validate/222
973s ok 225 /utf8/validate/223
973s ok 226 /utf8/validate/224
973s ok 227 /utf8/validate/225
973s ok 228 /utf8/validate/226
973s ok 229 /utf8/validate/227
973s ok 230 /utf8/validate/228
973s ok 231 /utf8/validate/229
973s ok 232 /utf8/validate/230
973s ok 233 /utf8/validate/231
973s ok 234 /utf8/validate/232
973s ok 235 /utf8/validate/233
973s ok 236 /utf8/validate/234
973s ok 237 /utf8/validate/235
973s ok 238 /utf8/validate/236
973s # End of validate tests
973s # End of utf8 tests
973s TAP version 14
973s # random seed: R02S2c188ff2cff345a9d6f679fc8a6c7f4e
973s 1..41
973s # Start of utils tests
973s ok 1 /utils/language-names
973s ok 2 /utils/locale-variants
973s ok 3 /utils/version
973s ok 4 /utils/appname
973s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
973s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
973s ok 5 /utils/prgname-thread-safety
973s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
973s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
973s ok 6 /utils/tmpdir
973s ok 7 /utils/basic_bits
973s ok 8 /utils/bits
973s ok 9 /utils/swap
973s ok 10 /utils/find-program
973s ok 11 /utils/find-program-for-path
973s ok 12 /utils/debug
973s ok 13 /utils/codeset
973s ok 14 /utils/codeset2
973s ok 15 /utils/console-charset
973s ok 16 /utils/gettext
973s ok 17 /utils/username
973s ok 18 /utils/realname
973s ok 19 /utils/hostname
973s ok 20 /utils/xdgdirs
973s ok 21 /utils/specialdir
973s # NAME: Ubuntu
973s ok 22 /utils/os-info
973s ok 23 /utils/clear-pointer
973s ok 24 /utils/clear-pointer-cast
973s ok 25 /utils/take-pointer
973s ok 26 /utils/clear-source
973s ok 27 /utils/misc-mem
973s # /utils/aligned-mem summary: Aligned memory allocator
973s # Alignment must not be zero
973s ok - glib/utf8-validate.test
973s # Running test: glib/utils-c-11.test
973s # Alignment must be a power of two
973s # Alignment must be a multiple of sizeof(void*)
973s ok 28 /utils/aligned-mem
973s # /utils/free-sized summary: Check that g_free_sized() works
973s ok 29 /utils/free-sized
973s ok 30 /utils/nullify
973s ok 31 /utils/atexit
973s ok 32 /utils/check-setuid
973s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
973s ok 33 /utils/int-limits
973s ok 34 /utils/clear-list
973s ok 35 /utils/clear-slist
973s ok 36 /utils/steal-handle-id
973s # Start of specialdir tests
973s ok 37 /utils/specialdir/desktop
973s # End of specialdir tests
973s # Start of clear-pointer tests
973s ok 38 /utils/clear-pointer/side-effects
973s # End of clear-pointer tests
973s # Start of aligned-mem tests
973s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
973s ok 39 /utils/aligned-mem/alignment
973s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
973s ok 40 /utils/aligned-mem/zeroed
973s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
973s ok 41 /utils/aligned-mem/free-sized
973s # Start of subprocess tests
973s # End of subprocess tests
973s # End of aligned-mem tests
973s # End of utils tests
973s TAP version 14
973s # random seed: R02S5fcabfa364052964318999dd5db4fda7
973s 1..14
973s # Start of contenttype tests
973s ok 1 /contenttype/guess
973s ok 2 /contenttype/guess_svg_from_data
973s ok 3 /contenttype/mime_to_content # SKIP mime from content type test not implemented on UNIX
973s ok 4 /contenttype/mime_from_content # SKIP mime from content type test not implemented on UNIX
973s ok 5 /contenttype/unknown
973s ok 6 /contenttype/subtype
973s ok 7 /contenttype/list
973s ok - glib/utils-c-11.test
973s # Running test: glib/contenttype.test
973s ok 8 /contenttype/executable
973s ok 9 /contenttype/description
973s ok 10 /contenttype/icon
973s ok 11 /contenttype/symbolic-icon
973s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
973s ok 12 /contenttype/tree
973s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3168
973s ok 13 /contenttype/tree_invalid_encoding
973s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=782311
973s ok 14 /contenttype/test_type_is_a_special_case
973s # End of contenttype tests
973s ok - glib/contenttype.test
973s # Running test: glib/properties-refcount1.test
973s TAP version 14
973s # random seed: R02S9c3ab8dd63ad0312252b921ace811e20
973s 1..1
973s # Start of gobject tests
973s # Start of refcount tests
973s # .d
973s # .c
973s # .f
973s # .b
973s # .c
973s # .d
973s # .e
973s # .f
973s # .d
973s # .c
973s # .b
973s # .f
973s # .c
973s # .b
973s # .f
973s # .e
973s # .c
973s # .d
973s # .b
973s # .f
973s # .c
973s # .f
973s # .b
973s # .e
973s # .d
973s # .c
973s # .e
973s # .d
973s # .f
973s # .f
973s # .c
973s # .b
973s # .d
973s # .f
973s # .b
973s # .e
973s # .e
973s # .c
973s # .d
974s # .c
974s # .f
974s # .b
974s # .e
974s # .d
974s # .f
974s # .c
974s # .d
974s # .f
974s # .d
974s # .b
974s # .e
974s # .c
974s # .d
974s # .b
974s # .c
974s # .d
974s # .f
974s # .e
974s # .c
974s # .d
974s # .b
974s # .f
974s # .c
974s # .e
974s # .e
974s # .f
974s # .d
974s # .b
974s # .c
974s # .e
974s # .b
974s # .e
974s # .d
974s # .f
974s # .b
974s # .e
974s # .c
974s # .e
974s # .e
974s # .d
974s # .c
974s # .b
974s # .f
974s # .d
974s # .c
974s # .e
974s # .b
974s # .f
974s # .d
974s # .f
974s # .b
974s # .c
974s # .e
974s # .f
974s # .b
974s # .f
974s # .c
974s # .e
974s # .b
974s # .d
974s # .f
974s # .d
974s # .b
974s # .e
974s # .c
974s # .d
974s # .b
974s # .f
974s # .d
974s # .e
974s # .c
974s # .f
974s # .f
974s # .d
974s # .e
974s # .c
974s # .f
974s # .d
974s # .d
974s # .c
974s # .b
974s # .b
974s # .f
974s # .e
974s # .c
974s # .d
974s # .e
974s # .f
974s # .c
974s # .d
974s # .b
974s # .e
974s # .c
974s # .f
974s # .d
974s # .e
974s # .d
975s # .f
975s # .c
975s # .b
975s # .f
975s # .d
975s # .e
975s # .c
975s # .f
975s # .b
975s # .f
975s # .e
975s # .c
975s # .d
975s # .c
975s # .e
975s # .f
975s # .d
975s # .f
975s # .e
975s # .d
975s # .b
975s # .f
975s # .c
975s # .f
975s # .c
975s # .e
975s # .d
975s # .b
975s # .f
975s # .c
975s # .e
975s # .f
975s # .e
975s # .f
975s # .d
975s # .c
975s # .b
975s # .e
975s # .d
975s # .f
975s # .c
975s # .f
975s # .e
975s # .b
975s # .d
975s # .c
975s # .b
975s # .f
975s # .e
975s # .d
975s # .c
975s # .c
975s # .f
975s # .b
975s # .e
975s # .f
975s # .d
975s # .b
975s # .c
975s # .f
975s # .e
975s # .d
975s # .d
975s # .d
975s # .e
975s # .b
975s # .c
975s # .f
975s # .e
975s # .d
975s # .b
975s # .d
975s # .d
975s # .e
975s # .d
975s # .d
975s # .f
975s # .d
975s # .b
975s # .e
975s # .e
975s # .e
975s # .e
975s # .b
975s # .e
975s # .b
975s # .e
975s # .c
975s # .e
975s # .e
975s # .b
975s # .f
975s # .d
975s # .b
975s # .d
975s # .e
975s # .e
975s # .b
975s # .c
975s # .b
975s # .e
975s # .d
976s # .f
976s # .b
976s # .d
976s # .e
976s # .b
976s # .d
976s # .c
976s # .b
976s # .e
976s # .f
976s # .d
976s # .d
976s # .e
976s # .b
976s # .d
976s # .e
976s # .f
976s # .c
976s # .b
976s # .e
976s # .d
976s # .d
976s # .b
976s # .e
976s # .d
976s # .f
976s # .d
976s # .c
976s # .e
976s # .b
976s # .d
976s # .c
976s # .b
976s # .d
976s # .e
976s # .f
976s # .b
976s # .e
976s # .c
976s # .d
976s # .e
976s ok 1 /gobject/refcount/properties-1
976s # slow test /gobject/refcount/properties-1 executed in 3.00 secs
976s # End of refcount tests
976s # End of gobject tests
976s ok - glib/properties-refcount1.test
976s # Running test: glib/test-printf.test
976s TAP version 14
976s # random seed: R02Sd3b7554ee98d5631df0e73b0c0b65ed4
976s 1..22
976s # Start of snprintf tests
976s ok 1 /snprintf/retval-and-trunc
976s ok 2 /snprintf/%d
976s ok 3 /snprintf/%d-invalid
976s ok 4 /snprintf/%o
976s ok 5 /snprintf/%u
976s ok 6 /snprintf/%x
976s ok 7 /snprintf/%X
976s ok 8 /snprintf/%f
976s ok 9 /snprintf/%e
976s ok 10 /snprintf/%c
976s ok 11 /snprintf/%s
976s ok 12 /snprintf/%n
976s ok 13 /snprintf/test-percent
976s ok 14 /snprintf/test-positional-params
976s ok 15 /snprintf/test-64bit
976s # End of snprintf tests
976s # Start of printf tests
976s ok 16 /printf/test-percent
976s ok 17 /printf/test-positional-params
976s ok 18 /printf/test-64bit
976s # Start of test-64bit tests
976s # Start of subprocess tests
976s # End of subprocess tests
976s # End of test-64bit tests
976s # End of printf tests
976s # Start of sprintf tests
976s ok 19 /sprintf/test-positional-params
976s ok 20 /sprintf/upper-bound
976s # End of sprintf tests
976s # Start of vasprintf tests
976s # /vasprintf/invalid-format-placeholder summary: Test error handling for invalid format placeholder in g_vasprintf()
976s ok 21 /vasprintf/invalid-format-placeholder
976s # /vasprintf/invalid-wide-string summary: Test error handling for invalid wide strings in g_vasprintf()
976s ok 22 /vasprintf/invalid-wide-string
976s # End of vasprintf tests
976s ok - glib/test-printf.test
976s # Running test: glib/refcount.test
976s TAP version 14
976s # random seed: R02S99356e25f5b70eaeb6be71f0d20c8202
976s 1..4
976s # Start of refcount tests
976s ok 1 /refcount/grefcount
976s ok 2 /refcount/gatomicrefcount
976s # Start of grefcount tests
976s ok 3 /refcount/grefcount/saturation
976s # End of grefcount tests
976s # Start of gatomicrefcount tests
976s ok 4 /refcount/gatomicrefcount/saturation
976s # End of gatomicrefcount tests
976s # End of refcount tests
976s ok - glib/refcount.test
976s # Running test: glib/shell.test
976s TAP version 14
976s # random seed: R02S05a5a73768913af90c034ae0797d8ab2
976s 1..51
976s # Start of shell tests
976s # Start of cmdline tests
976s test cmdline: foo bar
976s ok 1 /shell/cmdline/0
976s test cmdline: foo 'bar'
976s ok 2 /shell/cmdline/1
976s test cmdline: foo "bar"
976s ok 3 /shell/cmdline/2
976s test cmdline: foo '' 'bar'
976s ok 4 /shell/cmdline/3
976s test cmdline: foo "bar"'baz'blah'foo'\''blah'"boo"
976s ok 5 /shell/cmdline/4
976s test cmdline: foo blah foo bar baz
976s ok 6 /shell/cmdline/5
976s test cmdline: foo ' spaces more spaces lots of spaces in this '
976s ok - glib/shell.test
976s # Running test: glib/io-stream.test
976s ok - glib/io-stream.test
976s # Running test: glib/gobject-query.py.test
976s ok 7 /shell/cmdline/6
976s test cmdline: foo \
976s bar
976s ok 8 /shell/cmdline/7
976s test cmdline: foo '' ''
976s ok 9 /shell/cmdline/8
976s test cmdline: foo \" la la la
976s ok 10 /shell/cmdline/9
976s test cmdline: foo \ foo woo woo\
976s ok 11 /shell/cmdline/10
976s test cmdline: foo "yada yada \$\""
976s ok 12 /shell/cmdline/11
976s test cmdline: foo "c:\\"
976s ok 13 /shell/cmdline/12
976s test cmdline: foo # bla bla bla
976s bar
976s ok 14 /shell/cmdline/13
976s test cmdline: foo a#b
976s ok 15 /shell/cmdline/14
976s test cmdline: #foo
976s ok 16 /shell/cmdline/15
976s test cmdline: foo bar \
976s ok 17 /shell/cmdline/16
976s test cmdline: foo 'bar baz
976s ok 18 /shell/cmdline/17
976s test cmdline: foo '"bar" baz
976s ok 19 /shell/cmdline/18
976s test cmdline:
976s ok 20 /shell/cmdline/19
976s test cmdline:
976s ok 21 /shell/cmdline/20
976s test cmdline: # foo bar
976s ok 22 /shell/cmdline/21
976s test cmdline: foo '/bar/summer'\''09 tours.pdf'
976s ok 23 /shell/cmdline/22
976s # End of cmdline tests
976s # Start of quote tests
976s ok 24 /shell/quote/0
976s ok 25 /shell/quote/1
976s ok 26 /shell/quote/2
976s ok 27 /shell/quote/3
976s ok 28 /shell/quote/4
976s ok 29 /shell/quote/5
976s ok 30 /shell/quote/6
976s # End of quote tests
976s # Start of unquote tests
976s ok 31 /shell/unquote/0
976s ok 32 /shell/unquote/1
976s ok 33 /shell/unquote/2
976s ok 34 /shell/unquote/3
976s ok 35 /shell/unquote/4
976s ok 36 /shell/unquote/5
976s ok 37 /shell/unquote/6
976s ok 38 /shell/unquote/7
976s ok 39 /shell/unquote/8
976s ok 40 /shell/unquote/9
976s ok 41 /shell/unquote/10
976s ok 42 /shell/unquote/11
976s ok 43 /shell/unquote/12
976s ok 44 /shell/unquote/13
976s ok 45 /shell/unquote/14
976s ok 46 /shell/unquote/15
976s ok 47 /shell/unquote/16
976s ok 48 /shell/unquote/17
976s ok 49 /shell/unquote/18
976s ok 50 /shell/unquote/19
976s ok 51 /shell/unquote/20
976s # End of unquote tests
976s # End of shell tests
976s TAP version 14
976s # random seed: R02S6d8be4d3a8dce280c0cde036da4e3e7b
976s 1..3
976s # Start of io-stream tests
976s ok 1 /io-stream/copy-chunks
976s # Start of close tests
976s # Start of async tests
976s ok 2 /io-stream/close/async/memory
976s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
976s ok 3 /io-stream/close/async/file
976s # End of async tests
976s # End of close tests
976s # End of io-stream tests
976s TAP version 13
976s ok 1 __main__.TestGobjectQuery.test_froots
976s # gobject-query: /usr/bin/gobject-query
976s # tmpdir: /tmp/tmptwx_s11j
976s # Running: ['/usr/bin/gobject-query', 'froots']
976s # Return code: 0
976s # Output:
976s # ├void
976s # ├GInterface
976s # │ └GTypePlugin
976s # ├gchar
976s # ├guchar
976s # ├gboolean
976s # ├gint
976s # ├guint
976s # ├glong
976s # ├gulong
976s # ├gint64
976s # ├guint64
976s # ├GEnum
976s # ├GFlags
976s # ├gfloat
976s # ├gdouble
976s # ├gchararray
976s # ├gpointer
976s # │ └GType
976s # ├GBoxed
976s # │ └GValueArray
976s # ├GParam
976s # │ ├GParamChar
976s # │ ├GParamUChar
976s # │ ├GParamBoolean
976s # │ ├GParamInt
976s # │ ├GParamUInt
976s # │ ├GParamLong
976s # │ ├GParamULong
976s # │ ├GParamInt64
976s # │ ├GParamUInt64
976s # │ ├GParamUnichar
976s # │ ├GParamEnum
976s # │ ├GParamFlags
976s # │ ├GParamFloat
976s # │ ├GParamDouble
976s # │ ├GParamString
976s # │ ├GParamParam
976s # │ ├GParamBoxed
976s # │ ├GParamPointer
976s # │ ├GParamValueArray
976s # │ ├GParamObject
976s # │ ├GParamOverride
976s # │ ├GParamGType
976s # │ └GParamVariant
976s # ├GObject
976s # â””GVariant
976s # Error:
976s ok 2 __main__.TestGobjectQuery.test_help
976s # gobject-query: /usr/bin/gobject-query
976s # tmpdir: /tmp/tmpyfc7wcav
976s # Running: ['/usr/bin/gobject-query', '--help']
976s # Return code: 0
976s # Output:
976s # usage: gobject-query [-r ] [-{i|b} ""] [-s #] [-{h|x|y}]
976s # -r specify root type
976s # -n don't descend type tree
976s # -h show help
976s # -b specify indent string
976s # -i specify incremental indent string
976s # -s specify line spacing
976s # qualifiers:
976s # froots iterate over fundamental roots
976s # tree print type tree
976s # Error:
976s ok 3 __main__.TestGobjectQuery.test_tree
976s # gobject-query: /usr/bin/gobject-query
976s # tmpdir: /tmp/tmp_vdjicyf
976s # Running: ['/usr/bin/gobject-query', 'tree']
976s # Return code: 0
976s # Output:
976s # GObject
976s # Error:
976s ok 4 __main__.TestGobjectQuery.test_version
976s # gobject-query: /usr/bin/gobject-query
976s # tmpdir: /tmp/tmprp482j99
976s # Running: ['/usr/bin/gobject-query', '--version']
976s # Return code: 0
976s # Output:
976s # 2.84.1
976s # Error:
976s 1..4
976s ok - glib/gobject-query.py.test
976s # Running test: glib/cond.test
976s TAP version 14
976s # random seed: R02S198a959bad5c9e228ba8d2e045f9773f
976s 1..4
976s # Start of thread tests
976s ok 1 /thread/cond1
976s ok 2 /thread/cond2
976s # Start of cond tests
976s # Executing: glib/cond.test
977s ok 3 /thread/cond/wait-until
977s # slow test /thread/cond/wait-until executed in 1.02 secs
977s # Start of wait-until tests
977s # /thread/cond/wait-until/contended-and-interrupted summary: Check proper handling of errno in g_cond_wait_until with a contended mutex
977s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/957
978s ok - glib/cond.test
978s # Running test: glib/testfilemonitor.test
978s ok 4 /thread/cond/wait-until/contended-and-interrupted
978s # slow test /thread/cond/wait-until/contended-and-interrupted executed in 1.11 secs
978s # End of wait-until tests
978s # End of cond tests
978s # End of thread tests
978s TAP version 14
978s # random seed: R02S8f669f70c464c022d0a5e4c42133e7b1
978s 1..8
978s # Start of monitor tests
978s ok 1 /monitor/atomic-replace # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s ok 2 /monitor/file-changes # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s ok - glib/testfilemonitor.test
978s # Running test: glib/signal-handler.test
978s ok - glib/signal-handler.test
978s # Running test: glib/references.test
978s ok - glib/references.test
978s # Running test: glib/atomic-c-17.test
978s ok - glib/atomic-c-17.test
978s # Running test: glib/refcount-macro.test
978s ok - glib/refcount-macro.test
978s # Running test: glib/dataset.test
978s ok - glib/dataset.test
978s # Running test: glib/uri.test
978s ok 3 /monitor/dir-monitor # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s ok 4 /monitor/dir-not-existent # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s ok 5 /monitor/cross-dir-moves # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s ok 6 /monitor/finalize-in-callback # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
978s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
978s ok 7 /monitor/root # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s # Start of file tests
978s ok 8 /monitor/file/hard-links # SKIP https://gitlab.gnome.org/GNOME/glib/issues/1634
978s # End of file tests
978s # End of monitor tests
978s TAP version 14
978s # random seed: R02S2771d83e0d7c6c5cc4b1c6ccc052a566
978s 1..7
978s # Start of signal tests
978s # Start of handler tests
978s # min perf: connected 1 handlers in 0.000 seconds
978s ok 1 /signal/handler/connect-many
978s # min perf: disconnected 1 handlers in 0.000 seconds
978s ok 2 /signal/handler/disconnect-many-ordered
978s # min perf: disconnected 1 handlers in 0.000 seconds
978s ok 3 /signal/handler/disconnect-many-inverse
978s # min perf: disconnected 1 handlers in 0.000 seconds
978s ok 4 /signal/handler/disconnect-many-random
978s # min perf: disconnected 1 handlers in 0.000 seconds
978s ok 5 /signal/handler/disconnect-2-signals
978s # min perf: disconnected 1 handlers in 0.000 seconds
978s ok 6 /signal/handler/disconnect-2-objects
978s # min perf: blocked and unblocked 1 handlers in 0.000 seconds
978s ok 7 /signal/handler/block-many
978s # End of handler tests
978s # End of signal tests
978s TAP version 14
978s # random seed: R02S3180793db75ad8d8007d16aeb0734d04
978s 1..1
978s # Start of gobject tests
978s ok 1 /gobject/references
978s # End of gobject tests
978s TAP version 14
978s # random seed: R02S48e62e14215e5d478e79973afb7144d0
978s 1..2
978s # Start of atomic tests
978s ok 1 /atomic/types
978s ok 2 /atomic/threaded
978s # End of atomic tests
978s TAP version 14
978s # random seed: R02Sad7a68fdef4b046bb5a3534e3d158b9c
978s 1..4
978s # Start of refcount tests
978s ok 1 /refcount/grefcount
978s ok 2 /refcount/gatomicrefcount
978s # Start of grefcount tests
978s ok 3 /refcount/grefcount/saturation
978s # End of grefcount tests
978s # Start of gatomicrefcount tests
978s ok 4 /refcount/gatomicrefcount/saturation
978s # End of gatomicrefcount tests
978s # End of refcount tests
978s TAP version 14
978s # random seed: R02S8a4b6df13e9298193c75d22895d96929
978s 1..14
978s # Start of quark tests
978s ok 1 /quark/basic
978s ok 2 /quark/string
978s # End of quark tests
978s # Start of dataset tests
978s ok 3 /dataset/basic
978s ok 4 /dataset/id
978s ok 5 /dataset/full
978s ok 6 /dataset/foreach
978s ok 7 /dataset/destroy
978s # End of dataset tests
978s # Start of datalist tests
978s ok 8 /datalist/basic
978s ok 9 /datalist/id
978s ok 10 /datalist/recursive-clear
978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
978s ok 11 /datalist/id-remove-multiple
978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2672
978s ok 12 /datalist/id-remove-multiple-destroy-order
978s ok 13 /datalist/update-atomic
978s # Start of id-remove-multiple tests
978s ok 14 /datalist/id-remove-multiple/resize
978s # End of id-remove-multiple tests
978s # End of datalist tests
978s TAP version 14
978s # random seed: R02S734c271e313cfd123b726619699acbcd
978s 1..24
978s # Start of uri tests
978s ok 1 /uri/file-to-uri
978s ok 2 /uri/file-from-uri
978s ok 3 /uri/file-roundtrip
978s ok 4 /uri/list
978s # Test 0: %2Babc %4F
978s # Test 1: %2Babc %4F
978s # Test 2: %00abc %4F
978s # Test 3: /cursors/none.png
978s # Test 4: /cursors%2fbad-subdir/none.png
978s # Test 5: %0
978s # Test 6: %ra
978s # Test 7: %2r
978s # Test 8: Timm B?der
978s # Test 9: (null)
978s ok 5 /uri/unescape-string
978s ok 6 /uri/unescape-segment
978s # Test 0: abcdefgABCDEFG._~
978s # Test 1: :+ \\?#
978s # Test 2: a+b:c
978s # Test 3: a+b:c\303\234
978s # Test 4: \374;\322
978s # Test 5: \303\261\303(
978s ok 7 /uri/escape-string
978s ok 8 /uri/escape-bytes
978s ok 9 /uri/scheme
978s ok 10 /uri/build
978s ok 11 /uri/split
978s ok 12 /uri/is_valid
978s ok 13 /uri/to-string
978s ok 14 /uri/join
978s # /uri/join-split-round-trip summary: Test that joining different URI components survives a round trip
978s # Combination 0
978s # Combination 1
978s # Combination 2
978s # Combination 3
978s # Combination 4
978s # Combination 5
978s # Combination 6
978s # Combination 7
978s # Combination 8
978s # Combination 9
978s # Combination 10
978s # Combination 11
978s # Combination 12
978s # Combination 13
978s # Combination 14
978s # Combination 15
978s # Combination 16
978s # Combination 17
978s # Combination 18
978s # Combination 19
978s # Combination 20
978s # Combination 21
978s # Combination 22
978s # Combination 23
978s # Combination 24
978s # Combination 25
978s # Combination 26
978s # Combination 27
978s # Combination 28
978s # Combination 29
978s # Combination 30
978s # Combination 31
978s # Combination 32
978s # Combination 33
978s # Combination 34
978s # Combination 35
978s # Combination 36
978s # Combination 37
978s # Combination 38
978s # Combination 39
978s # Combination 40
978s # Combination 41
978s # Combination 42
978s # Combination 43
978s # Combination 44
978s # Combination 45
978s # Combination 46
978s # Combination 47
978s # Combination 48
978s # Combination 49
978s # Combination 50
978s # Combination 51
978s # Combination 52
978s # Combination 53
978s # Combination 54
978s # Combination 55
978s # Combination 56
978s # Combination 57
978s # Combination 58
978s # Combination 59
978s # Combination 60
978s # Combination 61
978s # Combination 62
978s # Combination 63
978s # Combination 64
978s # Combination 65
978s # Combination 66
978s # Combination 67
978s # Combination 68
978s # Combination 69
978s # Combination 70
978s # Combination 71
978s # Combination 72
978s # Combination 73
978s # Combination 74
978s # Combination 75
978s # Combination 76
978s # Combination 77
978s # Combination 78
978s # Combination 79
978s # Combination 80
978s # Combination 81
978s # Combination 82
978s # Combination 83
978s # Combination 84
978s # Combination 85
978s # Combination 86
978s # Combination 87
978s # Combination 88
978s # Combination 89
978s # Combination 90
978s # Combination 91
978s # Combination 92
978s # Combination 93
978s # Combination 94
978s # Combination 95
978s # Combination 96
978s # Combination 97
978s # Combination 98
978s # Combination 99
978s # Combination 100
978s # Combination 101
978s # Combination 102
978s # Combination 103
978s # Combination 104
978s # Combination 105
978s # Combination 106
978s # Combination 107
978s # Combination 108
978s # Combination 109
978s # Combination 110
978s # Combination 111
978s # Combination 112
978s # Combination 113
978s # Combination 114
978s # Combination 115
978s # Combination 116
978s # Combination 117
978s # Combination 118
978s # Combination 119
978s # Combination 120
978s # Combination 121
978s # Combination 122
978s # Combination 123
978s # Combination 124
978s # Combination 125
978s # Combination 126
978s # Combination 127
978s # Combination 128
978s # Combination 129
978s # Combination 130
978s # Combination 131
978s # Combination 132
978s # Combination 133
978s # Combination 134
978s # Combination 135
978s # Combination 136
978s # Combination 137
978s # Combination 138
978s # Combination 139
978s # Combination 140
978s # Combination 141
978s # Combination 142
978s # Combination 143
978s # Combination 144
978s # Combination 145
978s # Combination 146
978s # Combination 147
978s # Combination 148
978s # Combination 149
978s # Combination 150
978s # Combination 151
978s # Combination 152
978s # Combination 153
978s # Combination 154
978s # Combination 155
978s # Combination 156
978s # Combination 157
978s # Combination 158
978s # Combination 159
978s # Combination 160
978s # Combination 161
978s # Combination 162
978s # Combination 163
978s # Combination 164
978s # Combination 165
978s # Combination 166
978s # Combination 167
978s # Combination 168
978s # Combination 169
978s # Combination 170
978s # Combination 171
978s # Combination 172
978s # Combination 173
978s # Combination 174
978s # Combination 175
978s # Combination 176
978s # Combination 177
978s # Combination 178
978s # Combination 179
978s # Combination 180
978s # Combination 181
978s # Combination 182
978s # Combination 183
978s # Combination 184
978s # Combination 185
978s # Combination 186
978s # Combination 187
978s # Combination 188
978s # Combination 189
978s # Combination 190
978s # Combination 191
978s # Combination 192
978s # Combination 193
978s # Combination 194
978s # Combination 195
978s # Combination 196
978s # Combination 197
978s # Combination 198
978s # Combination 199
978s # Combination 200
978s # Combination 201
978s # Combination 202
978s # Combination 203
978s # Combination 204
978s # Combination 205
978s # Combination 206
978s # Combination 207
978s # Combination 208
978s # Combination 209
978s # Combination 210
978s # Combination 211
978s # Combination 212
978s # Combination 213
978s # Combination 214
978s # Combination 215
978s # Combination 216
978s # Combination 217
978s # Combination 218
978s # Combination 219
978s # Combination 220
978s # Combination 221
978s # Combination 222
978s # Combination 223
978s # Combination 224
978s # Combination 225
978s # Combination 226
978s # Combination 227
978s # Combination 228
978s # Combination 229
978s # Combination 230
978s # Combination 231
978s # Combination 232
978s # Combination 233
978s # Combination 234
978s # Combination 235
978s # Combination 236
978s # Combination 237
978s # Combination 238
978s # Combination 239
978s # Combination 240
978s # Combination 241
978s # Combination 242
978s # Combination 243
978s # Combination 244
978s # Combination 245
978s # Combination 246
978s # Combination 247
978s # Combination 248
978s # Combination 249
978s # Combination 250
978s # Combination 251
978s # Combination 252
978s # Combination 253
978s # Combination 254
978s # Combination 255
978s ok 15 /uri/join-split-round-trip
978s ok 16 /uri/normalize
978s # Start of unescape-bytes tests
978s # Test 0: %00%00
978s # Test 1: /cursors/none.png
978s # Test 2: /cursors%2fbad-subdir/none.png
978s # Test 3: %%
978s # Test 4: %
978s ok 17 /uri/unescape-bytes/nul-terminated
978s # Test 0: %00%00
978s # Test 1: /cursors/none.png
978s # Test 2: /cursors%2fbad-subdir/none.png
978s # Test 3: %%
978s # Test 4: %
978s ok 18 /uri/unescape-bytes/length
978s # End of unescape-bytes tests
978s # Start of parsing tests
978s # Test 0: foo:
978s # Test 1: file:/dev/null
978s # Test 2: file:///dev/null
978s # Test 3: ftp://user@host/path
978s # Test 4: ftp://user@host:9999/path
978s # Test 5: ftp://user:password@host/path
978s # Test 6: ftp://user:password@host:9999/path
978s # Test 7: ftp://user:password@host
978s # Test 8: http://us%65r@host
978s # Test 9: http://us%40r@host
978s # Test 10: http://us%3ar@host
978s # Test 11: http://us%2fr@host
978s # Test 12: http://us%3fr@host
978s # Test 13: http://host?query
978s # Test 14: http://host/path?query=http%3A%2F%2Fhost%2Fpath%3Fchildparam%3Dchildvalue¶m=value
978s # 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
978s # Test 16: http://space/%20
978s # Test 17: http://delims/%3C%3E%23%25%22
978s # Test 18: http://unwise-chars/%7B%7D%7C%5C%5E%5B%5D%60
978s # Test 19: http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]:80/index.html
978s # Test 20: http://[1080:0:0:0:8:800:200C:417A]/index.html
978s # Test 21: http://[3ffe:2a00:100:7031::1]
978s # Test 22: http://[1080::8:800:200C:417A]/foo
978s # Test 23: http://[::192.9.5.5]/ipng
978s # Test 24: http://[::FFFF:129.144.52.38]:80/index.html
978s # Test 25: http://[2010:836B:4179::836B:4179]
978s # Test 26: http://host/path with spaces
978s # Test 27: http://host/path
978s # Test 28: http://host/path
978s # Test 29: http://host
978s # Test 30: http://host:999
978s # Test 31: http://host/pa
978s # th
978s # Test 32: http:
978s # //host/path
978s # Test 33: http:// host/path
978s # Test 34: http://host/path?
978s # Test 35: http://host/path#
978s # Test 36: http://host/path%
978s # Test 37: http://h%ost/path
978s # Test 38: http://host/path%%
978s # Test 39: http://host/path%%%
978s # Test 40: http://host/path%/x/
978s # Test 41: http://host/path%0x/
978s # Test 42: http://host/path%ax
978s # Test 43: http://host/p?th/
978s # Test 44: HTTP:////////////////
978s # Test 45: http://@host
978s # Test 46: http://:@host
978s # Test 47: scheme://foo%3Abar._webdav._tcp.local
978s # Test 48: http://example.com/..
978s # Test 49: foo0://host/path
978s # Test 50: f0.o://host/path
978s # Test 51: http++://host/path
978s # Test 52: http-ish://host/path
978s # Test 53: http://[fe80::dead:beef%]/
978s # Test 54: http://[fe80::dead:beef%em1]/
978s # Test 55: http://[fe80::dead:beef%em1]/
978s # Test 56: http://[fe80::dead:beef%25em1]/
978s # Test 57: http://[fe80::dead:beef%25em1%20]/
978s # Test 58: http://[fe80::dead:beef%25em%31]/
978s # Test 59: http://[fe80::dead:beef%10]/
978s # Test 60: http://[fe80::dead:beef%10]/
978s # Test 61: http://[fe80::dead:beef%25]/
978s # Test 62: http://[fe80::dead:beef%25]/
978s # Test 63: http://[192.168.0.1%25em1]/
978s # Test 64: http://[fe80::dead:beef%2em1]/
978s # Test 65: http://[fe80::dead:beef%2em1]/
978s # Test 66: http://[fe80::dead:beef%25em1%00]/
978s # Test 67: http://[fe80::dead:beef%25em1%00]/
978s # Test 68: http://xn--mixed-?p/
978s # Test 69: data:.///
978s # Test 70: data:/.//
978s ok 19 /uri/parsing/absolute
978s ok 20 /uri/parsing/relative
978s # End of parsing tests
978s # Start of iter-params tests
978s # URI 0: p1=foo&p2=bar;p3=baz
978s # URI 1: p1=foo&p2=bar
978s # URI 2: p1=foo&&P1=bar
978s # URI 3: %00=foo
978s # URI 4: p1=%00
978s # URI 5: p1=foo&p1=bar
978s # URI 6: p1=foo&P1=bar
978s # URI 7: =%
978s # URI 8: =
978s # URI 9: foo
978s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
978s ok 21 /uri/iter-params/nul-terminated
978s # URI 0: p1=foo&p2=bar;p3=baz
978s # URI 1: p1=foo&p2=bar
978s # URI 2: p1=foo&&P1=bar
978s # URI 3: %00=foo
978s # URI 4: p1=%00
978s # URI 5: p1=foo&p1=bar
978s # URI 6: p1=foo&P1=bar
978s # URI 7: =%
978s # URI 8: =
978s # URI 9: foo
978s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
978s ok 22 /uri/iter-params/length
978s # End of iter-params tests
978s # Start of parse-params tests
978s # URI 0: p1=foo&p2=bar;p3=baz
978s # URI 1: p1=foo&p2=bar
978s # URI 2: p1=foo&&P1=bar
978s # URI 3: %00=foo
978s # URI 4: p1=%00
978s # URI 5: p1=foo&p1=bar
978s # URI 6: p1=foo&P1=bar
978s # URI 7: =%
978s # URI 8: =
978s # URI 9: foo
978s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
978s ok 23 /uri/parse-params/nul-terminated
978s # URI 0: p1=foo&p2=bar;p3=baz
978s # URI 1: p1=foo&p2=bar
978s # URI 2: p1=foo&&P1=bar
978s # URI 3: %00=foo
978s # URI 4: p1=%00
978s # URI 5: p1=foo&p1=bar
978s # URI 6: p1=foo&P1=bar
978s # URI 7: =%
978s # URI 8: =
978s # URI 9: foo
978s # URI 10: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 11: foo=bar+%26+baz&saisons=%C3%89t%C3%A9%2Bhiver
978s # URI 12: token=exp=123~acl=/QualityLevels(*~hmac=0cb
978s ok 24 /uri/parse-params/length
978s # End of parse-params tests
978s # End of uri tests
978s ok - glib/uri.test
978s # Running test: glib/array-test.test
978s ok - glib/array-test.test
978s # Running test: glib/memory-output-stream.test
978s ok - glib/memory-output-stream.test
978s # Running test: glib/socket.test
978s TAP version 14
978s # random seed: R02Sc1e500c30cc9adbfb93b2305b52d9f64
978s 1..113
978s # Start of array tests
978s ok 1 /array/ref-count
978s ok 2 /array/steal
978s ok 3 /array/clear-func
978s ok 4 /array/binary-search
978s # /array/copy-sized summary: Test that copying a newly-allocated sized array works.
978s ok 5 /array/copy-sized
978s ok 6 /array/overflow-append-vals
978s ok 7 /array/overflow-set-size
978s # Start of new tests
978s ok 8 /array/new/zero-terminated
978s ok 9 /array/new/take
978s ok 10 /array/new/take-zero-terminated
978s # Start of take tests
978s ok 11 /array/new/take/empty
978s ok 12 /array/new/take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
978s # End of take tests
978s # End of new tests
978s # Start of set-size tests
978s ok 13 /array/set-size/non-zero-terminated-no-clear
978s ok 14 /array/set-size/non-zero-terminated-clear
978s ok 15 /array/set-size/zero-terminated-no-clear
978s ok 16 /array/set-size/zero-terminated-clear
978s # Start of sized tests
978s ok 17 /array/set-size/sized/non-zero-terminated-no-clear
978s ok 18 /array/set-size/sized/non-zero-terminated-clear
978s ok 19 /array/set-size/sized/zero-terminated-no-clear
978s ok 20 /array/set-size/sized/zero-terminated-clear
978s # End of sized tests
978s # End of set-size tests
978s # Start of append-val tests
978s ok 21 /array/append-val/non-zero-terminated-no-clear
978s ok 22 /array/append-val/non-zero-terminated-clear
978s ok 23 /array/append-val/zero-terminated-no-clear
978s ok 24 /array/append-val/zero-terminated-clear
978s # End of append-val tests
978s # Start of prepend-val tests
978s ok 25 /array/prepend-val/non-zero-terminated-no-clear
978s ok 26 /array/prepend-val/non-zero-terminated-clear
978s ok 27 /array/prepend-val/zero-terminated-no-clear
978s ok 28 /array/prepend-val/zero-terminated-clear
978s # End of prepend-val tests
978s # Start of prepend-vals tests
978s ok 29 /array/prepend-vals/non-zero-terminated-no-clear
978s ok 30 /array/prepend-vals/non-zero-terminated-clear
978s ok 31 /array/prepend-vals/zero-terminated-no-clear
978s ok 32 /array/prepend-vals/zero-terminated-clear
978s # End of prepend-vals tests
978s # Start of insert-vals tests
978s ok 33 /array/insert-vals/non-zero-terminated-no-clear
978s ok 34 /array/insert-vals/non-zero-terminated-clear
978s ok 35 /array/insert-vals/zero-terminated-no-clear
978s ok 36 /array/insert-vals/zero-terminated-clear
978s # End of insert-vals tests
978s # Start of remove-index tests
978s ok 37 /array/remove-index/non-zero-terminated-no-clear
978s ok 38 /array/remove-index/non-zero-terminated-clear
978s ok 39 /array/remove-index/zero-terminated-no-clear
978s ok 40 /array/remove-index/zero-terminated-clear
978s # End of remove-index tests
978s # Start of remove-index-fast tests
978s ok 41 /array/remove-index-fast/non-zero-terminated-no-clear
978s ok 42 /array/remove-index-fast/non-zero-terminated-clear
978s ok 43 /array/remove-index-fast/zero-terminated-no-clear
978s ok 44 /array/remove-index-fast/zero-terminated-clear
978s # End of remove-index-fast tests
978s # Start of remove-range tests
978s ok 45 /array/remove-range/non-zero-terminated-no-clear
978s ok 46 /array/remove-range/non-zero-terminated-clear
978s ok 47 /array/remove-range/zero-terminated-no-clear
978s ok 48 /array/remove-range/zero-terminated-clear
978s # End of remove-range tests
978s # Start of copy tests
978s ok 49 /array/copy/non-zero-terminated-no-clear
978s ok 50 /array/copy/non-zero-terminated-clear
978s ok 51 /array/copy/zero-terminated-no-clear
978s ok 52 /array/copy/zero-terminated-clear
978s # End of copy tests
978s # Start of sort tests
978s ok 53 /array/sort/non-zero-terminated-no-clear
978s ok 54 /array/sort/non-zero-terminated-clear
978s ok 55 /array/sort/zero-terminated-no-clear
978s ok 56 /array/sort/zero-terminated-clear
978s # End of sort tests
978s # Start of sort-with-data tests
978s ok 57 /array/sort-with-data/non-zero-terminated-no-clear
978s ok 58 /array/sort-with-data/non-zero-terminated-clear
978s ok 59 /array/sort-with-data/zero-terminated-no-clear
978s ok 60 /array/sort-with-data/zero-terminated-clear
978s # End of sort-with-data tests
978s # End of array tests
978s # Start of pointerarray tests
978s ok 61 /pointerarray/add
978s ok 62 /pointerarray/insert
978s ok 63 /pointerarray/new-take
978s ok 64 /pointerarray/new-take-null-terminated
978s ok 65 /pointerarray/new-from-array
978s ok 66 /pointerarray/new-from-null-terminated-array
978s ok 67 /pointerarray/free-func
978s ok 68 /pointerarray/array_extend_and_steal
978s ok 69 /pointerarray/sort
978s ok 70 /pointerarray/sort-with-data
978s ok 71 /pointerarray/sort-values
978s ok 72 /pointerarray/sort-values-with-data
978s ok 73 /pointerarray/remove-range
978s ok 74 /pointerarray/steal
978s # Start of free tests
978s # /pointerarray/free/null-terminated summary: Check that g_ptr_array_free() on an empty array returns a NULL-terminated empty array
978s ok 75 /pointerarray/free/null-terminated
978s # End of free tests
978s # Start of new-take tests
978s ok 76 /pointerarray/new-take/empty
978s ok 77 /pointerarray/new-take/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
978s ok 78 /pointerarray/new-take/with-free-func
978s # End of new-take tests
978s # Start of new-take-null-terminated tests
978s ok 79 /pointerarray/new-take-null-terminated/empty
978s ok 80 /pointerarray/new-take-null-terminated/with-free-func
978s ok 81 /pointerarray/new-take-null-terminated/from-gstrv
978s # End of new-take-null-terminated tests
978s # Start of new-from-array tests
978s ok 82 /pointerarray/new-from-array/empty
978s ok 83 /pointerarray/new-from-array/overflow # SKIP Overflow test requires UINT_WIDTH > SIZE_WIDTH.
978s ok 84 /pointerarray/new-from-array/with-copy-and-free-func
978s # End of new-from-array tests
978s # Start of new-from-null-terminated-array tests
978s ok 85 /pointerarray/new-from-null-terminated-array/empty
978s ok 86 /pointerarray/new-from-null-terminated-array/with-copy-and-free-func
978s ok 87 /pointerarray/new-from-null-terminated-array/from-gstrv
978s # End of new-from-null-terminated-array tests
978s # Start of ref-count tests
978s ok 88 /pointerarray/ref-count/not-null-terminated
978s ok 89 /pointerarray/ref-count/null-terminated
978s # End of ref-count tests
978s # Start of array_copy tests
978s # /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
978s ok 90 /pointerarray/array_copy/not-null-terminated
978s # /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
978s ok 91 /pointerarray/array_copy/null-terminated
978s # End of array_copy tests
978s # Start of array_extend tests
978s ok 92 /pointerarray/array_extend/not-null-terminated
978s ok 93 /pointerarray/array_extend/null-terminated
978s # End of array_extend tests
978s # Start of sort tests
978s # /pointerarray/sort/example summary: Check that the doc-comment for g_ptr_array_sort() is correct
978s ok 94 /pointerarray/sort/example
978s # End of sort tests
978s # Start of sort-with-data tests
978s # /pointerarray/sort-with-data/example summary: Check that the doc-comment for g_ptr_array_sort_with_data() is correct
978s ok 95 /pointerarray/sort-with-data/example
978s # End of sort-with-data tests
978s # Start of sort-values tests
978s ok 96 /pointerarray/sort-values/example
978s # End of sort-values tests
978s # Start of sort-values-with-data tests
978s ok 97 /pointerarray/sort-values-with-data/example
978s # End of sort-values-with-data tests
978s # Start of find tests
978s ok 98 /pointerarray/find/empty
978s ok 99 /pointerarray/find/non-empty
978s # End of find tests
978s # Start of steal_index tests
978s ok 100 /pointerarray/steal_index/not-null-terminated
978s ok 101 /pointerarray/steal_index/null-terminated
978s # End of steal_index tests
978s # End of pointerarray tests
978s # Start of bytearray tests
978s ok 102 /bytearray/steal
978s ok 103 /bytearray/append
978s ok 104 /bytearray/prepend
978s ok 105 /bytearray/remove
978s ok 106 /bytearray/remove-fast
978s ok 107 /bytearray/remove-range
978s ok 108 /bytearray/ref-count
978s ok 109 /bytearray/sort
978s ok 110 /bytearray/sort-with-data
978s ok 111 /bytearray/new-take
978s ok 112 /bytearray/new-take-overflow # SKIP Overflow test requires G_MAXSIZE > G_MAXUINT.
978s ok 113 /bytearray/free-to-bytes
978s # End of bytearray tests
978s TAP version 14
978s # random seed: R02S628b1c4366dfe6efea1cb2e8be088407
978s 1..10
978s # Start of memory-output-stream tests
978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540423
978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=720080
978s ok 1 /memory-output-stream/truncate
978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540459
978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=540461
978s ok 2 /memory-output-stream/get-data-size
978s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=605733
978s ok 3 /memory-output-stream/properties
978s ok 4 /memory-output-stream/write-bytes
978s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2471
978s ok 5 /memory-output-stream/write-null
978s ok 6 /memory-output-stream/writev
978s ok 7 /memory-output-stream/writev_nonblocking
978s ok 8 /memory-output-stream/steal_as_bytes
978s # Start of seek tests
978s ok 9 /memory-output-stream/seek/fixed
978s ok 10 /memory-output-stream/seek/resizable
978s # End of seek tests
978s # End of memory-output-stream tests
978s TAP version 14
978s # random seed: R02S885300e3ad34ed309a703d1cb79b1ffb
978s 1..28
978s # Start of socket tests
979s ok 1 /socket/ipv4_sync
979s # slow test /socket/ipv4_sync executed in 1.00 secs
980s ok 2 /socket/ipv4_async
980s # slow test /socket/ipv4_async executed in 1.00 secs
980s ok 3 /socket/ipv6_sync
980s ok 4 /socket/ipv6_async
980s ok 5 /socket/ipv6_v4mapped
981s ok 6 /socket/close_graceful
981s # slow test /socket/close_graceful executed in 1.00 secs
981s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
981s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
981s ok 8 /socket/fd_reuse
981s ok 9 /socket/address
981s ok 10 /socket/unix-from-fd
981s ok 11 /socket/unix-connection
981s ok 12 /socket/unix-connection-ancillary-data
981s ok 13 /socket/source-postmortem
981s ok 14 /socket/read_write
981s ok 15 /socket/read_writev
981s # Executing: glib/socket.test
981s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
981s ok 16 /socket/receive_bytes
981s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
981s ok 17 /socket/receive_bytes_from
981s # Start of ipv4_sync tests
981s ok 18 /socket/ipv4_sync/datagram
981s # Start of datagram tests
982s ok 19 /socket/ipv4_sync/datagram/timeouts
982s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
982s # End of datagram tests
982s # End of ipv4_sync tests
982s # Start of ipv6_sync tests
982s ok 20 /socket/ipv6_sync/datagram
982s # Start of datagram tests
984s ok 21 /socket/ipv6_sync/datagram/timeouts
984s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
984s # End of datagram tests
984s # End of ipv6_sync tests
984s # Start of reuse tests
984s ok 22 /socket/reuse/tcp
984s ok 23 /socket/reuse/udp
984s # End of reuse tests
984s # Start of get_available tests
984s ok 24 /socket/get_available/datagram
984s ok - glib/socket.test
984s # Running test: glib/bytes.test
984s ok 25 /socket/get_available/stream
984s # End of get_available tests
984s # Start of credentials tests
984s # Supported on this OS: GCredentials:linux-ucred:pid=0
984s ok 26 /socket/credentials/tcp_client
984s # Supported on this OS: GCredentials:linux-ucred:pid=0
984s ok 27 /socket/credentials/tcp_server
984s # Supported on this OS: GCredentials:linux-ucred:pid=8860,uid=1000,gid=1000
984s ok 28 /socket/credentials/unix_socketpair
984s # End of credentials tests
984s # End of socket tests
984s TAP version 14
984s # random seed: R02Scc03eb84b8f8cab73e0d75868d22e71a
984s 1..21
984s # Start of bytes tests
984s ok 1 /bytes/new
984s ok 2 /bytes/new-take
984s ok 3 /bytes/new-static
984s ok 4 /bytes/new-with-free-func
984s ok 5 /bytes/new-from-bytes
984s ok 6 /bytes/new-from-bytes-slice
984s ok 7 /bytes/new-from-bytes-shared-ref
984s ok 8 /bytes/hash
984s ok 9 /bytes/equal
984s ok 10 /bytes/compare
984s ok 11 /bytes/null
984s ok 12 /bytes/get-region
984s # /bytes/unref-null summary: Test that calling g_bytes_unref() on NULL is a no-op
984s ok 13 /bytes/unref-null
984s # Start of to-data tests
984s ok 14 /bytes/to-data/transferred
984s ok 15 /bytes/to-data/two-refs
984s ok 16 /bytes/to-data/non-malloc
984s ok 17 /bytes/to-data/different-free-func
984s # End of to-data tests
984s # Start of to-array tests
984s ok 18 /bytes/to-array/transferred
984s ok 19 /bytes/to-array/two-refs
984s ok 20 /bytes/to-array/non-malloc
984s # Start of transferred tests
984s # g_bytes_unref_to_array() can only take GBytes up to G_MAXUINT in length; test that longer ones are rejected
984s ok 21 /bytes/to-array/transferred/oversize
984s # End of transferred tests
984s # End of to-array tests
984s # End of bytes tests
984s ok - glib/bytes.test
984s # Running test: glib/custom-dispatch.test
984s ok - glib/custom-dispatch.test
984s # Running test: glib/strfuncs.test
984s ok - glib/strfuncs.test
984s # Running test: glib/fileutils.test
984s TAP version 14
984s # random seed: R02Sdb2027970ca768ad8e8634dd3a029ab0
984s 1..2
984s # Start of properties tests
984s # Start of custom-dispatch tests
984s # /properties/custom-dispatch/init summary: Test that custom dispatch_properties_changed is called on initialization
984s ok 1 /properties/custom-dispatch/init
984s # /properties/custom-dispatch/set summary: Test that custom dispatch_properties_changed is called regardless of connected notify handlers
984s ok 2 /properties/custom-dispatch/set
984s # End of custom-dispatch tests
984s # End of properties tests
984s TAP version 14
984s # random seed: R02Sc8714debfcc783156609d27c297c707a
984s 1..51
984s # Start of strfuncs tests
984s ok 1 /strfuncs/ascii-strcasecmp
984s ok 2 /strfuncs/ascii_strdown
984s ok 3 /strfuncs/ascii_strdup
984s ok 4 /strfuncs/ascii_strtod
984s ok 5 /strfuncs/bounds-check
984s ok 6 /strfuncs/has-prefix
984s ok 7 /strfuncs/has-prefix-macro
984s ok 8 /strfuncs/has-suffix
984s ok 9 /strfuncs/has-suffix-macro
984s ok 10 /strfuncs/memdup
984s ok 11 /strfuncs/memdup2
984s ok 12 /strfuncs/set_str
984s ok 13 /strfuncs/stpcpy
984s ok 14 /strfuncs/str_match_string
984s ok 15 /strfuncs/str_tokenize_and_fold
984s ok 16 /strfuncs/strcanon
984s ok 17 /strfuncs/strchomp
984s ok 18 /strfuncs/strchug
984s ok 19 /strfuncs/strcompress-strescape
984s ok 20 /strfuncs/strconcat
984s ok 21 /strfuncs/strdelimit
984s ok 22 /strfuncs/strdup
984s ok 23 /strfuncs/strdup-printf
984s ok 24 /strfuncs/strdupv
984s ok 25 /strfuncs/strerror
984s ok 26 /strfuncs/strip-context
984s ok 27 /strfuncs/strjoin
984s ok 28 /strfuncs/strjoinv
984s ok 29 /strfuncs/strlcat
984s ok 30 /strfuncs/strlcpy
984s ok 31 /strfuncs/strncasecmp
984s ok 32 /strfuncs/strndup
984s ok 33 /strfuncs/strnfill
984s ok 34 /strfuncs/strreverse
984s ok 35 /strfuncs/strsignal
984s ok 36 /strfuncs/strsplit
984s ok 37 /strfuncs/strsplit-set
984s ok 38 /strfuncs/strstr
984s ok 39 /strfuncs/strtod
984s ok 40 /strfuncs/strtoull-strtoll
984s ok 41 /strfuncs/strup
984s ok 42 /strfuncs/strv-contains
984s ok 43 /strfuncs/strv-equal
984s ok 44 /strfuncs/strv-length
984s ok 45 /strfuncs/test-is-to-digit
984s ok 46 /strfuncs/transliteration
984s # /strfuncs/str-equal summary: Test macro and function forms of g_str_equal()
984s ok 47 /strfuncs/str-equal
984s ok 48 /strfuncs/str-is-ascii
984s # Start of ascii-string-to-num tests
984s ok 49 /strfuncs/ascii-string-to-num/pathological
984s ok 50 /strfuncs/ascii-string-to-num/usual
984s # End of ascii-string-to-num tests
984s # Start of strdup tests
984s ok 51 /strfuncs/strdup/inline
984s # End of strdup tests
984s # End of strfuncs tests
984s TAP version 14
984s # random seed: R02Sde9b2620a0e457a727726c772c9409a3
984s 1..27
984s # Start of fileutils tests
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/paths/.dirs/runtime
984s ok 1 /fileutils/paths
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/build-path/.dirs/runtime
984s ok 2 /fileutils/build-path
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/build-pathv/.dirs/runtime
984s ok 3 /fileutils/build-pathv
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/build-filename/.dirs/runtime
984s ok 4 /fileutils/build-filename
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/build-filenamev/.dirs/runtime
984s ok 5 /fileutils/build-filenamev
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents/.dirs/runtime
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # Checking g_mkdir_with_parents() in subdir ./hum/
984s # Checking g_mkdir_with_parents() in subdir ./hii///haa/hee/
984s ok 6 /fileutils/mkdir-with-parents
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/mkdir-with-parents-permission/.dirs/runtime
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s ok 7 /fileutils/mkdir-with-parents-permission
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/format-size-for-display/.dirs/runtime
984s ok 8 /fileutils/format-size-for-display
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/errors/.dirs/runtime
984s ok 9 /fileutils/errors
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/basename/.dirs/runtime
984s ok 10 /fileutils/basename
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/get-basename/.dirs/runtime
984s ok 11 /fileutils/get-basename
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/dirname/.dirs/runtime
984s ok 12 /fileutils/dirname
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/dir-make-tmp/.dirs/runtime
984s ok 13 /fileutils/dir-make-tmp
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/file-open-tmp/.dirs/runtime
984s ok 14 /fileutils/file-open-tmp
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/file-test/.dirs/runtime
984s ok 15 /fileutils/file-test
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/mkstemp/.dirs/runtime
984s ok 16 /fileutils/mkstemp
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/mkdtemp/.dirs/runtime
984s ok 17 /fileutils/mkdtemp
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/get-contents/.dirs/runtime
984s ok 18 /fileutils/get-contents
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/get-contents-large-file/.dirs/runtime
984s ok 19 /fileutils/get-contents-large-file # SKIP Skipping slow largefile test
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/set-contents/.dirs/runtime
984s ok 20 /fileutils/set-contents
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/.dirs/runtime
984s # /fileutils/set-contents-full summary: Test g_file_set_contents_full() with various flags
984s # Flags 0 and test 0
984s # Flags 0 and test 1
984s # Flags 0 and test 2
984s # Flags 0 and test 3
984s # Flags 0 and test 4
984s # Flags 0 and test 5
984s # Flags 1 and test 0
984s # Flags 1 and test 1
984s # Flags 1 and test 2
984s # Flags 1 and test 3
984s # Flags 1 and test 4
984s # Flags 1 and test 5
984s # Flags 2 and test 0
984s # Flags 2 and test 1
984s # Flags 2 and test 2
984s # Flags 2 and test 3
984s # Flags 2 and test 4
984s # Flags 2 and test 5
984s # Flags 3 and test 0
984s # Flags 3 and test 1
984s # Flags 3 and test 2
984s # Flags 3 and test 3
984s # Flags 3 and test 4
984s # Flags 3 and test 5
984s # Flags 4 and test 0
984s # Flags 4 and test 1
984s # Flags 4 and test 2
984s # Flags 4 and test 3
984s # Flags 4 and test 4
984s # Flags 4 and test 5
984s # Flags 5 and test 0
984s # Flags 5 and test 1
984s # Flags 5 and test 2
984s # Flags 5 and test 3
984s # Flags 5 and test 4
984s # Flags 5 and test 5
984s # Flags 6 and test 0
984s # Flags 6 and test 1
984s # Flags 6 and test 2
984s # Flags 6 and test 3
984s # Flags 6 and test 4
984s # Flags 6 and test 5
984s ok 21 /fileutils/set-contents-full
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/read-link/.dirs/runtime
984s ok 22 /fileutils/read-link
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/stdio-wrappers/.dirs/runtime
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s ok 23 /fileutils/stdio-wrappers
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/fopen-modes/.dirs/runtime
984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/119
984s # Testing fopen() mode 'w'
984s # Testing fopen() mode 'r'
984s # Testing fopen() mode 'a'
984s # Testing fopen() mode 'w+'
984s # Testing fopen() mode 'r+'
984s # Testing fopen() mode 'a+'
984s # Testing fopen() mode 'wb'
984s # Testing fopen() mode 'rb'
984s # Testing fopen() mode 'ab'
984s # Testing fopen() mode 'w+b'
984s # Testing fopen() mode 'r+b'
984s # Testing fopen() mode 'a+b'
984s # Testing fopen() mode 'wb+'
984s # Testing fopen() mode 'rb+'
984s # Testing fopen() mode 'ab+'
984s ok 24 /fileutils/fopen-modes
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/clear-fd/.dirs/runtime
984s # /fileutils/clear-fd summary: Test g_clear_fd() and g_autofd
984s # Will be closed by autocleanup: 3, -42
984s # Testing error handling
984s ok 25 /fileutils/clear-fd
984s # Start of set-contents-full tests
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-file/.dirs/runtime
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # /fileutils/set-contents-full/read-only-file summary: Test g_file_set_contents_full() on a read-only file
984s ok 26 /fileutils/set-contents-full/read-only-file
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/system-config1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/system-data1:/tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_fileutils_YHYZ52/fileutils/set-contents-full/read-only-directory/.dirs/runtime
984s # /fileutils/set-contents-full/read-only-directory summary: Test g_file_set_contents_full() on a file in a read-only directory
984s # Flags 0
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # Flags 1
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # Flags 2
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # Flags 3
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # Flags 4
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # Flags 5
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s # Flags 6
984s # We do not have CAP_DAC_OVERRIDE or equivalent
984s ok 27 /fileutils/set-contents-full/read-only-directory
984s # End of set-contents-full tests
984s # Start of clear-fd tests
984s # Start of subprocess tests
984s # End of subprocess tests
984s # End of clear-fd tests
984s # End of fileutils tests
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52/glib-file-set-contents-full-rodir-20W852: Directory not empty
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52/glib-file-set-contents-full-rodir-LTZA62: Directory not empty
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52/glib-file-set-contents-full-rodir-VLMA62: Directory not empty
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52/glib-file-set-contents-full-rodir-XK1852: Directory not empty
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52/glib-file-set-contents-full-rodir-YGBB62: Directory not empty
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52/glib-file-set-contents-full-rodir-4KIA62: Directory not empty
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52/glib-file-set-contents-full-rodir-TVH952: Directory not empty
984s Unable to clean up temporary directory /tmp/test_fileutils_YHYZ52: Directory not empty
984s ok - glib/fileutils.test
984s # Running test: glib/gdbus-test-codegen-old.test
984s TAP version 14
984s # random seed: R02S68c67a48098d6348706a8db203a26df1
984s 1..8
984s # Start of gdbus tests
984s # Start of codegen tests
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/annotations/.dirs/runtime
984s ok 1 /gdbus/codegen/annotations
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/interface_stability/.dirs/runtime
984s ok 2 /gdbus/codegen/interface_stability
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/object-manager/.dirs/runtime
984s ok - glib/gdbus-test-codegen-old.test
984s # Running test: glib/logging.test
984s ok 3 /gdbus/codegen/object-manager
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/property-naming/.dirs/runtime
984s ok 4 /gdbus/codegen/property-naming
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/autocleanups/.dirs/runtime
984s ok 5 /gdbus/codegen/autocleanups
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/deprecations/.dirs/runtime
984s ok 6 /gdbus/codegen/deprecations
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/standalone-interface-info/.dirs/runtime
984s ok 7 /gdbus/codegen/standalone-interface-info
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/system-config1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/system-data1:/tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-test-codegen-old_NANC62/gdbus/codegen/unix-fd-list/.dirs/runtime
984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1726
984s ok 8 /gdbus/codegen/unix-fd-list
984s # End of codegen tests
984s # End of gdbus tests
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s TAP version 14
984s # random seed: R02S0ff31ee479175b2c76c2367056a46dcb
984s 1..17
984s # Start of logging tests
984s ok 1 /logging/default-handler
984s ok 2 /logging/warnings
984s ok 3 /logging/fatal-log-mask
984s # bu-DEBUG: message
984s # ba-DEBUG: message
984s # ba-INFO: message
984s ok 4 /logging/set-handler
984s ok 5 /logging/print-handler
984s ok 6 /logging/printerr-handler
984s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=653052
984s # The Log Message Handler
984s #
984s # The Good Fail Message Handler
984s #
984s ok 7 /logging/653052
984s ok 8 /logging/gibberish
984s # Start of default-handler tests
984s # Start of subprocess tests
984s # End of subprocess tests
984s # End of default-handler tests
984s # End of logging tests
984s # Start of structured-logging tests
984s ok 9 /structured-logging/no-state
984s ok 10 /structured-logging/some-state
984s ok 11 /structured-logging/robustness
984s ok 12 /structured-logging/roundtrip1
984s ok 13 /structured-logging/roundtrip2
984s ok 14 /structured-logging/roundtrip3
984s ok 15 /structured-logging/variant1
984s ok 16 /structured-logging/variant2
984s ok 17 /structured-logging/set-writer-func-twice
984s # End of structured-logging tests
984s ok - glib/logging.test
984s # Running test: glib/gdbus-connection.test
984s TAP version 14
984s # random seed: R02S209d99c13fd86d2054e67c0574214d0e
984s 1..9
984s # Start of gdbus tests
984s # Start of connection tests
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/bus-failure/.dirs/runtime
984s ok 1 /gdbus/connection/bus-failure
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/basic/.dirs/runtime
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 2 /gdbus/connection/basic
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/life-cycle/.dirs/runtime
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 3 /gdbus/connection/life-cycle
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/send/.dirs/runtime
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 4 /gdbus/connection/send
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signals/.dirs/runtime
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 5 /gdbus/connection/signals
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/signal-match-rules/.dirs/runtime
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 6 /gdbus/connection/signal-match-rules
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/filter/.dirs/runtime
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 7 /gdbus/connection/filter
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/serials/.dirs/runtime
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 8 /gdbus/connection/serials
984s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/home
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/cache
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/system-config1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/system-config2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/config
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/system-data1:/tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/system-data2
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/data
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/state
984s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-connection_TOV252/gdbus/connection/cancel/.dirs/runtime
984s # /gdbus/connection/cancel summary: Test that cancelling one of two racing g_bus_get() calls does not cancel the other one
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
984s ok 9 /gdbus/connection/cancel
984s # End of connection tests
984s # End of gdbus tests
984s ok - glib/gdbus-connection.test
984s # Running test: glib/cxx-17.test
984s ok - glib/cxx-17.test
984s TAP version 14
984s # random seed: R02S7644c9500fc7c7d4a72cad4c0c44b552
984s 1..2
984s # Start of gtask tests
984s # 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.
984s ok 1 /gtask/name
984s # Start of name tests
984s # 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.
984s ok 2 /gtask/name/macro-wrapper
984s # End of name tests
984s # End of gtask tests
984s # Running test: glib/regex.test
984s TAP version 14
984s # random seed: R02Sf516152ae538b0f13568260afc53606f
984s 1..848
984s # Start of regex tests
984s ok 1 /regex/properties
984s ok 2 /regex/class
984s ok 3 /regex/lookahead
984s ok 4 /regex/lookbehind
984s ok 5 /regex/subpattern
984s ok 6 /regex/condition
984s ok 7 /regex/recursion
984s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640489
984s ok 8 /regex/multiline
984s ok 9 /regex/explicit-crlf
984s ok 10 /regex/max-lookbehind
984s ok 11 /regex/compile-errors
984s ok 12 /regex/jit-unsupported-matching
984s # /regex/unmatched-named-subpattern summary: Test that unmatched subpatterns can still be queried
984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2881
984s ok 13 /regex/unmatched-named-subpattern
984s # /regex/compiled-regex-after-jit-failure summary: Test that failed OPTIMIZE regex doesn't cause issues on subsequent matches
984s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2824
984s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
984s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
984s ok 14 /regex/compiled-regex-after-jit-failure
984s # Start of new tests
984s ok 15 /regex/new/1
984s ok 16 /regex/new/2
984s ok 17 /regex/new/3
984s ok 18 /regex/new/4
984s ok 19 /regex/new/5
984s ok 20 /regex/new/6
984s ok 21 /regex/new/7
984s ok 22 /regex/new/8
984s ok 23 /regex/new/9
984s ok 24 /regex/new/10
984s ok 25 /regex/new/11
984s ok 26 /regex/new/12
984s ok 27 /regex/new/13
984s ok 28 /regex/new/14
984s ok 29 /regex/new/15
984s ok 30 /regex/new/16
984s ok 31 /regex/new/17
984s ok 32 /regex/new/18
984s ok 33 /regex/new/19
984s ok 34 /regex/new/71
984s ok 35 /regex/new/80
984s ok 36 /regex/new/82
984s # End of new tests
984s # Start of new-check-flags tests
984s ok 37 /regex/new-check-flags/20
984s ok 38 /regex/new-check-flags/21
984s ok 39 /regex/new-check-flags/22
984s ok 40 /regex/new-check-flags/23
984s ok 41 /regex/new-check-flags/24
984s ok 42 /regex/new-check-flags/25
984s ok 43 /regex/new-check-flags/26
984s ok 44 /regex/new-check-flags/27
984s ok 45 /regex/new-check-flags/28
984s ok 46 /regex/new-check-flags/29
984s ok 47 /regex/new-check-flags/30
984s ok 48 /regex/new-check-flags/31
984s ok 49 /regex/new-check-flags/32
984s ok 50 /regex/new-check-flags/33
984s ok 51 /regex/new-check-flags/34
984s ok 52 /regex/new-check-flags/35
984s ok 53 /regex/new-check-flags/36
984s # End of new-check-flags tests
984s # Start of new-fail tests
984s ok 54 /regex/new-fail/37
984s ok 55 /regex/new-fail/38
984s ok 56 /regex/new-fail/39
984s ok 57 /regex/new-fail/40
984s ok 58 /regex/new-fail/41
984s ok 59 /regex/new-fail/42
984s ok 60 /regex/new-fail/43
984s ok 61 /regex/new-fail/44
984s ok 62 /regex/new-fail/45
984s ok 63 /regex/new-fail/46
984s ok 64 /regex/new-fail/47
984s ok 65 /regex/new-fail/48
984s ok 66 /regex/new-fail/49
984s ok 67 /regex/new-fail/50
984s ok 68 /regex/new-fail/51
984s ok 69 /regex/new-fail/52
984s ok 70 /regex/new-fail/53
984s ok 71 /regex/new-fail/54
984s ok 72 /regex/new-fail/55
984s ok 73 /regex/new-fail/56
984s ok 74 /regex/new-fail/57
984s ok 75 /regex/new-fail/58
984s ok 76 /regex/new-fail/59
984s ok 77 /regex/new-fail/60
984s ok 78 /regex/new-fail/61
984s ok 79 /regex/new-fail/62
984s ok 80 /regex/new-fail/63
984s ok 81 /regex/new-fail/64
984s ok 82 /regex/new-fail/65
984s ok 83 /regex/new-fail/66
984s ok 84 /regex/new-fail/67
984s ok 85 /regex/new-fail/68
984s ok 86 /regex/new-fail/69
984s ok 87 /regex/new-fail/70
984s ok 88 /regex/new-fail/72
984s ok 89 /regex/new-fail/73
984s ok 90 /regex/new-fail/74
984s ok 91 /regex/new-fail/75
984s ok 92 /regex/new-fail/76
984s ok 93 /regex/new-fail/77
984s ok 94 /regex/new-fail/78
984s ok 95 /regex/new-fail/79
984s ok 96 /regex/new-fail/81
984s ok 97 /regex/new-fail/83
984s ok 98 /regex/new-fail/84
984s ok 99 /regex/new-fail/85
984s ok 100 /regex/new-fail/86
984s ok 101 /regex/new-fail/87
984s ok 102 /regex/new-fail/88
984s ok 103 /regex/new-fail/89
984s ok 104 /regex/new-fail/90
984s ok 105 /regex/new-fail/91
984s # End of new-fail tests
984s # Start of match-simple tests
984s ok 106 /regex/match-simple/92
984s ok 107 /regex/match-simple/93
984s ok 108 /regex/match-simple/94
984s ok 109 /regex/match-simple/95
984s ok 110 /regex/match-simple/96
984s ok 111 /regex/match-simple/97
984s ok 112 /regex/match-simple/98
984s ok 113 /regex/match-simple/99
984s ok 114 /regex/match-simple/100
984s ok 115 /regex/match-simple/101
984s ok 116 /regex/match-simple/102
984s ok 117 /regex/match-simple/103
984s ok 118 /regex/match-simple/104
984s ok 119 /regex/match-simple/105
984s ok 120 /regex/match-simple/106
984s ok 121 /regex/match-simple/107
984s ok 122 /regex/match-simple/108
984s ok 123 /regex/match-simple/109
984s ok 124 /regex/match-simple/110
984s ok 125 /regex/match-simple/111
984s ok 126 /regex/match-simple/112
984s ok 127 /regex/match-simple/113
984s ok 128 /regex/match-simple/114
984s ok 129 /regex/match-simple/115
984s ok 130 /regex/match-simple/116
984s ok 131 /regex/match-simple/117
984s ok 132 /regex/match-simple/118
984s ok 133 /regex/match-simple/119
984s ok 134 /regex/match-simple/120
984s ok 135 /regex/match-simple/121
984s ok 136 /regex/match-simple/122
984s ok 137 /regex/match-simple/123
984s ok 138 /regex/match-simple/124
984s ok 139 /regex/match-simple/125
984s ok 140 /regex/match-simple/126
984s ok 141 /regex/match-simple/127
984s ok 142 /regex/match-simple/128
984s ok 143 /regex/match-simple/129
984s ok 144 /regex/match-simple/130
984s ok 145 /regex/match-simple/131
984s ok 146 /regex/match-simple/132
984s ok 147 /regex/match-simple/133
984s ok 148 /regex/match-simple/134
984s ok 149 /regex/match-simple/135
984s ok 150 /regex/match-simple/136
984s ok 151 /regex/match-simple/137
984s ok 152 /regex/match-simple/138
984s ok 153 /regex/match-simple/139
984s ok 154 /regex/match-simple/140
984s ok 155 /regex/match-simple/141
984s ok 156 /regex/match-simple/142
984s ok 157 /regex/match-simple/143
984s ok 158 /regex/match-simple/144
984s ok 159 /regex/match-simple/145
984s ok 160 /regex/match-simple/146
984s ok 161 /regex/match-simple/147
984s ok 162 /regex/match-simple/148
984s ok 163 /regex/match-simple/149
984s ok 164 /regex/match-simple/150
984s ok 165 /regex/match-simple/151
984s ok 166 /regex/match-simple/152
984s ok 167 /regex/match-simple/153
984s ok 168 /regex/match-simple/154
984s ok 169 /regex/match-simple/155
984s ok 170 /regex/match-simple/156
984s ok 171 /regex/match-simple/157
984s ok 172 /regex/match-simple/158
984s ok 173 /regex/match-simple/159
984s ok 174 /regex/match-simple/160
984s ok 175 /regex/match-simple/161
984s ok 176 /regex/match-simple/162
984s ok 177 /regex/match-simple/163
985s ok 178 /regex/match-simple/164
985s # End of match-simple tests
985s # Start of match-simple-optimized tests
985s ok 179 /regex/match-simple-optimized/92
985s ok 180 /regex/match-simple-optimized/93
985s ok 181 /regex/match-simple-optimized/94
985s ok 182 /regex/match-simple-optimized/95
985s ok 183 /regex/match-simple-optimized/96
985s ok 184 /regex/match-simple-optimized/97
985s ok 185 /regex/match-simple-optimized/98
985s ok 186 /regex/match-simple-optimized/99
985s ok 187 /regex/match-simple-optimized/100
985s ok 188 /regex/match-simple-optimized/101
985s ok 189 /regex/match-simple-optimized/102
985s ok 190 /regex/match-simple-optimized/103
985s ok 191 /regex/match-simple-optimized/104
985s ok 192 /regex/match-simple-optimized/105
985s ok 193 /regex/match-simple-optimized/106
985s ok 194 /regex/match-simple-optimized/107
985s ok 195 /regex/match-simple-optimized/108
985s ok 196 /regex/match-simple-optimized/109
985s ok 197 /regex/match-simple-optimized/110
985s ok 198 /regex/match-simple-optimized/111
985s ok 199 /regex/match-simple-optimized/112
985s ok 200 /regex/match-simple-optimized/113
985s ok 201 /regex/match-simple-optimized/114
985s ok 202 /regex/match-simple-optimized/115
985s ok 203 /regex/match-simple-optimized/116
985s ok 204 /regex/match-simple-optimized/117
985s ok 205 /regex/match-simple-optimized/118
985s ok 206 /regex/match-simple-optimized/119
985s ok 207 /regex/match-simple-optimized/120
985s ok 208 /regex/match-simple-optimized/121
985s ok 209 /regex/match-simple-optimized/122
985s ok 210 /regex/match-simple-optimized/123
985s ok 211 /regex/match-simple-optimized/124
985s ok 212 /regex/match-simple-optimized/125
985s ok 213 /regex/match-simple-optimized/126
985s ok 214 /regex/match-simple-optimized/127
985s ok 215 /regex/match-simple-optimized/128
985s ok 216 /regex/match-simple-optimized/129
985s ok 217 /regex/match-simple-optimized/130
985s ok 218 /regex/match-simple-optimized/131
985s ok 219 /regex/match-simple-optimized/132
985s ok 220 /regex/match-simple-optimized/133
985s ok 221 /regex/match-simple-optimized/134
985s ok 222 /regex/match-simple-optimized/135
985s ok 223 /regex/match-simple-optimized/136
985s ok 224 /regex/match-simple-optimized/137
985s ok 225 /regex/match-simple-optimized/138
985s ok 226 /regex/match-simple-optimized/139
985s ok 227 /regex/match-simple-optimized/140
985s ok 228 /regex/match-simple-optimized/141
985s ok 229 /regex/match-simple-optimized/142
985s ok 230 /regex/match-simple-optimized/143
985s ok 231 /regex/match-simple-optimized/144
985s ok 232 /regex/match-simple-optimized/145
985s ok 233 /regex/match-simple-optimized/146
985s ok 234 /regex/match-simple-optimized/147
985s ok 235 /regex/match-simple-optimized/148
985s ok 236 /regex/match-simple-optimized/149
985s ok 237 /regex/match-simple-optimized/150
985s ok 238 /regex/match-simple-optimized/151
985s ok 239 /regex/match-simple-optimized/152
985s ok 240 /regex/match-simple-optimized/153
985s ok 241 /regex/match-simple-optimized/154
985s ok 242 /regex/match-simple-optimized/155
985s ok 243 /regex/match-simple-optimized/156
985s ok 244 /regex/match-simple-optimized/157
985s ok 245 /regex/match-simple-optimized/158
985s ok 246 /regex/match-simple-optimized/159
985s ok 247 /regex/match-simple-optimized/160
985s ok 248 /regex/match-simple-optimized/161
985s ok 249 /regex/match-simple-optimized/162
985s ok 250 /regex/match-simple-optimized/163
985s # GLib-DEBUG: PCRE2 JIT stack limit reached, falling back to non-optimized matching.
985s ok 251 /regex/match-simple-optimized/164
985s # End of match-simple-optimized tests
985s # Start of match tests
985s ok 252 /regex/match/165
985s ok 253 /regex/match/166
985s ok 254 /regex/match/167
985s ok 255 /regex/match/168
985s ok 256 /regex/match/169
985s ok 257 /regex/match/170
985s ok 258 /regex/match/171
985s ok 259 /regex/match/172
985s ok 260 /regex/match/173
985s ok 261 /regex/match/174
985s ok 262 /regex/match/175
985s ok 263 /regex/match/176
985s ok 264 /regex/match/177
985s ok 265 /regex/match/178
985s ok 266 /regex/match/179
985s ok 267 /regex/match/180
985s ok 268 /regex/match/181
985s ok 269 /regex/match/182
985s ok 270 /regex/match/183
985s ok 271 /regex/match/184
985s ok 272 /regex/match/185
985s ok 273 /regex/match/186
985s ok 274 /regex/match/187
985s ok 275 /regex/match/188
985s ok 276 /regex/match/189
985s ok 277 /regex/match/190
985s ok 278 /regex/match/191
985s ok 279 /regex/match/192
985s ok 280 /regex/match/193
985s ok 281 /regex/match/194
985s ok 282 /regex/match/195
985s ok 283 /regex/match/196
985s ok 284 /regex/match/197
985s ok 285 /regex/match/198
985s ok 286 /regex/match/199
985s ok 287 /regex/match/200
985s ok 288 /regex/match/201
985s ok 289 /regex/match/202
985s ok 290 /regex/match/203
985s ok 291 /regex/match/204
985s ok 292 /regex/match/205
985s ok 293 /regex/match/206
985s ok 294 /regex/match/207
985s ok 295 /regex/match/208
985s ok 296 /regex/match/209
985s ok 297 /regex/match/210
985s ok 298 /regex/match/211
985s ok 299 /regex/match/212
985s ok 300 /regex/match/213
985s ok 301 /regex/match/214
985s ok 302 /regex/match/215
985s ok 303 /regex/match/216
985s ok 304 /regex/match/217
985s ok 305 /regex/match/218
985s ok 306 /regex/match/219
985s ok 307 /regex/match/220
985s ok 308 /regex/match/221
985s ok 309 /regex/match/222
985s ok 310 /regex/match/223
985s ok 311 /regex/match/224
985s ok 312 /regex/match/225
985s ok 313 /regex/match/226
985s ok 314 /regex/match/227
985s ok 315 /regex/match/228
985s ok 316 /regex/match/229
985s ok 317 /regex/match/230
985s ok 318 /regex/match/231
985s ok 319 /regex/match/232
985s ok 320 /regex/match/233
985s ok 321 /regex/match/234
985s ok 322 /regex/match/235
985s ok 323 /regex/match/236
985s ok 324 /regex/match/237
985s ok 325 /regex/match/238
985s ok 326 /regex/match/239
985s ok 327 /regex/match/240
985s ok 328 /regex/match/241
985s ok 329 /regex/match/242
985s ok 330 /regex/match/243
985s ok 331 /regex/match/244
985s ok 332 /regex/match/245
985s ok 333 /regex/match/246
985s ok 334 /regex/match/partial281
985s ok 335 /regex/match/partial282
985s ok 336 /regex/match/partial283
985s ok 337 /regex/match/partial284
985s ok 338 /regex/match/partial285
985s ok 339 /regex/match/partial286
985s ok 340 /regex/match/partial287
985s ok 341 /regex/match/partial288
985s ok 342 /regex/match/partial289
985s ok 343 /regex/match/partial290
985s ok 344 /regex/match/partial291
985s ok 345 /regex/match/partial292
985s ok 346 /regex/match/partial293
985s ok 347 /regex/match/partial294
985s ok 348 /regex/match/partial295
985s ok 349 /regex/match/partial296
985s ok 350 /regex/match/partial297
985s ok 351 /regex/match/partial298
985s ok 352 /regex/match/partial299
985s ok 353 /regex/match/partial300
985s ok 354 /regex/match/partial301
985s ok 355 /regex/match/partial302
985s # Start of next0 tests
985s ok 356 /regex/match/next0/247
985s ok 357 /regex/match/next0/248
985s ok 358 /regex/match/next0/249
985s ok 359 /regex/match/next0/250
985s # End of next0 tests
985s # Start of next1 tests
985s ok 360 /regex/match/next1/251
985s ok 361 /regex/match/next1/252
985s ok 362 /regex/match/next1/253
985s ok 363 /regex/match/next1/254
985s ok 364 /regex/match/next1/255
985s # End of next1 tests
985s # Start of next2 tests
985s ok 365 /regex/match/next2/256
985s ok 366 /regex/match/next2/257
985s ok 367 /regex/match/next2/258
985s ok 368 /regex/match/next2/259
985s ok 369 /regex/match/next2/260
985s ok 370 /regex/match/next2/261
985s ok 371 /regex/match/next2/262
985s ok 372 /regex/match/next2/263
985s # End of next2 tests
985s # Start of next3 tests
985s ok 373 /regex/match/next3/264
985s ok 374 /regex/match/next3/265
985s ok 375 /regex/match/next3/266
985s ok 376 /regex/match/next3/267
985s ok 377 /regex/match/next3/268
985s ok 378 /regex/match/next3/269
985s # End of next3 tests
985s # Start of next4 tests
985s ok 379 /regex/match/next4/270
985s # End of next4 tests
985s # Start of count tests
985s ok 380 /regex/match/count/271
985s ok 381 /regex/match/count/272
985s ok 382 /regex/match/count/273
985s ok 383 /regex/match/count/274
985s ok 384 /regex/match/count/275
985s ok 385 /regex/match/count/276
985s ok 386 /regex/match/count/277
985s ok 387 /regex/match/count/278
985s ok 388 /regex/match/count/279
985s ok 389 /regex/match/count/280
985s # End of count tests
985s # Start of count-optimized tests
985s ok 390 /regex/match/count-optimized/271
985s ok 391 /regex/match/count-optimized/272
985s ok 392 /regex/match/count-optimized/273
985s ok 393 /regex/match/count-optimized/274
985s ok 394 /regex/match/count-optimized/275
985s ok 395 /regex/match/count-optimized/276
985s ok 396 /regex/match/count-optimized/277
985s ok 397 /regex/match/count-optimized/278
985s ok 398 /regex/match/count-optimized/279
985s ok 399 /regex/match/count-optimized/280
985s # End of count-optimized tests
985s # Start of partial-optimized tests
985s ok 400 /regex/match/partial-optimized/281
985s ok 401 /regex/match/partial-optimized/282
985s ok 402 /regex/match/partial-optimized/283
985s ok 403 /regex/match/partial-optimized/284
985s ok 404 /regex/match/partial-optimized/285
985s ok 405 /regex/match/partial-optimized/286
985s ok 406 /regex/match/partial-optimized/287
985s ok 407 /regex/match/partial-optimized/288
985s ok 408 /regex/match/partial-optimized/289
985s ok 409 /regex/match/partial-optimized/290
985s ok 410 /regex/match/partial-optimized/291
985s ok 411 /regex/match/partial-optimized/292
985s ok 412 /regex/match/partial-optimized/293
985s ok 413 /regex/match/partial-optimized/294
985s ok 414 /regex/match/partial-optimized/295
985s ok 415 /regex/match/partial-optimized/296
985s ok 416 /regex/match/partial-optimized/297
985s ok 417 /regex/match/partial-optimized/298
985s ok 418 /regex/match/partial-optimized/299
985s ok 419 /regex/match/partial-optimized/300
985s ok 420 /regex/match/partial-optimized/301
985s ok 421 /regex/match/partial-optimized/302
985s # End of partial-optimized tests
985s # Start of subpattern tests
985s ok 422 /regex/match/subpattern/303
985s ok 423 /regex/match/subpattern/304
985s ok 424 /regex/match/subpattern/305
985s ok 425 /regex/match/subpattern/306
985s ok 426 /regex/match/subpattern/307
985s ok 427 /regex/match/subpattern/308
985s ok 428 /regex/match/subpattern/309
985s ok 429 /regex/match/subpattern/310
985s ok 430 /regex/match/subpattern/311
985s ok 431 /regex/match/subpattern/312
985s ok 432 /regex/match/subpattern/313
985s ok 433 /regex/match/subpattern/314
985s ok 434 /regex/match/subpattern/315
985s # Start of named tests
985s # Start of dupnames tests
985s ok 435 /regex/match/subpattern/named/dupnames/325
985s ok 436 /regex/match/subpattern/named/dupnames/326
985s ok 437 /regex/match/subpattern/named/dupnames/327
985s ok 438 /regex/match/subpattern/named/dupnames/328
985s ok 439 /regex/match/subpattern/named/dupnames/329
985s # End of dupnames tests
985s # End of named tests
985s # End of subpattern tests
985s # Start of subpattern-optimized tests
985s ok 440 /regex/match/subpattern-optimized/303
985s ok 441 /regex/match/subpattern-optimized/304
985s ok 442 /regex/match/subpattern-optimized/305
985s ok 443 /regex/match/subpattern-optimized/306
985s ok 444 /regex/match/subpattern-optimized/307
985s ok 445 /regex/match/subpattern-optimized/308
985s ok 446 /regex/match/subpattern-optimized/309
985s ok 447 /regex/match/subpattern-optimized/310
985s ok 448 /regex/match/subpattern-optimized/311
985s ok 449 /regex/match/subpattern-optimized/312
985s ok 450 /regex/match/subpattern-optimized/313
985s ok 451 /regex/match/subpattern-optimized/314
985s ok 452 /regex/match/subpattern-optimized/315
985s # End of subpattern-optimized tests
985s # Start of named tests
985s # Start of subpattern tests
985s ok 453 /regex/match/named/subpattern/316
985s ok 454 /regex/match/named/subpattern/317
985s ok 455 /regex/match/named/subpattern/318
985s ok 456 /regex/match/named/subpattern/319
985s ok 457 /regex/match/named/subpattern/320
985s ok 458 /regex/match/named/subpattern/321
985s ok 459 /regex/match/named/subpattern/322
985s ok 460 /regex/match/named/subpattern/323
985s ok 461 /regex/match/named/subpattern/324
985s ok 462 /regex/match/named/subpattern/330
985s ok 463 /regex/match/named/subpattern/331
985s ok 464 /regex/match/named/subpattern/332
985s ok 465 /regex/match/named/subpattern/333
985s ok 466 /regex/match/named/subpattern/334
985s # End of subpattern tests
985s # End of named tests
985s # End of match tests
985s # Start of match-optimized tests
985s ok 467 /regex/match-optimized/165
985s ok 468 /regex/match-optimized/166
985s ok 469 /regex/match-optimized/167
985s ok 470 /regex/match-optimized/168
985s ok 471 /regex/match-optimized/169
985s ok 472 /regex/match-optimized/170
985s ok 473 /regex/match-optimized/171
985s ok 474 /regex/match-optimized/172
985s ok 475 /regex/match-optimized/173
985s ok 476 /regex/match-optimized/174
985s ok 477 /regex/match-optimized/175
985s ok 478 /regex/match-optimized/176
985s ok 479 /regex/match-optimized/177
985s ok 480 /regex/match-optimized/178
985s ok 481 /regex/match-optimized/179
985s ok 482 /regex/match-optimized/180
985s ok 483 /regex/match-optimized/181
985s ok 484 /regex/match-optimized/182
985s ok 485 /regex/match-optimized/183
985s ok 486 /regex/match-optimized/184
985s ok 487 /regex/match-optimized/185
985s ok 488 /regex/match-optimized/186
985s ok 489 /regex/match-optimized/187
985s ok 490 /regex/match-optimized/188
985s ok 491 /regex/match-optimized/189
985s ok 492 /regex/match-optimized/190
985s ok 493 /regex/match-optimized/191
985s ok 494 /regex/match-optimized/192
985s ok 495 /regex/match-optimized/193
985s ok 496 /regex/match-optimized/194
985s ok 497 /regex/match-optimized/195
985s ok 498 /regex/match-optimized/196
985s ok 499 /regex/match-optimized/197
985s ok 500 /regex/match-optimized/198
985s ok 501 /regex/match-optimized/199
985s ok 502 /regex/match-optimized/200
985s ok 503 /regex/match-optimized/201
985s ok 504 /regex/match-optimized/202
985s ok 505 /regex/match-optimized/203
985s ok 506 /regex/match-optimized/204
985s ok 507 /regex/match-optimized/205
985s ok 508 /regex/match-optimized/206
985s ok 509 /regex/match-optimized/207
985s ok 510 /regex/match-optimized/208
985s ok 511 /regex/match-optimized/209
985s ok 512 /regex/match-optimized/210
985s ok 513 /regex/match-optimized/211
985s ok 514 /regex/match-optimized/212
985s ok 515 /regex/match-optimized/213
985s ok 516 /regex/match-optimized/214
985s ok 517 /regex/match-optimized/215
985s ok 518 /regex/match-optimized/216
985s ok 519 /regex/match-optimized/217
985s ok 520 /regex/match-optimized/218
985s ok 521 /regex/match-optimized/219
985s ok 522 /regex/match-optimized/220
985s ok 523 /regex/match-optimized/221
985s ok 524 /regex/match-optimized/222
985s ok 525 /regex/match-optimized/223
985s ok 526 /regex/match-optimized/224
985s ok 527 /regex/match-optimized/225
985s ok 528 /regex/match-optimized/226
985s ok 529 /regex/match-optimized/227
985s ok 530 /regex/match-optimized/228
985s ok 531 /regex/match-optimized/229
985s ok 532 /regex/match-optimized/230
985s ok 533 /regex/match-optimized/231
985s ok 534 /regex/match-optimized/232
985s ok 535 /regex/match-optimized/233
985s ok 536 /regex/match-optimized/234
985s ok 537 /regex/match-optimized/235
985s ok 538 /regex/match-optimized/236
985s ok 539 /regex/match-optimized/237
985s ok 540 /regex/match-optimized/238
985s ok 541 /regex/match-optimized/239
985s ok 542 /regex/match-optimized/240
985s ok 543 /regex/match-optimized/241
985s ok 544 /regex/match-optimized/242
985s ok 545 /regex/match-optimized/243
985s ok 546 /regex/match-optimized/244
985s ok 547 /regex/match-optimized/245
985s ok 548 /regex/match-optimized/246
985s # End of match-optimized tests
985s # Start of fetch-all0 tests
985s ok 549 /regex/fetch-all0/335
985s ok 550 /regex/fetch-all0/336
985s # End of fetch-all0 tests
985s # Start of fetch-all1 tests
985s ok 551 /regex/fetch-all1/337
985s ok 552 /regex/fetch-all1/338
985s ok 553 /regex/fetch-all1/339
985s # End of fetch-all1 tests
985s # Start of fetch-all2 tests
985s ok 554 /regex/fetch-all2/340
985s ok 555 /regex/fetch-all2/341
985s ok 556 /regex/fetch-all2/342
985s # End of fetch-all2 tests
985s # Start of fetch-all3 tests
985s ok 557 /regex/fetch-all3/343
985s ok 558 /regex/fetch-all3/344
985s ok 559 /regex/fetch-all3/345
985s ok 560 /regex/fetch-all3/346
985s ok 561 /regex/fetch-all3/347
985s # End of fetch-all3 tests
985s # Start of split tests
985s # Start of simple0 tests
985s ok 562 /regex/split/simple0/348
985s ok 563 /regex/split/simple0/349
985s ok 564 /regex/split/simple0/364
985s ok 565 /regex/split/simple0/365
985s # End of simple0 tests
985s # Start of simple1 tests
985s ok 566 /regex/split/simple1/350
985s ok 567 /regex/split/simple1/351
985s # End of simple1 tests
985s # Start of simple2 tests
985s ok 568 /regex/split/simple2/352
985s ok 569 /regex/split/simple2/358
985s ok 570 /regex/split/simple2/360
985s # End of simple2 tests
985s # Start of simple3 tests
985s ok 571 /regex/split/simple3/353
985s ok 572 /regex/split/simple3/354
985s ok 573 /regex/split/simple3/355
985s ok 574 /regex/split/simple3/356
985s ok 575 /regex/split/simple3/357
985s ok 576 /regex/split/simple3/359
985s ok 577 /regex/split/simple3/361
985s ok 578 /regex/split/simple3/362
985s ok 579 /regex/split/simple3/363
985s # End of simple3 tests
985s # End of split tests
985s # Start of split0 tests
985s ok 580 /regex/split0/366
985s ok 581 /regex/split0/368
985s # End of split0 tests
985s # Start of full-split0 tests
985s ok 582 /regex/full-split0/367
985s ok 583 /regex/full-split0/369
985s ok 584 /regex/full-split0/370
985s ok 585 /regex/full-split0/371
985s ok 586 /regex/full-split0/372
985s # End of full-split0 tests
985s # Start of split1 tests
985s ok 587 /regex/split1/373
985s ok 588 /regex/split1/376
985s # End of split1 tests
985s # Start of full-split1 tests
985s ok 589 /regex/full-split1/374
985s ok 590 /regex/full-split1/375
985s ok 591 /regex/full-split1/377
985s ok 592 /regex/full-split1/378
985s ok 593 /regex/full-split1/404
985s # End of full-split1 tests
985s # Start of split2 tests
985s ok 594 /regex/split2/379
985s ok 595 /regex/split2/383
985s ok 596 /regex/split2/395
985s # End of split2 tests
985s # Start of full-split2 tests
985s ok 597 /regex/full-split2/380
985s ok 598 /regex/full-split2/381
985s ok 599 /regex/full-split2/382
985s ok 600 /regex/full-split2/384
985s ok 601 /regex/full-split2/396
985s ok 602 /regex/full-split2/399
985s ok 603 /regex/full-split2/405
985s # End of full-split2 tests
985s # Start of split3 tests
985s ok 604 /regex/split3/385
985s ok 605 /regex/split3/387
985s ok 606 /regex/split3/389
985s ok 607 /regex/split3/391
985s ok 608 /regex/split3/393
985s ok 609 /regex/split3/397
985s ok 610 /regex/split3/400
985s ok 611 /regex/split3/402
985s # End of split3 tests
985s # Start of full-split3 tests
985s ok 612 /regex/full-split3/386
985s ok 613 /regex/full-split3/388
985s ok 614 /regex/full-split3/390
985s ok 615 /regex/full-split3/392
985s ok 616 /regex/full-split3/394
985s ok 617 /regex/full-split3/398
985s ok 618 /regex/full-split3/401
985s ok 619 /regex/full-split3/403
985s ok 620 /regex/full-split3/406
985s ok 621 /regex/full-split3/407
985s # End of full-split3 tests
985s # Start of check-repacement tests
985s ok 622 /regex/check-repacement/408
985s ok 623 /regex/check-repacement/409
985s ok 624 /regex/check-repacement/410
985s ok 625 /regex/check-repacement/411
985s ok 626 /regex/check-repacement/412
985s ok 627 /regex/check-repacement/413
985s ok 628 /regex/check-repacement/414
985s ok 629 /regex/check-repacement/415
985s # End of check-repacement tests
985s # Start of expand tests
985s ok 630 /regex/expand/416
985s ok 631 /regex/expand/417
985s ok 632 /regex/expand/418
985s ok 633 /regex/expand/419
985s ok 634 /regex/expand/420
985s ok 635 /regex/expand/421
985s ok 636 /regex/expand/422
985s ok 637 /regex/expand/423
985s ok 638 /regex/expand/424
985s ok 639 /regex/expand/425
985s ok 640 /regex/expand/426
985s ok 641 /regex/expand/427
985s ok 642 /regex/expand/428
985s ok 643 /regex/expand/429
985s ok 644 /regex/expand/430
985s ok 645 /regex/expand/431
985s ok 646 /regex/expand/432
985s ok 647 /regex/expand/433
985s ok 648 /regex/expand/434
985s ok 649 /regex/expand/435
985s ok 650 /regex/expand/436
985s ok 651 /regex/expand/437
985s ok 652 /regex/expand/438
985s ok 653 /regex/expand/439
985s ok 654 /regex/expand/440
985s ok 655 /regex/expand/441
985s ok 656 /regex/expand/442
985s ok 657 /regex/expand/443
985s ok 658 /regex/expand/444
985s ok 659 /regex/expand/445
985s ok 660 /regex/expand/446
985s ok 661 /regex/expand/447
985s ok 662 /regex/expand/448
985s ok 663 /regex/expand/449
985s ok 664 /regex/expand/450
985s ok 665 /regex/expand/451
985s ok 666 /regex/expand/452
985s ok 667 /regex/expand/453
985s ok 668 /regex/expand/454
985s ok 669 /regex/expand/455
985s ok 670 /regex/expand/456
985s ok 671 /regex/expand/457
985s ok 672 /regex/expand/458
985s ok 673 /regex/expand/459
985s ok 674 /regex/expand/460
985s ok 675 /regex/expand/461
985s ok 676 /regex/expand/462
985s ok 677 /regex/expand/463
985s ok 678 /regex/expand/464
985s ok 679 /regex/expand/465
985s ok 680 /regex/expand/466
985s ok 681 /regex/expand/467
985s ok 682 /regex/expand/468
985s ok 683 /regex/expand/469
985s ok 684 /regex/expand/470
985s ok 685 /regex/expand/471
985s ok 686 /regex/expand/472
985s ok 687 /regex/expand/473
985s ok 688 /regex/expand/474
985s ok 689 /regex/expand/475
985s ok 690 /regex/expand/476
985s ok 691 /regex/expand/477
985s ok 692 /regex/expand/478
985s ok 693 /regex/expand/479
985s ok 694 /regex/expand/480
985s ok 695 /regex/expand/481
985s # End of expand tests
985s # Start of replace tests
985s ok 696 /regex/replace/482
985s ok 697 /regex/replace/483
985s ok 698 /regex/replace/484
985s ok 699 /regex/replace/485
985s ok 700 /regex/replace/486
985s ok 701 /regex/replace/487
985s ok 702 /regex/replace/488
985s ok 703 /regex/replace/489
985s ok 704 /regex/replace/490
985s ok 705 /regex/replace/491
985s ok 706 /regex/replace/492
985s ok 707 /regex/replace/493
985s ok 708 /regex/replace/494
985s ok 709 /regex/replace/495
985s ok 710 /regex/replace/496
985s ok 711 /regex/replace/497
985s ok 712 /regex/replace/498
985s ok 713 /regex/replace/499
985s ok 714 /regex/replace/500
985s ok 715 /regex/replace/501
985s ok 716 /regex/replace/502
985s ok 717 /regex/replace/503
985s ok 718 /regex/replace/504
985s ok 719 /regex/replace/505
985s ok 720 /regex/replace/506
985s ok 721 /regex/replace/507
985s ok 722 /regex/replace/508
985s ok 723 /regex/replace/509
985s # End of replace tests
985s # Start of replace-optimized tests
985s ok 724 /regex/replace-optimized/482
985s ok 725 /regex/replace-optimized/483
985s ok 726 /regex/replace-optimized/484
985s ok 727 /regex/replace-optimized/485
985s ok 728 /regex/replace-optimized/486
985s ok 729 /regex/replace-optimized/487
985s ok 730 /regex/replace-optimized/488
985s ok 731 /regex/replace-optimized/489
985s ok 732 /regex/replace-optimized/490
985s ok 733 /regex/replace-optimized/491
985s ok 734 /regex/replace-optimized/492
985s ok 735 /regex/replace-optimized/493
985s ok 736 /regex/replace-optimized/494
985s ok 737 /regex/replace-optimized/495
985s ok 738 /regex/replace-optimized/496
985s ok 739 /regex/replace-optimized/497
985s ok 740 /regex/replace-optimized/498
985s ok 741 /regex/replace-optimized/499
985s ok 742 /regex/replace-optimized/500
985s ok 743 /regex/replace-optimized/501
985s ok 744 /regex/replace-optimized/502
985s ok 745 /regex/replace-optimized/503
985s ok 746 /regex/replace-optimized/504
985s ok 747 /regex/replace-optimized/505
985s ok 748 /regex/replace-optimized/506
985s ok 749 /regex/replace-optimized/507
985s ok 750 /regex/replace-optimized/508
985s ok 751 /regex/replace-optimized/509
985s # End of replace-optimized tests
985s # Start of replace-literally tests
985s ok 752 /regex/replace-literally/510
985s ok 753 /regex/replace-literally/511
985s ok 754 /regex/replace-literally/512
985s ok 755 /regex/replace-literally/513
985s ok 756 /regex/replace-literally/514
985s ok 757 /regex/replace-literally/515
985s ok 758 /regex/replace-literally/516
985s ok 759 /regex/replace-literally/517
985s ok 760 /regex/replace-literally/518
985s ok 761 /regex/replace-literally/519
985s ok 762 /regex/replace-literally/520
985s ok 763 /regex/replace-literally/521
985s ok 764 /regex/replace-literally/522
985s ok 765 /regex/replace-literally/523
985s ok 766 /regex/replace-literally/524
985s ok 767 /regex/replace-literally/525
985s ok 768 /regex/replace-literally/526
985s ok 769 /regex/replace-literally/527
985s ok 770 /regex/replace-literally/528
985s ok 771 /regex/replace-literally/529
985s # End of replace-literally tests
985s # Start of string-number tests
985s ok 772 /regex/string-number/530
985s ok 773 /regex/string-number/531
985s ok 774 /regex/string-number/532
985s ok 775 /regex/string-number/533
985s ok 776 /regex/string-number/534
985s ok 777 /regex/string-number/535
985s ok 778 /regex/string-number/536
985s ok 779 /regex/string-number/537
985s ok 780 /regex/string-number/538
985s ok 781 /regex/string-number/539
985s ok 782 /regex/string-number/540
985s ok 783 /regex/string-number/541
985s ok 784 /regex/string-number/542
985s ok 785 /regex/string-number/543
985s ok 786 /regex/string-number/544
985s # End of string-number tests
985s # Start of escape_nul tests
985s ok 787 /regex/escape_nul/545
985s ok 788 /regex/escape_nul/546
985s ok 789 /regex/escape_nul/547
985s ok 790 /regex/escape_nul/548
985s ok 791 /regex/escape_nul/549
985s ok 792 /regex/escape_nul/550
985s ok 793 /regex/escape_nul/551
985s ok 794 /regex/escape_nul/552
985s ok 795 /regex/escape_nul/553
985s ok 796 /regex/escape_nul/554
985s ok 797 /regex/escape_nul/555
985s ok 798 /regex/escape_nul/556
985s ok 799 /regex/escape_nul/557
985s ok 800 /regex/escape_nul/558
985s ok 801 /regex/escape_nul/559
985s # End of escape_nul tests
985s # Start of escape tests
985s ok 802 /regex/escape/560
985s ok 803 /regex/escape/561
985s ok 804 /regex/escape/562
985s ok 805 /regex/escape/563
985s ok 806 /regex/escape/564
985s ok 807 /regex/escape/565
985s ok 808 /regex/escape/566
985s ok 809 /regex/escape/567
985s ok 810 /regex/escape/568
985s ok 811 /regex/escape/569
985s ok 812 /regex/escape/570
985s ok 813 /regex/escape/571
985s ok 814 /regex/escape/572
985s ok 815 /regex/escape/573
985s ok 816 /regex/escape/574
985s ok 817 /regex/escape/575
985s ok 818 /regex/escape/576
985s ok 819 /regex/escape/577
985s # End of escape tests
985s # Start of match-all0 tests
985s ok 820 /regex/match-all0/578
985s ok 821 /regex/match-all0/580
985s # End of match-all0 tests
985s # Start of match-all-full0 tests
985s ok 822 /regex/match-all-full0/579
985s ok 823 /regex/match-all-full0/581
985s ok 824 /regex/match-all-full0/582
985s ok 825 /regex/match-all-full0/583
985s # End of match-all-full0 tests
985s # Start of match-all1 tests
985s ok 826 /regex/match-all1/584
985s ok 827 /regex/match-all1/586
985s ok 828 /regex/match-all1/591
985s # End of match-all1 tests
985s # Start of match-all-full1 tests
985s ok 829 /regex/match-all-full1/585
985s ok 830 /regex/match-all-full1/587
985s ok 831 /regex/match-all-full1/588
985s ok 832 /regex/match-all-full1/589
985s ok 833 /regex/match-all-full1/590
985s ok 834 /regex/match-all-full1/592
985s # End of match-all-full1 tests
985s # Start of match-all2 tests
985s ok 835 /regex/match-all2/593
985s ok 836 /regex/match-all2/595
985s ok 837 /regex/match-all2/597
985s # End of match-all2 tests
985s # Start of match-all-full2 tests
985s ok 838 /regex/match-all-full2/594
985s ok 839 /regex/match-all-full2/596
985s ok 840 /regex/match-all-full2/598
985s # End of match-all-full2 tests
985s # Start of match-all3 tests
985s ok 841 /regex/match-all3/599
985s ok 842 /regex/match-all3/601
985s # End of match-all3 tests
985s # Start of match-all-full3 tests
985s ok 843 /regex/match-all-full3/600
985s ok 844 /regex/match-all-full3/602
985s # End of match-all-full3 tests
985s # Start of match-notempty tests
985s ok 845 /regex/match-notempty/603
985s # End of match-notempty tests
985s # Start of match-notempty-optimized tests
985s ok 846 /regex/match-notempty-optimized/603
985s # End of match-notempty-optimized tests
985s # Start of match-notempty-atstart tests
985s ok 847 /regex/match-notempty-atstart/604
985s # End of match-notempty-atstart tests
985s # Start of match-notempty-atstart-optimized tests
985s ok 848 /regex/match-notempty-atstart-optimized/604
985s # End of match-notempty-atstart-optimized tests
985s # End of regex tests
985s TAP version 14
985s # random seed: R02S439469c4c76cd688b13bb3a3d53bc9c7
985s 1..7
985s # Start of thread tests
985s ok 1 /thread/thread1
985s ok 2 /thread/thread2
985s ok 3 /thread/thread3
985s ok 4 /thread/thread4
985s ok 5 /thread/thread5
985s ok 6 /thread/thread6
985s ok 7 /thread/thread7
985s # End of thread tests
985s ok - glib/regex.test
985s # Running test: glib/thread.test
985s ok - glib/thread.test
985s # Running test: glib/power-profile-monitor-dbus.test
985s TAP version 13
985s ok 1 __main__.TestPowerProfileMonitor.test_power_profile_power_saver_enabled
985s 1..1
985s ok - glib/power-profile-monitor-dbus.test
985s # Running test: glib/rwlock.test
985s TAP version 14
985s # random seed: R02S87f995049789e8683159648898ef2d76
985s 1..8
985s # Start of thread tests
985s ok 1 /thread/rwlock1
985s ok 2 /thread/rwlock2
985s ok 3 /thread/rwlock3
985s ok 4 /thread/rwlock4
985s ok 5 /thread/rwlock5
985s ok 6 /thread/rwlock6
986s # Executing: glib/rwlock.test
988s ok 7 /thread/rwlock7
988s # slow test /thread/rwlock7 executed in 3.04 secs
988s ok 8 /thread/rwlock8
988s # End of thread tests
988s ok - glib/rwlock.test
988s # Running test: glib/string.test
988s TAP version 14
988s # random seed: R02Sb0a4f99c7add9d81513c592fa14249e0
988s 1..23
988s # Start of string tests
988s ok 1 /string/test-string-chunks
988s ok 2 /string/test-string-chunk-insert
988s ok 3 /string/test-string-new
988s ok 4 /string/test-string-printf
988s ok 5 /string/test-string-assign
988s ok 6 /string/test-string-append-c
988s ok 7 /string/test-string-append
988s ok 8 /string/test-string-append-vprintf
988s ok 9 /string/test-string-prepend-c
988s ok 10 /string/test-string-prepend
988s ok 11 /string/test-string-insert
988s ok 12 /string/test-string-insert-unichar
988s ok 13 /string/test-string-equal
988s ok 14 /string/test-string-truncate
988s ok 15 /string/test-string-overwrite
988s ok 16 /string/test-string-nul-handling
988s ok 17 /string/test-string-up-down
988s ok 18 /string/test-string-set-size
988s ok 19 /string/test-string-to-bytes
988s # 0: Replacing "bar" with "baz" (limit 0) in "foo bar foo baz foo bar foobarbaz"
988s # -> 3 replacements, "foo baz foo baz foo baz foobazbaz"
988s # 1: Replacing "baz" with "bar" (limit 3) in "foo baz foo baz foo baz foobazbaz"
988s # -> 3 replacements, "foo bar foo bar foo bar foobazbaz"
988s # 2: Replacing "foobar" with "bar" (limit 1) in "foo bar foo bar foo bar foobazbaz"
988s # -> 0 replacements, "foo bar foo bar foo bar foobazbaz"
988s # 3: Replacing "a" with "abcdefghijkl" (limit 0) in "aaaaaaaa"
988s # -> 8 replacements, "abcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijklabcdefghijkl"
988s # 4: Replacing "$LIB" with "lib32" (limit 0) in "/usr/$LIB/libMangoHud.so"
988s # -> 1 replacements, "/usr/lib32/libMangoHud.so"
988s # 5: Replacing "o" with "" (limit 0) in "food for foals"
988s # -> 4 replacements, "fd fr fals"
988s # 6: Replacing "a" with "aaa" (limit 0) in "aaa"
988s # -> 3 replacements, "aaaaaaaaa"
988s # 7: Replacing "a" with "" (limit 0) in "aaa"
988s # -> 3 replacements, ""
988s # 8: Replacing "aa" with "bb" (limit 0) in "aaa"
988s # -> 1 replacements, "bba"
988s # 9: Replacing "" with "bar" (limit 0) in "foo"
988s # -> 4 replacements, "barfbarobarobar"
988s # 10: Replacing "" with "bar" (limit 1) in "foo"
988s # -> 1 replacements, "barfoo"
988s # 11: Replacing "" with "bar" (limit 2) in "foo"
988s # -> 2 replacements, "barfbaroo"
988s # 12: Replacing "" with "bar" (limit 3) in "foo"
988s ok - glib/string.test
988s # Running test: glib/giomodule.test
988s ok - glib/giomodule.test
988s # Running test: glib/sleepy-stream.test
988s ok - glib/sleepy-stream.test
988s # Running test: glib/thread-deprecated.test
988s # -> 3 replacements, "barfbarobaro"
988s # 13: Replacing "" with "bar" (limit 4) in "foo"
988s # -> 4 replacements, "barfbarobarobar"
988s # 14: Replacing "" with "bar" (limit 5) in "foo"
988s # -> 4 replacements, "barfbarobarobar"
988s # 15: Replacing "" with "x" (limit 0) in ""
988s # -> 1 replacements, "x"
988s # 16: Replacing "" with "" (limit 0) in ""
988s # -> 1 replacements, ""
988s # 17: Replacing "" with "aaaaaaaaaaaa" (limit 0) in "bbbbbbbbb"
988s # -> 10 replacements, "aaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaabaaaaaaaaaaaa"
988s ok 20 /string/test-string-replace
988s ok 21 /string/test-string-steal
988s ok 22 /string/test-string-new-take
988s # Start of test-string-new-take tests
988s ok 23 /string/test-string-new-take/null
988s # End of test-string-new-take tests
988s # End of string tests
988s TAP version 14
988s # random seed: R02S78dd311ac53c8ff69ddbdac66293ab63
988s 1..3
988s # Start of giomodule tests
988s ok 1 /giomodule/extension-point
988s ok 2 /giomodule/module-scan-all
988s ok 3 /giomodule/module-scan-all-with-scope
988s # End of giomodule tests
988s TAP version 14
988s # random seed: R02S566f76ce1786587933abcc59ad4f600b
988s 1..2
988s # Start of filter-stream tests
988s ok 1 /filter-stream/input
988s ok 2 /filter-stream/async
988s # End of filter-stream tests
988s TAP version 14
988s # random seed: R02S0a0edac003c187d3f368ff76572ce095
988s 1..6
988s # Start of thread tests
988s ok 1 /thread/mutex
989s ok 2 /thread/static-rec-mutex
991s # Executing: glib/thread-deprecated.test
993s ok 3 /thread/static-private
993s # slow test /thread/static-private executed in 4.41 secs
996s # Executing: glib/thread-deprecated.test
998s ok 4 /thread/static-rw-lock
998s # slow test /thread/static-rw-lock executed in 5.01 secs
998s ok 5 /thread/once
1001s # Executing: glib/thread-deprecated.test
1006s # Executing: glib/thread-deprecated.test
1008s ok 6 /thread/rerun-all
1008s # slow test /thread/rerun-all executed in 9.68 secs
1008s # End of thread tests
1008s ok - glib/thread-deprecated.test
1008s TAP version 14
1008s # random seed: R02Sf40b866fc27e20d3b89c0c8d47e2518c
1008s 1..1
1008s # Start of gobject tests
1008s # Start of refcount tests
1008s # init 0x2aa1081edd0
1008s #
1008s # init 0x2aa1081b310
1008s #
1008s # Running test: glib/signals-refcount2.test
1011s # Executing: glib/signals-refcount2.test
1013s ok - glib/signals-refcount2.test
1013s # dispose 0x2aa1081edd0!
1013s #
1013s # dispose 0x2aa1081b310!
1013s #
1013s ok 1 /gobject/refcount/signals
1013s # slow test /gobject/refcount/signals executed in 5.00 secs
1013s # End of refcount tests
1013s # End of gobject tests
1013s # Running test: glib/rand.test
1013s TAP version 14
1013s # random seed: R02Sa2295709c81918c4855cea808b8889a4
1013s 1..2
1013s # Start of rand tests
1013s ok - glib/rand.test
1013s ok 1 /rand/test-rand
1013s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=502560
1013s ok 2 /rand/double-range
1013s # End of rand tests
1013s # Running test: glib/notify-init2.test
1013s TAP version 14
1013s # random seed: R02S0b14526bb39067c0c45866ccc94fbce1
1013s ok - glib/notify-init2.test
1013s # Running test: glib/inet-address.test
1013s ok - glib/inet-address.test
1013s # Running test: glib/onceinit.test
1013s 1..1
1013s # Start of properties tests
1013s # /properties/notify-in-init2 summary: Test that notify freezing during construction of objects with custom constructor works
1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
1013s ok 1 /properties/notify-in-init2
1013s # End of properties tests
1013s TAP version 14
1013s # random seed: R02S822baeeddf33ccd31b5210c5d9030353
1013s 1..11
1013s # Start of inet-address tests
1013s ok 1 /inet-address/parse
1013s ok 2 /inet-address/any
1013s ok 3 /inet-address/loopback
1013s ok 4 /inet-address/bytes
1013s ok 5 /inet-address/property
1013s # End of inet-address tests
1013s # Start of socket-address tests
1013s ok 6 /socket-address/basic
1013s ok 7 /socket-address/to-string
1013s # End of socket-address tests
1013s # Start of address-mask tests
1013s ok 8 /address-mask/parse
1013s ok 9 /address-mask/property
1013s ok 10 /address-mask/equal
1013s ok 11 /address-mask/match
1013s # End of address-mask tests
1013s TAP version 14
1013s # random seed: R02Sa7055eeef48c0395fff5e00dda0238d7
1013s 1..1
1013s # Start of thread tests
1013s ok 1 /thread/onceinit
1013s # End of thread tests
1013s ok - glib/onceinit.test
1013s # Running test: glib/notify-init.test
1013s TAP version 14
1013s # random seed: R02S22e0735f0351262a3f18785411987d9c
1013s 1..1
1013s # Start of properties tests
1013s # /properties/notify-in-init summary: Test that emitting notify with a handler already connected in test_object_init() works
1013s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2665
1013s ok 1 /properties/notify-in-init
1013s # End of properties tests
1013s ok - glib/notify-init.test
1013s # Running test: glib/override.test
1013s TAP version 14
1013s # random seed: R02S4375c103685be9fbecfc12f12ff2ba71
1013s 1..1
1013s # Start of gobject tests
1013s # *** emitting foo on a TestA instance
1013s # Expecting: TestA::foo,TestI::foo
1013s # Got: TestA::foo,TestI::foo
1013s # *** emitting bar on a TestA instance
1013s # Expecting: TestA::bar
1013s # Got: TestA::bar
1013s # *** emitting baz on a TestA instance
1013s # Expecting: TestA::baz
1013s # Got: TestA::baz
1013s # *** emitting foo on a TestB instance
1013s # Expecting: TestB::foo,TestA::foo,TestI::foo
1013s # Got: TestB::foo,TestA::foo,TestI::foo
1013s # *** emitting bar on a TestB instance
1013s # Expecting: TestB::bar,TestA::bar
1013s # Got: TestB::bar,TestA::bar
1013s # *** emitting baz on a TestB instance
1013s # Expecting: TestB::baz,TestA::baz
1013s # Got: TestB::baz,TestA::baz
1013s # *** emitting foo on a TestC instance
1013s # Expecting: TestC::foo,TestB::foo,TestA::foo,TestI::foo
1013s # Got: TestC::foo,TestB::foo,TestA::foo,TestI::foo
1013s # *** emitting bar on a TestC instance
1013s # Expecting: TestC::bar,TestB::bar,TestA::bar
1013s # Got: TestC::bar,TestB::bar,TestA::bar
1013s # *** emitting baz on a TestC instance
1013s # Expecting: TestC::baz,TestB::baz,TestA::baz
1013s # Got: TestC::baz,TestB::baz,TestA::baz
1013s ok 1 /gobject/override
1013s # End of gobject tests
1013s ok - glib/override.test
1013s # Running test: glib/gdbus-proxy-unique-name.test
1013s TAP version 14
1013s # random seed: R02Se257ac7ad3325bcc09990559b372a94e
1013s 1..1
1013s # Start of gdbus tests
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/system-config1:/tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/system-data1:/tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-proxy-unique-name_NGKQ52/gdbus/proxy-unique-name/.dirs/runtime
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1013s ok 1 /gdbus/proxy-unique-name
1013s # End of gdbus tests
1013s ok - glib/gdbus-proxy-unique-name.test
1013s # Running test: glib/utils-isolated.test
1013s TAP version 14
1013s # random seed: R02S8d7f56738cc40ed0e1012094a5bcfd4a
1013s 1..11
1013s # Start of utils-isolated tests
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/tmp-dir/.dirs/runtime
1013s ok 1 /utils-isolated/tmp-dir
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/home-dir/.dirs/runtime
1013s ok 2 /utils-isolated/home-dir
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-cache-dir/.dirs/runtime
1013s ok 3 /utils-isolated/user-cache-dir
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-config-dirs/.dirs/runtime
1013s ok 4 /utils-isolated/system-config-dirs
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-config-dir/.dirs/runtime
1013s ok 5 /utils-isolated/user-config-dir
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/system-data-dirs/.dirs/runtime
1013s ok 6 /utils-isolated/system-data-dirs
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-data-dir/.dirs/runtime
1013s ok 7 /utils-isolated/user-data-dir
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-state-dir/.dirs/runtime
1013s ok 8 /utils-isolated/user-state-dir
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/user-runtime-dir/.dirs/runtime
1013s ok 9 /utils-isolated/user-runtime-dir
1013s # Start of cleanup tests
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/runtime
1013s ok - glib/utils-isolated.test
1013s # Running test: glib/hmac.test
1013s ok - glib/hmac.test
1013s # Running test: glib/gdbus-threading.test
1013s ok - glib/gdbus-threading.test
1013s # Running test: glib/sequence.test
1013s Unable to clean up temporary directory /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs/runtime: Directory not empty
1013s Unable to clean up temporary directory /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors/.dirs: Directory not empty
1013s Unable to clean up temporary directory /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/handles-errors: Directory not empty
1013s ok 10 /utils-isolated/cleanup/handles-errors
1013s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/home
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/cache
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-config2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/config
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data1:/tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/system-data2
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/data
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/state
1013s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks/.dirs/runtime
1013s Unable to clean up temporary directory /tmp/test_utils-isolated_RA1Q52/utils-isolated/cleanup/doesnt-follow-symlinks: No such file or directory
1013s ok 11 /utils-isolated/cleanup/doesnt-follow-symlinks
1013s # End of cleanup tests
1013s # End of utils-isolated tests
1013s TAP version 14
1013s # random seed: R02S1994aaee3dd12a2f86f289460722ff4e
1013s 1..37
1013s # Start of hmac tests
1013s ok 1 /hmac/sha1-1
1013s ok 2 /hmac/sha1-2
1013s ok 3 /hmac/sha1-3
1013s ok 4 /hmac/sha1-4
1013s ok 5 /hmac/sha1-5
1013s ok 6 /hmac/sha1-6
1013s ok 7 /hmac/sha1-7
1013s ok 8 /hmac/sha256-1
1013s ok 9 /hmac/sha256-2
1013s ok 10 /hmac/sha256-3
1013s ok 11 /hmac/sha256-4
1013s ok 12 /hmac/sha256-5
1013s ok 13 /hmac/sha256-6
1013s ok 14 /hmac/sha384-1
1013s ok 15 /hmac/sha384-2
1013s ok 16 /hmac/sha384-3
1013s ok 17 /hmac/sha384-4
1013s ok 18 /hmac/sha384-5
1013s ok 19 /hmac/sha384-6
1013s ok 20 /hmac/sha512-1
1013s ok 21 /hmac/sha512-2
1013s ok 22 /hmac/sha512-3
1013s ok 23 /hmac/sha512-4
1013s ok 24 /hmac/sha512-5
1013s ok 25 /hmac/sha512-6
1013s ok 26 /hmac/md5-1
1013s ok 27 /hmac/md5-2
1013s ok 28 /hmac/md5-3
1013s ok 29 /hmac/md5-4
1013s ok 30 /hmac/md5-5
1013s ok 31 /hmac/md5-6
1013s ok 32 /hmac/md5-7
1013s ok 33 /hmac/ref-unref
1013s ok 34 /hmac/copy
1013s ok 35 /hmac/for-data
1013s ok 36 /hmac/for-string
1013s ok 37 /hmac/for-bytes
1013s # End of hmac tests
1013s TAP version 14
1013s # random seed: R02Sb8091c711c907ca4786ec7cfc292c05d
1013s # 1..0 # SKIP all gdbus-threading tests skipped because they are too unreliable (glib#1515)
1013s TAP version 14
1013s # random seed: R02S04f5cf5a3551bba24ad95775b9449650
1013s 1..16
1013s # Start of sequence tests
1013s ok 1 /sequence/out-of-range-jump
1013s ok 2 /sequence/iter-move
1013s ok 3 /sequence/insert-sorted-non-pointer
1013s ok 4 /sequence/stable-sort
1013s ok 5 /sequence/is_empty
1013s # Start of random tests
1014s ok 6 /sequence/random/seed:825541564
1014s # slow test /sequence/random/seed:825541564 executed in 1.16 secs
1015s ok 7 /sequence/random/seed:801678400
1015s # slow test /sequence/random/seed:801678400 executed in 1.01 secs
1016s ok 8 /sequence/random/seed:1477639090
1016s # slow test /sequence/random/seed:1477639090 executed in 0.86 secs
1016s # Executing: glib/sequence.test
1017s ok 9 /sequence/random/seed:3369132895
1017s # slow test /sequence/random/seed:3369132895 executed in 1.05 secs
1018s ok 10 /sequence/random/seed:1192944867
1018s # slow test /sequence/random/seed:1192944867 executed in 0.97 secs
1019s ok 11 /sequence/random/seed:770458294
1019s # slow test /sequence/random/seed:770458294 executed in 1.21 secs
1020s ok 12 /sequence/random/seed:1099575817
1020s # slow test /sequence/random/seed:1099575817 executed in 1.18 secs
1021s # Executing: glib/sequence.test
1022s ok 13 /sequence/random/seed:590523467
1022s # slow test /sequence/random/seed:590523467 executed in 1.11 secs
1023s ok 14 /sequence/random/seed:3583571454
1023s # slow test /sequence/random/seed:3583571454 executed in 1.07 secs
1024s ok 15 /sequence/random/seed:579241222
1024s # slow test /sequence/random/seed:579241222 executed in 1.08 secs
1025s ok 16 /sequence/random/seed:35285752
1025s # slow test /sequence/random/seed:35285752 executed in 1.12 secs
1025s # End of random tests
1025s # End of sequence tests
1025s ok - glib/sequence.test
1025s # Running test: glib/keyfile.test
1025s TAP version 14
1025s # random seed: R02S8f0c12b9b610cd9d35f58b3d4bc09b23
1025s 1..36
1025s # Start of keyfile tests
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/line-ends/.dirs/runtime
1025s ok 1 /keyfile/line-ends
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/whitespace/.dirs/runtime
1025s ok 2 /keyfile/whitespace
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/comments/.dirs/runtime
1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/104
1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3047
1025s ok 3 /keyfile/comments
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/listing/.dirs/runtime
1025s ok 4 /keyfile/listing
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/string/.dirs/runtime
1025s ok 5 /keyfile/string
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/boolean/.dirs/runtime
1025s ok 6 /keyfile/boolean
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/number/.dirs/runtime
1025s ok 7 /keyfile/number
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/.dirs/runtime
1025s ok 8 /keyfile/locale-string
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/lists/.dirs/runtime
1025s ok 9 /keyfile/lists
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/lists-set-get/.dirs/runtime
1025s ok 10 /keyfile/lists-set-get
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/group-remove/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165887
1025s ok 11 /keyfile/group-remove
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/key-remove/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=165980
1025s ok 12 /keyfile/key-remove
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/groups/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=316309
1025s ok 13 /keyfile/groups
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-keys/.dirs/runtime
1025s ok 14 /keyfile/duplicate-keys
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=157877
1025s ok 15 /keyfile/duplicate-groups
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/duplicate-groups2/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=385910
1025s ok 16 /keyfile/duplicate-groups2
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/group-names/.dirs/runtime
1025s ok 17 /keyfile/group-names
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/key-names/.dirs/runtime
1025s ok 18 /keyfile/key-names
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/reload/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=420686
1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2927
1025s ok 19 /keyfile/reload
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/int64/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_ok - glib/keyfile.test
1025s # Running test: glib/gdbus-bz627724.test
1025s ok - glib/gdbus-bz627724.test
1025s # Running test: glib/function-info.test
1025s bug.cgi?id=614864
1025s ok 20 /keyfile/int64
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/load/.dirs/runtime
1025s ok 21 /keyfile/load
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/save/.dirs/runtime
1025s ok 22 /keyfile/save
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/load-fail/.dirs/runtime
1025s ok 23 /keyfile/load-fail
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/non-utf8/.dirs/runtime
1025s ok 24 /keyfile/non-utf8
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/page-boundary/.dirs/runtime
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=640695
1025s ok 25 /keyfile/page-boundary
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/ref/.dirs/runtime
1025s ok 26 /keyfile/ref
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/replace-value/.dirs/runtime
1025s ok 27 /keyfile/replace-value
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/list-separator/.dirs/runtime
1025s ok 28 /keyfile/list-separator
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/empty-string/.dirs/runtime
1025s ok 29 /keyfile/empty-string
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/limbo/.dirs/runtime
1025s ok 30 /keyfile/limbo
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/utf8/.dirs/runtime
1025s # Testing invalid encoding ?non-UTF-8
1025s # Testing invalid encoding ?UTF?
1025s # Testing invalid encoding ?UTF-9?
1025s ok 31 /keyfile/utf8
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/roundtrip/.dirs/runtime
1025s ok 32 /keyfile/roundtrip
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/bytes/.dirs/runtime
1025s ok 33 /keyfile/bytes
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/get-locale/.dirs/runtime
1025s ok 34 /keyfile/get-locale
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/free-when-not-last-ref/.dirs/runtime
1025s ok 35 /keyfile/free-when-not-last-ref
1025s # Start of locale-string tests
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/system-config1:/tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/system-data1:/tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_keyfile_JN4Q52/keyfile/locale-string/multiple-loads/.dirs/runtime
1025s # /keyfile/locale-string/multiple-loads summary: Check that loading with translations multiple times works
1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2361
1025s ok 36 /keyfile/locale-string/multiple-loads
1025s # End of locale-string tests
1025s # End of keyfile tests
1025s TAP version 14
1025s # random seed: R02Sbf62aafe4b0c7d1daee6c7f792950599
1025s 1..1
1025s # Start of gdbus tests
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/system-config1:/tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/system-data1:/tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-bz627724_MHWS52/gdbus/bz627724/.dirs/runtime
1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1025s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1025s ok 1 /gdbus/bz627724
1025s # End of gdbus tests
1025s TAP version 14
1025s # random seed: R02S205e7e0ee62a11831125acda3a499ebb
1025s 1..1
1025s # Start of function-info tests
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_function-info_065S52/function-info/invoker/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_function-info_065S52/function-info/invoker/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_function-info_065S52/function-info/invoker/.dirs/system-config1:/tmp/test_function-info_065S52/function-info/invoker/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_function-info_065S52/function-info/invoker/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_function-info_065S52/function-info/invoker/.dirs/system-data1:/tmp/test_function-info_065S52/function-info/invoker/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_function-info_065S52/function-info/invoker/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_function-info_065S52/function-info/invoker/.dirs/state
1025s ok - glib/function-info.test
1025s # Running test: glib/utils.test
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_function-info_065S52/function-info/invoker/.dirs/runtime
1025s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1025s # /function-info/invoker summary: Test preparing a function invoker
1025s ok 1 /function-info/invoker
1025s # End of function-info tests
1025s TAP version 14
1025s # random seed: R02Sbe16dc6e07a9f120d112d2c4243c9301
1025s 1..41
1025s # Start of utils tests
1025s ok 1 /utils/language-names
1025s ok 2 /utils/locale-variants
1025s ok 3 /utils/version
1025s ok 4 /utils/appname
1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1025s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1025s ok 5 /utils/prgname-thread-safety
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1025s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1025s ok 6 /utils/tmpdir
1025s ok 7 /utils/basic_bits
1025s ok 8 /utils/bits
1025s ok 9 /utils/swap
1025s ok 10 /utils/find-program
1025s ok 11 /utils/find-program-for-path
1025s ok 12 /utils/debug
1025s ok 13 /utils/codeset
1025s ok 14 /utils/codeset2
1025s ok 15 /utils/console-charset
1025s ok 16 /utils/gettext
1025s ok 17 /utils/username
1025s ok 18 /utils/realname
1025s ok 19 /utils/hostname
1025s ok 20 /utils/xdgdirs
1025s ok 21 /utils/specialdir
1025s # NAME: Ubuntu
1025s ok - glib/utils.test
1025s # Running test: glib/io-channel.test
1025s ok - glib/io-channel.test
1025s # Running test: glib/utf8-misc.test
1025s ok - glib/utf8-misc.test
1025s # Running test: glib/unix-fd.test
1025s ok - glib/unix-fd.test
1025s # Running test: glib/converter.test
1025s ok - glib/converter.test
1025s # Running test: glib/list.test
1025s ok 22 /utils/os-info
1025s ok 23 /utils/clear-pointer
1025s ok 24 /utils/clear-pointer-cast
1025s ok 25 /utils/take-pointer
1025s ok 26 /utils/clear-source
1025s ok 27 /utils/misc-mem
1025s # /utils/aligned-mem summary: Aligned memory allocator
1025s # Alignment must not be zero
1025s # Alignment must be a power of two
1025s # Alignment must be a multiple of sizeof(void*)
1025s ok 28 /utils/aligned-mem
1025s # /utils/free-sized summary: Check that g_free_sized() works
1025s ok 29 /utils/free-sized
1025s ok 30 /utils/nullify
1025s ok 31 /utils/atexit
1025s ok 32 /utils/check-setuid
1025s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1025s ok 33 /utils/int-limits
1025s ok 34 /utils/clear-list
1025s ok 35 /utils/clear-slist
1025s ok 36 /utils/steal-handle-id
1025s # Start of specialdir tests
1025s ok 37 /utils/specialdir/desktop
1025s # End of specialdir tests
1025s # Start of clear-pointer tests
1025s ok 38 /utils/clear-pointer/side-effects
1025s # End of clear-pointer tests
1025s # Start of aligned-mem tests
1025s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1025s ok 39 /utils/aligned-mem/alignment
1025s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1025s ok 40 /utils/aligned-mem/zeroed
1025s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1025s ok 41 /utils/aligned-mem/free-sized
1025s # Start of subprocess tests
1025s # End of subprocess tests
1025s # End of aligned-mem tests
1025s # End of utils tests
1025s TAP version 14
1025s # random seed: R02S12e5ddae085279a40524483fa2034bea
1025s 1..2
1025s # Start of io-channel tests
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/system-config1:/tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/system-data1:/tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_6WFT52/io-channel/read-write/.dirs/runtime
1025s # Line one
1025s #
1025s # Line two
1025s #
1025s # Line three
1025s #
1025s # /* Hello */
1025s #
1025s # \x1234\x567890\x6666
1025s #
1025s # read 62 bytes, wrote 62 bytes
1025s ok 1 /io-channel/read-write
1025s # Start of read-line tests
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/system-config1:/tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/system-data1:/tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_io-channel_6WFT52/io-channel/read-line/embedded-nuls/.dirs/runtime
1025s # /io-channel/read-line/embedded-nuls summary: Test that reading a line containing embedded nuls works when using non-standard line terminators.
1025s ok 2 /io-channel/read-line/embedded-nuls
1025s # End of read-line tests
1025s # End of io-channel tests
1025s TAP version 14
1025s # random seed: R02Sfb4e97d68d3ff3872b18242aa0717210
1025s 1..7
1025s # Start of utf8 tests
1025s ok 1 /utf8/strlen
1025s ok 2 /utf8/strncpy
1025s ok 3 /utf8/strrchr
1025s ok 4 /utf8/reverse
1025s ok 5 /utf8/substring
1025s ok 6 /utf8/make-valid
1025s ok 7 /utf8/truncate-middle
1025s # End of utf8 tests
1025s TAP version 14
1025s # random seed: R02S19def08a46c3108b085c92db31b24bc9
1025s 1..2
1025s # Start of unix-fd tests
1025s ok 1 /unix-fd/fd-list
1025s ok 2 /unix-fd/scm
1025s # End of unix-fd tests
1025s TAP version 14
1025s # random seed: R02S01285a7ca3b581e19338e7e406cc9b05
1025s 1..2
1025s # Start of converter tests
1025s ok 1 /converter/bytes
1025s ok 2 /converter/extra-bytes-at-end
1025s # End of converter tests
1025s ok - glib/list.test
1025s # Running test: glib/basic-signals.test
1025s ok - glib/basic-signals.test
1025s TAP version 14
1025s # random seed: R02S92cfdbff3e1e1c40e0d5624c2693f05c
1025s 1..20
1025s # Start of list tests
1025s ok 1 /list/sort
1025s ok 2 /list/sort-with-data
1025s ok 3 /list/insert-before-link
1025s ok 4 /list/insert-sorted
1025s ok 5 /list/insert-sorted-with-data
1025s ok 6 /list/reverse
1025s ok 7 /list/nth
1025s ok 8 /list/concat
1025s ok 9 /list/remove
1025s ok 10 /list/remove-all
1025s ok 11 /list/first-last
1025s ok 12 /list/insert
1025s ok 13 /list/free-full
1025s ok 14 /list/copy
1025s ok 15 /list/copy-deep
1025s ok 16 /list/delete-link
1025s ok 17 /list/prepend
1025s ok 18 /list/position
1025s ok 19 /list/double-free
1025s # Start of sort tests
1025s ok 20 /list/sort/stable
1025s # End of sort tests
1025s # End of list tests
1025s TAP version 14
1025s # random seed: R02S0beea69dc9cde27b353e9f3e727413ce
1025s 1..1
1025s # Start of gobject tests
1025s ok 1 /gobject/basic-signals
1025s # End of gobject tests
1025s # Running test: glib/buffered-output-stream.test
1025s TAP version 14
1025s # random seed: R02S0488a80c0ff78c4ce7c4f688611a90b0
1025s 1..5
1025s # Start of buffered-output-stream tests
1025s ok 1 /buffered-output-stream/write
1025s ok 2 /buffered-output-stream/grow
1025s ok 3 /buffered-output-stream/seek
1025s ok 4 /buffered-output-stream/truncate
1025s # End of buffered-output-stream tests
1025s # Start of filter-output-stream tests
1025s ok 5 /filter-output-stream/close
1025s # End of filter-output-stream tests
1025s ok - glib/buffered-output-stream.test
1025s # Running test: glib/appmonitor.test
1025s TAP version 14
1025s # random seed: R02Seec922496ce074f224b0607d51842853
1025s 1..1
1025s # Start of monitor tests
1025s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/home
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/cache
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/system-config1:/tmp/test_appmonitor_5UXV52/monitor/app/.dirs/system-config2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/config
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/system-data1:/tmp/test_appmonitor_5UXV52/monitor/app/.dirs/system-data2
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/data
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/state
1025s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/runtime
1025s # Using data directory: /tmp/test_appmonitor_5UXV52/monitor/app/.dirs/data
1025s ok 1 /monitor/app
1025s # End of monitor tests
1025s ok - glib/appmonitor.test
1025s # Running test: glib/buffered-input-stream.test
1025s TAP version 14
1025s # random seed: R02S5110e18ee71136fb21dfb40162ef32bb
1025s 1..10
1025s # Start of buffered-input-stream tests
1025s ok 1 /buffered-input-stream/peek
1025s ok 2 /buffered-input-stream/peek-buffer
1025s ok 3 /buffered-input-stream/set-buffer-size
1025s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=562393
1025s ok 4 /buffered-input-stream/read-byte
1025s ok 5 /buffered-input-stream/read
1025s ok 6 /buffered-input-stream/read-async
1025s ok 7 /buffered-input-stream/skip
1025s ok - glib/buffered-input-stream.test
1025s # Running test: glib/socket-listener.test
1025s ok - glib/socket-listener.test
1025s # Running test: glib/gutils-user-database.test
1025s ok - glib/gutils-user-database.test
1025s # Running test: glib/slist.test
1025s ok - glib/slist.test
1025s # Running test: glib/unix-streams.test
1025s ok 8 /buffered-input-stream/skip-async
1025s ok 9 /buffered-input-stream/seek
1025s # End of buffered-input-stream tests
1025s # Start of filter-input-stream tests
1025s ok 10 /filter-input-stream/close
1025s # End of filter-input-stream tests
1025s TAP version 14
1025s # random seed: R02S2bce7693d38e0c5967b6d1ddf6b1fe00
1025s 1..1
1025s # Start of socket-listener tests
1025s ok 1 /socket-listener/event-signal
1025s # End of socket-listener tests
1025s TAP version 14
1025s # random seed: R02S79c0e06af0a16eedc846e3630f634207
1025s 1..1
1025s # Start of gutils tests
1025s ok 1 /gutils/get_user_database_entry
1025s # End of gutils tests
1025s TAP version 14
1025s # random seed: R02Sc5d99a4054a337976f66eb1f5aeba57d
1025s 1..14
1025s # Start of slist tests
1025s ok 1 /slist/sort
1025s ok 2 /slist/sort-with-data
1025s ok 3 /slist/insert-sorted
1025s ok 4 /slist/insert-sorted-with-data
1025s ok 5 /slist/reverse
1025s ok 6 /slist/nth
1025s ok 7 /slist/remove
1025s ok 8 /slist/remove-all
1025s ok 9 /slist/insert
1025s ok 10 /slist/position
1025s ok 11 /slist/concat
1025s ok 12 /slist/copy
1025s # Start of sort tests
1025s ok 13 /slist/sort/stable
1025s # End of sort tests
1025s # Start of copy tests
1025s ok 14 /slist/copy/deep
1025s # End of copy tests
1025s # End of slist tests
1025s TAP version 14
1025s # random seed: R02Sd361701a85c62dc09c4b73dd7306e1cc
1025s 1..9
1025s # Start of unix-streams tests
1025s ok 1 /unix-streams/basic
1026s ok 2 /unix-streams/pipe-io-test
1026s # slow test /unix-streams/pipe-io-test executed in 0.50 secs
1026s ok - glib/unix-streams.test
1026s # Running test: glib/readwrite.test
1026s ok 3 /unix-streams/nonblocking-io-test
1026s # slow test /unix-streams/nonblocking-io-test executed in 0.50 secs
1026s ok 4 /unix-streams/read_write
1026s ok 5 /unix-streams/read_writev
1026s ok 6 /unix-streams/write-wouldblock
1026s ok 7 /unix-streams/writev-wouldblock
1026s ok 8 /unix-streams/write-async-wouldblock
1026s ok 9 /unix-streams/writev-async-wouldblock
1026s # End of unix-streams tests
1026s TAP version 14
1026s # random seed: R02S8291f85d69b784100d2c0d67204cd371
1026s 1..3
1026s # Start of readwrite tests
1026s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1026s ok 1 /readwrite/test_g_file_open_readwrite
1026s ok 2 /readwrite/test_g_file_create_readwrite
1026s ok 3 /readwrite/test_g_file_replace_readwrite
1026s # End of readwrite tests
1026s ok - glib/readwrite.test
1026s # Running test: glib/deprecated-properties.test
1026s ok - glib/deprecated-properties.test
1026s # Running test: glib/fdo-notification-backend.test
1026s ok - glib/fdo-notification-backend.test
1026s # Running test: glib/object-info.test
1026s ok - glib/object-info.test
1026s # Running test: glib/cxx-20.test
1026s ok - glib/cxx-20.test
1026s # Running test: glib/642026.test
1026s TAP version 14
1026s # random seed: R02S3be9e34b2850a28f935f04de47060179
1026s 1..3
1026s # Start of deprecated-properties tests
1026s ok 1 /deprecated-properties/construct
1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1026s ok 2 /deprecated-properties/default-construct
1026s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2748
1026s ok 3 /deprecated-properties/set
1026s # End of deprecated-properties tests
1026s TAP version 14
1026s # random seed: R02S687c016e40d8715c0265a1df2ef452a6
1026s 1..2
1026s # Start of fdo-notification-backend tests
1026s # Test constructing a GFdoNotificationBackend
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s ok 1 /fdo-notification-backend/construction
1026s # Start of dbus tests
1026s # /fdo-notification-backend/dbus/activate-action summary: Test how the backend handles valid and invalid ActionInvoked signals from the daemon
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1026s ok 2 /fdo-notification-backend/dbus/activate-action
1026s # End of dbus tests
1026s # End of fdo-notification-backend tests
1026s TAP version 14
1026s # random seed: R02Sa42c922503be2762e8f29ed086a1567a
1026s 1..2
1026s # Start of object-info tests
1026s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/home
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/cache
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/system-config1:/tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/system-config2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/config
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/system-data1:/tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/system-data2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/data
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/state
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_KU0752/object-info/find-method-using-interfaces/.dirs/runtime
1026s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1026s ok 1 /object-info/find-method-using-interfaces
1026s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/home
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/cache
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/system-config1:/tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/system-config2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/config
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/system-data1:/tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/system-data2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/data
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/state
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_object-info_KU0752/object-info/find-vfunc-using-interfaces/.dirs/runtime
1026s # Using GI_TYPELIB_DIR = /usr/libexec/installed-tests/glib/../introspection
1026s ok 2 /object-info/find-vfunc-using-interfaces
1026s # End of object-info tests
1026s TAP version 14
1026s # random seed: R02S6f1eed333eb35627a9730d3a71f69eed
1026s 1..2
1026s # Start of gtask tests
1026s # 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.
1026s ok 1 /gtask/name
1026s # Start of name tests
1026s # 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.
1026s ok 2 /gtask/name/macro-wrapper
1026s # End of name tests
1026s # End of gtask tests
1026s TAP version 14
1026s # random seed: R02Se512bc2cb2f7fd05a07f51879bb59db8
1026s 1..1
1026s # Start of glib tests
1026s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642026
1026s ok - glib/642026.test
1026s ok 1 /glib/642026
1026s # End of glib tests
1026s # Running test: glib/gobject-private.test
1026s TAP version 14
1026s # random seed: R02S4151e02a93fa86b48b7906296e426ebf
1026s 1..3
1026s # Start of private tests
1026s ok 1 /private/instance
1026s ok 2 /private/derived-instance
1026s ok 3 /private/mixed-derived-instance
1026s # End of private tests
1026s ok - glib/gobject-private.test
1026s # Running test: glib/credentials.test
1026s TAP version 14
1026s # random seed: R02S1505cc600c9a3b019b855c92d7903a20
1026s 1..1
1026s # Start of credentials tests
1026s # GCredentials:linux-ucred:pid=10387,uid=1000,gid=1000
1026s # GCredentials:linux-ucred:pid=10387,uid=0,gid=1000
1026s ok 1 /credentials/basic
1026s # End of credentials tests
1026s ok - glib/credentials.test
1026s # Running test: glib/gdbus-exit-on-close.test
1026s TAP version 14
1026s # random seed: R02Sf68e744051d4f943f3004a19792283b2
1026s 1..4
1026s # Start of gdbus tests
1026s # Start of exit-on-close tests
1026s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/home
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/cache
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/system-config2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/config
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/system-data2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/data
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/state
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/default/.dirs/runtime
1026s ok 1 /gdbus/exit-on-close/default
1026s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/home
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/cache
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/system-config2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/config
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/system-data2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/data
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/state
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/true/.dirs/runtime
1026s ok 2 /gdbus/exit-on-close/true
1026s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/home
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/cache
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/system-config2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/config
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/system-data2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/data
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/state
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/false/.dirs/runtime
1026s # Executing: glib/gdbus-exit-on-close.test
1026s ok 3 /gdbus/exit-on-close/false
1026s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/home
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/cache
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/system-config1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/system-config2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/config
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/system-data1:/tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/system-data2
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/data
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/state
1026s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-exit-on-close_6Q6852/gdbus/exit-on-close/we-close/.dirs/runtime
1027s ok 4 /gdbus/exit-on-close/we-close
1027s # Start of default tests
1027s # End of default tests
1027s # Start of true tests
1027s # End of true tests
1027s # Start of false tests
1027s # End of false tests
1027s # Start of we-close tests
1027s # End of we-close tests
1027s # End of exit-on-close tests
1027s # End of gdbus tests
1027s ok - glib/gdbus-exit-on-close.test
1027s # Running test: glib/mapping.test
1027s TAP version 14
1027s # random seed: R02S34efa2d275b78d1e931f1e4a9ecea21b
1027s 1..3
1027s # Start of mapping tests
1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_9SX452/mapping/flags/.dirs/home
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_9SX452/mapping/flags/.dirs/cache
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_9SX452/mapping/flags/.dirs/system-config1:/tmp/test_mapping_9SX452/mapping/flags/.dirs/system-config2
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_9SX452/mapping/flags/.dirs/config
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_9SX452/mapping/flags/.dirs/system-data1:/tmp/test_mapping_9SX452/mapping/flags/.dirs/system-data2
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_9SX452/mapping/flags/.dirs/data
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_9SX452/mapping/flags/.dirs/state
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_9SX452/mapping/flags/.dirs/runtime
1027s # test_mapping: ok
1027s ok 1 /mapping/flags
1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_9SX452/mapping/private/.dirs/home
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_9SX452/mapping/private/.dirs/cache
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_9SX452/mapping/private/.dirs/system-config1:/tmp/test_mapping_9SX452/mapping/private/.dirs/system-config2
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_9SX452/mapping/private/.dirs/config
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_9SX452/mapping/private/.dirs/system-data1:/tmp/test_mapping_9SX452/mapping/private/.dirs/system-data2
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_9SX452/mapping/private/.dirs/data
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_9SX452/mapping/private/.dirs/state
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_9SX452/mapping/private/.dirs/runtime
1027s ok 2 /mapping/private
1027s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/home
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/cache
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/system-config1:/tmp/test_mapping_9SX452/mapping/private-child/.dirs/system-config2
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/config
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/system-data1:/tmp/test_mapping_9SX452/mapping/private-child/.dirs/system-data2
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/data
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/state
1027s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mapping_9SX452/mapping/private-child/.dirs/runtime
1027s # test_child_private: child spawned
1027s # Subtest: /usr/libexec/installed-tests/glib/mapping
1027s # random seed: R02S2df250042251f31f38fb5d9a9621011f
1027s # test_child_private: received first child signal
1027s # test_child_private: received parent signal
1027s # Child exited with status 0
1027s # test_child_private: received second child signal
1027s ok - glib/mapping.test
1027s ok 3 /mapping/private-child
1027s # End of mapping tests
1027s # Running test: glib/actions.test
1027s TAP version 14
1027s # random seed: R02S02eb1ee7a47d9c9949d93c5bc9c4236a
1027s 1..13
1027s # Start of actions tests
1027s ok 1 /actions/basic
1027s ok 2 /actions/name
1027s ok 3 /actions/simplegroup
1027s ok 4 /actions/stateful
1027s ok 5 /actions/default-activate
1027s ok 6 /actions/entries
1027s ok 7 /actions/parse-detailed
1027s ok 8 /actions/property
1027s ok 9 /actions/no-properties
1027s # Start of dbus tests
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s ok 10 /actions/dbus/export
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s ok 11 /actions/dbus/threaded
1027s # slow test /actions/dbus/threaded executed in 0.71 secs
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s ok 12 /actions/dbus/bug679509
1027s # Start of export tests
1027s # /actions/dbus/export/error-handling summary: Test that error handling of action group export failure works
1027s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s ok - glib/actions.test
1027s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1027s ok 13 /actions/dbus/export/error-handling
1027s # End of export tests
1027s # End of dbus tests
1027s # End of actions tests
1027s # Running test: glib/assert-msg-test.py.test
1027s TAP version 13
1027s ok 1 __main__.TestAssertMessage.test_gassert
1027s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1027s # tmpdir: /tmp/tmpzm4rh2b8
1027s # Running: ['/usr/libexec/installed-tests/glib/assert-msg-test']
1027s # Return code: -6
1027s # Output:
1027s # Bail out! GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1027s # Error:
1027s # **
1027s # GLib:ERROR:../../../glib/tests/assert-msg-test.c:31:main: assertion failed: (42 < 0)
1027s ok 2 __main__.TestAssertMessage.test_gdb_gassert # SKIP GDB is not installed, skipping this test!
1027s # assert-msg-test: /usr/libexec/installed-tests/glib/assert-msg-test
1027s # tmpdir: /tmp/tmpdiyswns2
1027s 1..2
1027s ok - glib/assert-msg-test.py.test
1027s # Running test: glib/memory-settings-backend.test
1027s TAP version 14
1027s # random seed: R02S4229447931a472734baa7b72eb435deb
1027s 1..1
1027s # Start of memory-settings-backend tests
1027s ok 1 /memory-settings-backend/extension-point-registered
1027s # End of memory-settings-backend tests
1027s ok - glib/memory-settings-backend.test
1027s # Running test: glib/gmenumodel.test
1027s TAP version 14
1027s # random seed: R02S024f567c78e9e9d8c7fd9a4a6bb9f71c
1027s 1..15
1027s # Start of gmenu tests
1028s ok 1 /gmenu/equality
1028s # slow test /gmenu/equality executed in 0.53 secs
1028s ok 2 /gmenu/random
1028s # slow test /gmenu/random executed in 0.57 secs
1028s ok 3 /gmenu/attributes
1028s ok 4 /gmenu/links
1028s ok 5 /gmenu/mutable
1028s ok 6 /gmenu/convenience
1028s ok 7 /gmenu/menuitem
1028s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
1029s ok 8 /gmenu/input-validation
1029s # Start of dbus tests
1030s ok 9 /gmenu/dbus/roundtrip
1030s # slow test /gmenu/dbus/roundtrip executed in 1.01 secs
1030s ok 10 /gmenu/dbus/subscriptions
1031s ok 11 /gmenu/dbus/threaded
1031s # slow test /gmenu/dbus/threaded executed in 0.57 secs
1031s # Start of peer tests
1031s # Executing: glib/gmenumodel.test
1032s ok 12 /gmenu/dbus/peer/roundtrip
1032s # slow test /gmenu/dbus/peer/roundtrip executed in 1.04 secs
1032s ok 13 /gmenu/dbus/peer/subscriptions
1032s # End of peer tests
1032s # Start of export tests
1032s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
1032s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1032s ok 14 /gmenu/dbus/export/error-handling
1032s # End of export tests
1032s # End of dbus tests
1032s # Start of attributes tests
1032s ok 15 /gmenu/attributes/iterate
1032s # End of attributes tests
1032s # End of gmenu tests
1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1032s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1032s ok - glib/gmenumodel.test
1032s # Running test: glib/gdbus-close-pending.test
1032s TAP version 14
1032s # random seed: R02Sc00a11151645415d4257e055f1199831
1032s 1..2
1032s # Start of gdbus tests
1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/home
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/cache
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/system-config2
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/config
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/system-data2
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/data
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/state
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_V9QU52/gdbus/close-pending/.dirs/runtime
1032s ok 1 /gdbus/close-pending
1032s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/home
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/cache
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/system-config1:/tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/system-config2
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/config
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/system-data1:/tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/system-data2
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/data
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/state
1032s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-close-pending_V9QU52/gdbus/unref-pending/.dirs/runtime
1033s ok 2 /gdbus/unref-pending
1033s # End of gdbus tests
1033s ok - glib/gdbus-close-pending.test
1033s # Running test: glib/base64.test
1033s TAP version 14
1033s # random seed: R02See0023f66b05b9f3a4b25e40329dd559
1033s 1..28
1033s # Start of base64 tests
1033s ok 1 /base64/encode
1033s ok 2 /base64/decode
1033s ok 3 /base64/decode-inplace
1033s ok 4 /base64/encode-decode
1033s ok - glib/base64.test
1033s # Running test: glib/option-context.test
1033s # Start of full tests
1033s ok 5 /base64/full/1
1033s ok 6 /base64/full/2
1033s ok 7 /base64/full/3
1033s ok 8 /base64/full/4
1033s # End of full tests
1033s # Start of encode tests
1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
1033s ok 9 /base64/encode/empty
1033s # Start of incremental tests
1033s # Start of small-block tests
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1033s ok 10 /base64/encode/incremental/small-block/1
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1033s ok 11 /base64/encode/incremental/small-block/2
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1033s ok 12 /base64/encode/incremental/small-block/3
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=780066
1033s ok 13 /base64/encode/incremental/small-block/4
1033s # End of small-block tests
1033s # End of incremental tests
1033s # End of encode tests
1033s # Start of incremental tests
1033s # Start of nobreak tests
1033s ok 14 /base64/incremental/nobreak/1
1033s ok 15 /base64/incremental/nobreak/2
1033s ok 16 /base64/incremental/nobreak/3
1033s ok 17 /base64/incremental/nobreak/4-a
1033s ok 18 /base64/incremental/nobreak/4-b
1033s ok 19 /base64/incremental/nobreak/4-c
1033s # End of nobreak tests
1033s # Start of break tests
1033s ok 20 /base64/incremental/break/1
1033s ok 21 /base64/incremental/break/2
1033s ok 22 /base64/incremental/break/3
1033s # End of break tests
1033s # Start of smallblock tests
1033s ok 23 /base64/incremental/smallblock/1
1033s ok 24 /base64/incremental/smallblock/2
1033s ok 25 /base64/incremental/smallblock/3
1033s ok 26 /base64/incremental/smallblock/4
1033s # End of smallblock tests
1033s # End of incremental tests
1033s # Start of decode tests
1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1698
1033s ok 27 /base64/decode/empty
1033s # End of decode tests
1033s # Start of encode-decode tests
1033s # Vector 0:
1033s # Vector 1: f
1033s # Vector 2: fo
1033s # Vector 3: foo
1033s # Vector 4: foob
1033s # Vector 5: fooba
1033s # Vector 6: foobar
1033s ok 28 /base64/encode-decode/rfc4648
1033s # End of encode-decode tests
1033s # End of base64 tests
1033s TAP version 14
1033s # random seed: R02Sd95631be54851fd87d5b75ae6030c9f3
1033s 1..58
1033s # Start of option tests
1033s ok 1 /option/basic
1033s ok 2 /option/translate
1033s ok 3 /option/strict-posix
1033s # Start of help tests
1033s ok 4 /option/help/options
1033s ok 5 /option/help/no-options
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=697652
1033s ok 6 /option/help/no-help-options
1033s # Usage:
1033s # /usr/libexec/installed-tests/glib/option-context [OPTION?] blabla
1033s #
1033s # Summary
1033s #
1033s # Help Options:
1033s # -h, --help Show help options
1033s #
1033s # Application Options:
1033s # -t, --test=Argument to use in test (deprecated) Test tests
1033s # --test2 Tests also
1033s #
1033s # Description
1033s #
1033s ok 7 /option/help/deprecated
1033s # End of help tests
1033s # Start of group tests
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=504142
1033s ok 8 /option/group/captions
1033s ok 9 /option/group/main
1033s ok 10 /option/group/error-hook
1033s ok 11 /option/group/parse
1033s # Start of captions tests
1033s # Start of subprocess tests
1033s # End of subprocess tests
1033s # End of captions tests
1033s # End of group tests
1033s # Start of restoration tests
1033s ok 12 /option/restoration/int
1033s ok 13 /option/restoration/string
1033s ok 14 /option/restoration/boolean
1033s # End of restoration tests
1033s # Start of arg tests
1033s ok 15 /option/arg/reverse-string
1033s ok 16 /option/arg/optional-int
1033s # Start of repetition tests
1033s ok 17 /option/arg/repetition/int
1033s ok 18 /option/arg/repetition/string
1033s ok 19 /option/arg/repetition/filename
1033s ok 20 /option/arg/repetition/double
1033s ok 21 /option/arg/repetition/locale
1033s ok 22 /option/arg/repetition/int64
1033s # End of repetition tests
1033s # Start of array tests
1033s ok 23 /option/arg/array/string
1033s # End of array tests
1033s # Start of callback tests
1033s ok 24 /option/arg/callback/string
1033s ok 25 /option/arg/callback/count
1033s ok 26 /option/arg/callback/optional1
1033s ok 27 /option/arg/callback/optional2
1033s ok 28 /option/arg/callback/optional3
1033s ok 29 /option/arg/callback/optional4
1033s ok 30 /option/arg/callback/optional5
1033s ok 31 /option/arg/callback/optional6
1033s ok 32 /option/arg/callback/optional7
1033s ok 33 /option/arg/callback/optional8
1033s ok - glib/option-context.test
1033s # Running test: glib/utils-c-17.test
1033s ok - glib/utils-c-17.test
1033s # Running test: glib/memory-input-stream.test
1033s ok - glib/memory-input-stream.test
1033s # End of callback tests
1033s # Start of remaining tests
1033s ok 34 /option/arg/remaining/callback
1033s ok 35 /option/arg/remaining/callback-false
1033s ok 36 /option/arg/remaining/non-option
1033s ok 37 /option/arg/remaining/separator
1033s ok 38 /option/arg/remaining/array
1033s # End of remaining tests
1033s # Start of ignore tests
1033s ok 39 /option/arg/ignore/long
1033s ok 40 /option/arg/ignore/short
1033s ok 41 /option/arg/ignore/arg
1033s # End of ignore tests
1033s # Start of rest tests
1033s ok 42 /option/arg/rest/non-option
1033s ok 43 /option/arg/rest/separator1
1033s ok 44 /option/arg/rest/separator2
1033s ok 45 /option/arg/rest/separator3
1033s ok 46 /option/arg/rest/separator4
1033s ok 47 /option/arg/rest/separator5
1033s # End of rest tests
1033s # End of arg tests
1033s # Start of context tests
1033s ok 48 /option/context/add
1033s ok 49 /option/context/empty2
1033s ok 50 /option/context/empty3
1033s # End of context tests
1033s # Start of bug tests
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=166609
1033s ok 51 /option/bug/unknown-short
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=168008
1033s ok 52 /option/bug/lonely-dash
1033s ok 53 /option/bug/triple-dash
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=305576
1033s ok 54 /option/bug/missing-arg
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=577638
1033s ok 55 /option/bug/dash-arg
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=729563
1033s ok 56 /option/bug/short-remaining
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=646926
1033s ok 57 /option/bug/double-free
1033s ok 58 /option/bug/double-zero
1033s # End of bug tests
1033s # End of option tests
1033s TAP version 14
1033s # random seed: R02S7065303ae551dd6628afa4f2e1f25514
1033s 1..41
1033s # Start of utils tests
1033s ok 1 /utils/language-names
1033s ok 2 /utils/locale-variants
1033s ok 3 /utils/version
1033s ok 4 /utils/appname
1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/847
1033s # /utils/prgname-thread-safety summary: Test that threads racing to get and set the program name always receive a valid program name.
1033s ok 5 /utils/prgname-thread-safety
1033s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=627969
1033s # /utils/tmpdir summary: Test that g_get_tmp_dir() returns a correct default if TMPDIR is set to the empty string
1033s ok 6 /utils/tmpdir
1033s ok 7 /utils/basic_bits
1033s ok 8 /utils/bits
1033s ok 9 /utils/swap
1033s ok 10 /utils/find-program
1033s ok 11 /utils/find-program-for-path
1033s ok 12 /utils/debug
1033s ok 13 /utils/codeset
1033s ok 14 /utils/codeset2
1033s ok 15 /utils/console-charset
1033s ok 16 /utils/gettext
1033s ok 17 /utils/username
1033s ok 18 /utils/realname
1033s ok 19 /utils/hostname
1033s ok 20 /utils/xdgdirs
1033s ok 21 /utils/specialdir
1033s # NAME: Ubuntu
1033s ok 22 /utils/os-info
1033s ok 23 /utils/clear-pointer
1033s ok 24 /utils/clear-pointer-cast
1033s ok 25 /utils/take-pointer
1033s ok 26 /utils/clear-source
1033s ok 27 /utils/misc-mem
1033s # /utils/aligned-mem summary: Aligned memory allocator
1033s # Alignment must not be zero
1033s # Alignment must be a power of two
1033s # Alignment must be a multiple of sizeof(void*)
1033s ok 28 /utils/aligned-mem
1033s # /utils/free-sized summary: Check that g_free_sized() works
1033s ok 29 /utils/free-sized
1033s ok 30 /utils/nullify
1033s ok 31 /utils/atexit
1033s ok 32 /utils/check-setuid
1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1663
1033s ok 33 /utils/int-limits
1033s ok 34 /utils/clear-list
1033s ok 35 /utils/clear-slist
1033s ok 36 /utils/steal-handle-id
1033s # Start of specialdir tests
1033s ok 37 /utils/specialdir/desktop
1033s # End of specialdir tests
1033s # Start of clear-pointer tests
1033s ok 38 /utils/clear-pointer/side-effects
1033s # End of clear-pointer tests
1033s # Start of aligned-mem tests
1033s # /utils/aligned-mem/alignment summary: Check that g_aligned_alloc() returns a correctly aligned pointer
1033s ok 39 /utils/aligned-mem/alignment
1033s # /utils/aligned-mem/zeroed summary: Check that g_aligned_alloc0() zeroes out its allocation
1033s ok 40 /utils/aligned-mem/zeroed
1033s # /utils/aligned-mem/free-sized summary: Check that g_aligned_free_sized() works
1033s ok 41 /utils/aligned-mem/free-sized
1033s # Start of subprocess tests
1033s # End of subprocess tests
1033s # End of aligned-mem tests
1033s # End of utils tests
1033s TAP version 14
1033s # random seed: R02S638cd8f88483b246b90c9eaeafd48aa9
1033s 1..6
1033s # Start of memory-input-stream tests
1033s ok 1 /memory-input-stream/read-chunks
1033s ok 2 /memory-input-stream/async
1033s ok 3 /memory-input-stream/seek
1033s ok 4 /memory-input-stream/truncate
1033s ok 5 /memory-input-stream/read-bytes
1033s ok 6 /memory-input-stream/from-bytes
1033s # End of memory-input-stream tests
1033s # Running test: glib/spawn-test.test
1033s TAP version 14
1033s # random seed: R02S87512d33b3101bbbc403b8b3a8a4979f
1033s 1..2
1033s # Start of spawn tests
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/system-config1:/tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/system-data1:/tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_NFMZ52/spawn/basics/.dirs/runtime
1033s ok 1 /spawn/basics
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/system-config1:/tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/system-data1:/tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_spawn-test_NFMZ52/spawn/stdio-overwrite/.dirs/runtime
1033s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/16
1033s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr open
1033s # Fetching GSpawn result output and error output with stdin open, stdout open, stderr already closed
1033s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr open
1033s # Fetching GSpawn result output and error output with stdin open, stdout already closed, stderr already closed
1033s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr open
1033s # Fetching GSpawn result output and error output with stdin already closed, stdout open, stderr already closed
1033s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr open
1033s # Fetching GSpawn result output and error output with stdin already closed, stdout already closed, stderr already closed
1033s # Fetching GSpawn result output with stdin open, stdout open, stderr open
1033s # Fetching GSpawn result output with stdin open, stdout open, stderr already closed
1033s # Fetching GSpawn result output with stdin open, stdout already closed, stderr open
1033s # Fetching GSpawn result output with stdin open, stdout already closed, stderr already closed
1033s # Fetching GSpawn result output with stdin already closed, stdout open, stderr open
1033s # Fetching GSpawn result output with stdin already closed, stdout open, stderr already closed
1033s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr open
1033s # Fetching GSpawn result output with stdin already closed, stdout already closed, stderr already closed
1033s ok - glib/spawn-test.test
1033s # Running test: glib/repository-search-paths.test
1033s ok - glib/repository-search-paths.test
1033s # Running test: glib/application-command-line.test
1033s ok - glib/application-command-line.test
1033s # Running test: glib/mimeapps.test
1033s # Fetching GSpawn result error output with stdin open, stdout open, stderr open
1033s # Fetching GSpawn result error output with stdin open, stdout open, stderr already closed
1033s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr open
1033s # Fetching GSpawn result error output with stdin open, stdout already closed, stderr already closed
1033s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr open
1033s # Fetching GSpawn result error output with stdin already closed, stdout open, stderr already closed
1033s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr open
1033s # Fetching GSpawn result error output with stdin already closed, stdout already closed, stderr already closed
1033s # Fetching GSpawn result with stdin open, stdout open, stderr open
1033s # Fetching GSpawn result with stdin open, stdout open, stderr already closed
1033s # Fetching GSpawn result with stdin open, stdout already closed, stderr open
1033s # Fetching GSpawn result with stdin open, stdout already closed, stderr already closed
1033s # Fetching GSpawn result with stdin already closed, stdout open, stderr open
1033s # Fetching GSpawn result with stdin already closed, stdout open, stderr already closed
1033s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr open
1033s # Fetching GSpawn result with stdin already closed, stdout already closed, stderr already closed
1033s ok 2 /spawn/stdio-overwrite
1033s # End of spawn tests
1033s TAP version 14
1033s # random seed: R02Saabe8c51a6ce6dd57f89ab40474d3d97
1033s 1..4
1033s # Start of repository tests
1033s # Start of search-paths tests
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VNA152/repository/search-paths/default/.dirs/runtime
1033s ok 1 /repository/search-paths/default
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VNA152/repository/search-paths/prepend/.dirs/runtime
1033s ok 2 /repository/search-paths/prepend
1033s # End of search-paths tests
1033s # Start of library-paths tests
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/system-config1:/tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/system-data1:/tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VNA152/repository/library-paths/default/.dirs/runtime
1033s ok 3 /repository/library-paths/default
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/system-config1:/tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/system-data1:/tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_repository-search-paths_VNA152/repository/library-paths/prepend/.dirs/runtime
1033s ok 4 /repository/library-paths/prepend
1033s # End of library-paths tests
1033s # End of repository tests
1033s TAP version 14
1033s # random seed: R02S0a8ab54c80c94a6a140d7320c13656da
1033s 1..1
1033s # Start of application-command-line tests
1033s ok 1 /application-command-line/basic-properties
1033s # End of application-command-line tests
1033s TAP version 14
1033s # random seed: R02Sadc28031459a54747ce1a4198ab49127
1033s 1..7
1033s # Start of appinfo tests
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/system-config1:/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/system-data1:/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/runtime
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/system-data1/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/system-data1/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/myapp.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/myapp2.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/myapp3.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/myapp4.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/myapp5.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/nosuchapp.desktop'
1033s # removing '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/all/.dirs/data/applications/mimeinfo.cache'
1033s ok 1 /appinfo/all
1033s # Start of mime tests
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/system-config1:/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/system-data1:/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/runtime
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/system-data1/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/system-data1/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/myapp.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/myapp2.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/myapp3.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/myapp4.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/myapp5.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/nosuchapp.desktop'
1033s # removing '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/data/applications/mimeinfo.cache'
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DPK152/appinfo/all/.dirs/config to /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config
1033s ok 2 /appinfo/mime/api
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/system-config1:/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/system-data1:/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/runtime
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/system-data1/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/system-data1/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/myapp.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/myapp2.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/myapp3.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/myapp4.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/myapp5.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/nosuchapp.desktop'
1033s # removing '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/data/applications/mimeinfo.cache'
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/config
1033s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DPK152/appinfo/mime/api/.dirs/config to /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/config
1033s ok 3 /appinfo/mime/default
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/system-config1:/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/system-data1:/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/runtime
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/system-data1/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/system-data1/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/myapp.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/myapp2.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/myapp3.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/myapp4.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/myapp5.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/nosuchapp.desktop'
1033s # removing '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/data/applications/mimeinfo.cache'
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DPK152/appinfo/mime/default/.dirs/config to /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config
1033s ok 4 /appinfo/mime/file
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/system-config1:/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/system-data1:/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/runtime
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/system-data1/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/system-data1/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp2.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp3.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp4.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/myapp5.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/nosuchapp.desktop'
1033s # removing '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/data/applications/mimeinfo.cache'
1033s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DPK152/appinfo/mime/file/.dirs/config to /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/config
1033s ok 5 /appinfo/mime/scheme-handler
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/system-config1:/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/system-data1:/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/runtime
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/system-data1/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/system-data1/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/myapp.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/myapp2.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/myapp3.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/myapp4.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/myapp5.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/nosuchapp.desktop'
1033s # removing '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/data/applications/mimeinfo.cache'
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DPK152/appinfo/mime/scheme-handler/.dirs/config to /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config
1033s ok 6 /appinfo/mime/default-last-used
1033s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/home
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/cache
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/system-config1:/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/system-config2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/config
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/system-data1:/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/system-data2
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/state
1033s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/runtime
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/system-data1/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp2.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp3.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp4.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/myapp5.desktop'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/nosuchapp.desktop'
1033s # removing '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeapps.list'
1033s # creating '/tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/data/applications/mimeinfo.cache'
1033s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_mimeapps_DPK152/appinfo/mime/default-last-used/.dirs/config to /tmp/test_mimeapps_DPK152/appinfo/mime/ignore-nonexisting/.dirs/config
1033s ok 7 /appinfo/mime/ignore-nonexisting
1033s # End of mime tests
1033s # End of appinfo tests
1033s ok - glib/mimeapps.test
1033s # Running test: glib/accumulator.test
1033s TAP version 14
1033s # random seed: R02Sde0f2bb1bb31f91090e3f8cd9759937f
1033s 1..1
1033s # Start of gobject tests
1033s ok 1 /gobject/accumulator
1033s # End of gobject tests
1033s ok - glib/accumulator.test
1033s # Running test: glib/signals-refcount1.test
1033s TAP version 14
1033s # random seed: R02S0ebdbd7127539e0d81edacc37fdd8782
1033s 1..1
1033s # Start of gobject tests
1033s # Start of refcount tests
1033s # init 0x2aa02e34dd0
1033s #
1033s # init 0x2aa02e31310
1033s #
1036s # Executing: glib/signals-refcount1.test
1038s # dispose 0x2aa02e34dd0!
1038s #
1038s # dispose 0x2aa02e31310!
1038s #
1038s ok 1 /gobject/refcount/signals
1038s # slow test /gobject/refcount/signals executed in 5.00 secs
1038s # End of refcount tests
1038s # End of gobject tests
1038s ok - glib/signals-refcount1.test
1038s # Running test: glib/gdbus-peer.test
1038s TAP version 14
1038s # random seed: R02S7cf31be7db3229d3d51a1363f88006f5
1038s 1..12
1038s # Start of gdbus tests
1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/home
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/cache
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/system-config2
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/config
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/system-data2
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/data
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/state
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/.dirs/runtime
1038s # Testing with unix:dir address
1038s # Testing with unix:tmpdir address
1038s # Testing with unix:path address
1038s ok 1 /gdbus/peer-to-peer
1038s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/home
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/cache
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/system-config2
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/config
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/system-data2
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/data
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/state
1038s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/delayed-message-processing/.dirs/runtime
1038s # Testing with unix:dir address
1039s ok 2 /gdbus/delayed-message-processing
1039s # slow test /gdbus/delayed-message-processing executed in 0.52 secs
1039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/home
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/cache
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/system-config2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/config
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/system-data2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/data
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/state
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/nonce-tcp/.dirs/runtime
1039s ok 3 /gdbus/nonce-tcp
1039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/home
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/cache
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/system-config2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/config
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/system-data2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/data
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/state
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/tcp-anonymous/.dirs/runtime
1039s ok 4 /gdbus/tcp-anonymous
1039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/home
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/cache
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/system-config2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/config
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/system-data2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/data
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/state
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/credentials/.dirs/runtime
1039s ok 5 /gdbus/credentials
1039s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/home
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/cache
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/system-config2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/config
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/system-data2
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/data
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/state
1039s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/codegen-peer-to-peer/.dirs/runtime
1039s # Testing with unix:dir address
1039s # Machine ID: 01d67bdab0c44e15aa206227b4cdc3c1
1040s ok 6 /gdbus/codegen-peer-to-peer
1040s # slow test /gdbus/codegen-peer-to-peer executed in 1.11 secs
1040s # Start of peer-to-peer tests
1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/home
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/cache
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/system-config2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/config
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/system-data2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/data
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/state
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/signals/.dirs/runtime
1040s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1620
1040s # Testing with unix:dir address
1040s ok 7 /gdbus/peer-to-peer/signals
1040s # Start of invalid tests
1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/home
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/cache
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/system-config2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/config
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/system-data2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/data
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/state
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/server/.dirs/runtime
1040s ok 8 /gdbus/peer-to-peer/invalid/server
1040s # Start of conn tests
1040s # Start of stream tests
1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/home
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/cache
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-config2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/config
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/system-data2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/data
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/state
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/async/.dirs/runtime
1040s ok 9 /gdbus/peer-to-peer/invalid/conn/stream/async
1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/home
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/cache
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-config2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/config
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/system-data2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/data
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/state
1040s ok - glib/gdbus-peer.test
1040s # Running test: glib/timeout.test
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/stream/sync/.dirs/runtime
1040s ok 10 /gdbus/peer-to-peer/invalid/conn/stream/sync
1040s # End of stream tests
1040s # Start of addr tests
1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/home
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/cache
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-config2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/config
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/system-data2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/data
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/state
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/async/.dirs/runtime
1040s ok 11 /gdbus/peer-to-peer/invalid/conn/addr/async
1040s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/home
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/cache
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-config2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/config
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data1:/tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/system-data2
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/data
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/state
1040s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-peer_BZ6U52/gdbus/peer-to-peer/invalid/conn/addr/sync/.dirs/runtime
1040s ok 12 /gdbus/peer-to-peer/invalid/conn/addr/sync
1040s # End of addr tests
1040s # End of conn tests
1040s # End of invalid tests
1040s # End of peer-to-peer tests
1040s # End of gdbus tests
1040s TAP version 14
1040s # random seed: R02Sa0fff69033053f9bf87887fbcf784839
1040s 1..5
1040s # Start of timeout tests
1040s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1041s # Executing: glib/timeout.test
1042s ok 1 /timeout/seconds
1042s # slow test /timeout/seconds executed in 2.10 secs
1044s ok 2 /timeout/seconds-once
1044s # slow test /timeout/seconds-once executed in 2.10 secs
1044s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1046s ok 3 /timeout/weeks-overflow
1046s # slow test /timeout/weeks-overflow executed in 2.10 secs
1046s ok 4 /timeout/far-future-ready-time
1046s # Executing: glib/timeout.test
1052s # Executing: glib/timeout.test
1056s # Executing: glib/timeout.test
1056s ok 5 /timeout/rounding
1056s # slow test /timeout/rounding executed in 10.34 secs
1056s # End of timeout tests
1056s ok - glib/timeout.test
1056s # Running test: glib/gi-compile-repository.py.test
1057s TAP version 13
1057s ok 1 __main__.TestGICompileRepository.test_open_failure
1057s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1057s # gi-compile-repository: /usr/bin/gi-compile-repository
1057s # tmpdir: /tmp/tmpms3utq32
1057s # Running: ['/usr/bin/gi-compile-repository', 'this-is/not/a-file.gir', '--output', '/tmp/tmpms3utq32/invalid.typelib']
1057s # Return code: 1
1057s # Output:
1057s #
1057s # Error:
1057s # Error parsing file ‘this-is/not/a-file.gir’: Failed to open file “this-is/not/a-file.girâ€: No such file or directory
1057s ok 2 __main__.TestGICompileRepositoryForGLib.test_compile
1057s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1057s # gi-compile-repository: /usr/bin/gi-compile-repository
1057s # tmpdir: /tmp/tmpd7_oslri
1057s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', '/tmp/tmpd7_oslri/GLib-2.typelib']
1057s # Return code: 0
1057s # Output:
1057s #
1057s # Error:
1057s ok 3 __main__.TestGICompileRepositoryForGLib.test_write_failure
1057s # gi-compile-repository: /usr/bin/gi-compile-repository
1057s # tmpdir: /tmp/tmps_52ppw0
1057s # Running: ['/usr/bin/gi-compile-repository', '/usr/lib/s390x-linux-gnu/gir-1.0/GLib-2.0.gir', '--output', 'this-is/not/a-good-output/invalid.typelib']
1057s # Return code: 1
1057s # Output:
1057s #
1057s # Error:
1057s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1057s ok 4 __main__.TestGICompileRepositoryForGObject.test_compile
1057s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1057s # gi-compile-repository: /usr/bin/gi-compile-repository
1057s # tmpdir: /tmp/tmpo3naitld
1057s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/GObject-2.0.gir', '--output', '/tmp/tmpo3naitld/GObject-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1057s # Return code: 0
1057s # Output:
1057s #
1057s # Error:
1057s ok 5 __main__.TestGICompileRepositoryForGObject.test_write_failure
1057s # gi-compile-repository: /usr/bin/gi-compile-repository
1057s # tmpdir: /tmp/tmpybmsgzjb
1057s # 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/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1057s # Return code: 1
1057s # Output:
1057s #
1057s # Error:
1057s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1058s ok 6 __main__.TestGICompileRepositoryForGio.test_compile
1058s # gir path set to [PosixPath('/usr/lib/s390x-linux-gnu/gir-1.0'), PosixPath('/usr/share/gir-1.0')]
1058s # gi-compile-repository: /usr/bin/gi-compile-repository
1058s # tmpdir: /tmp/tmp6hhau99l
1058s # Running: ['/usr/bin/gi-compile-repository', '/usr/share/gir-1.0/Gio-2.0.gir', '--output', '/tmp/tmp6hhau99l/Gio-2.typelib', '--includedir', '/usr/lib/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1058s # Return code: 0
1058s # Output:
1058s #
1058s # Error:
1059s ok 7 __main__.TestGICompileRepositoryForGio.test_write_failure
1059s # gi-compile-repository: /usr/bin/gi-compile-repository
1059s # tmpdir: /tmp/tmpicsgt0if
1059s # 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/s390x-linux-gnu/gir-1.0', '--includedir', '/usr/share/gir-1.0']
1059s # Return code: 1
1059s # Output:
1059s #
1059s # Error:
1059s # Failed to open ‘this-is/not/a-good-output/invalid.typelib.tmp’: No such file or directory
1059s 1..7
1059s ok - glib/gi-compile-repository.py.test
1059s # Running test: glib/atomic-c-89.test
1059s TAP version 14
1059s # random seed: R02S1594b648761feda522a47e8b9ed48d7d
1059s 1..2
1059s # Start of atomic tests
1059s ok 1 /atomic/types
1059s ok - glib/atomic-c-89.test
1059s ok 2 /atomic/threaded
1059s # End of atomic tests
1059s # Running test: glib/resources.test
1059s TAP version 14
1059s # random seed: R02Sa595eea802d555031e9463823e02b286
1059s 1..19
1059s # Start of resource tests
1059s ok 1 /resource/file
1059s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1059s ok 2 /resource/file-path
1059s ok 3 /resource/data
1059s ok 4 /resource/data_unaligned
1059s ok 5 /resource/data-corrupt
1059s # /resource/data-corrupt-compression summary: Test error handling for corrupt GResource files (specifically, corrupt zlib compression).
1059s ok 6 /resource/data-corrupt-compression
1059s ok 7 /resource/data-empty
1059s ok 8 /resource/registered
1059s ok 9 /resource/manual
1059s ok - glib/resources.test
1059s # Running test: glib/gdatetime.test
1059s ok 10 /resource/manual2
1059s ok 11 /resource/automatic
1059s ok 12 /resource/module
1059s ok 13 /resource/binary-linked
1059s ok 14 /resource/64k
1059s GLib-GIO-Message: 09:41:41.775: Adding GResources overlay '/auto_loaded/test1.txt=/usr/libexec/installed-tests/glib/test1.overlay'
1059s GLib-GIO-Message: 09:41:41.775: Opened file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
1059s GLib-GIO-Message: 09:41:41.775: Mapped file '/usr/libexec/installed-tests/glib/test1.overlay' as a resource overlay
1059s ok 15 /resource/overlay
1059s ok 16 /resource/digits
1059s ok 17 /resource/has-children
1059s # Start of uri tests
1059s ok 18 /resource/uri/query-info
1059s ok 19 /resource/uri/file
1059s # End of uri tests
1059s # End of resource tests
1059s TAP version 14
1059s # random seed: R02Sc394b07a91a5959f459ea34caa6472c2
1059s 1..68
1059s # Start of GDateTime tests
1059s # Bug Reference: http://bugzilla.gnome.org/702674
1059s ok 1 /GDateTime/invalid
1059s ok 2 /GDateTime/add_days
1059s ok 3 /GDateTime/add_full
1059s ok 4 /GDateTime/add_hours
1059s ok 5 /GDateTime/add_minutes
1059s ok 6 /GDateTime/add_months
1059s ok 7 /GDateTime/add_seconds
1059s ok 8 /GDateTime/add_weeks
1059s ok 9 /GDateTime/add_years
1059s ok 10 /GDateTime/compare
1059s ok 11 /GDateTime/diff
1059s ok 12 /GDateTime/equal
1059s ok 13 /GDateTime/get_day_of_week
1059s ok 14 /GDateTime/get_day_of_month
1059s ok 15 /GDateTime/get_day_of_year
1059s ok 16 /GDateTime/get_hour
1059s ok 17 /GDateTime/get_microsecond
1059s ok 18 /GDateTime/get_minute
1059s ok 19 /GDateTime/get_month
1059s ok 20 /GDateTime/get_second
1059s ok 21 /GDateTime/get_utc_offset
1059s ok 22 /GDateTime/get_year
1059s ok 23 /GDateTime/hash
1059s ok 24 /GDateTime/new_from_unix
1059s ok 25 /GDateTime/new_from_unix_utc
1059s ok 26 /GDateTime/new_from_timeval
1059s ok 27 /GDateTime/new_from_timeval_utc
1059s ok 28 /GDateTime/new_from_iso8601
1059s ok 29 /GDateTime/new_full
1059s ok 30 /GDateTime/now
1059s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2215
1059s ok 31 /GDateTime/test-6-days-until-end-of-the-month
1059s # %a -> expected: Sat
1059s # %a -> actual: Sat
1059s # %A -> expected: Saturday
1059s # %A -> actual: Saturday
1059s # %b -> expected: Oct
1059s # %b -> actual: Oct
1059s # %B -> expected: October
1059s # %B -> actual: October
1059s # %d -> expected: 24
1059s # %d -> actual: 24
1059s # %d -> expected: 01
1059s # %d -> actual: 01
1059s # %e -> expected: 24
1059s # %e -> actual: 24
1059s # %e -> expected:  1
1059s # %e -> actual:  1
1059s # %f -> expected: 001000
1059s # %f -> actual: 001000
1059s # %h -> expected: Oct
1059s # %h -> actual: Oct
1059s # %H -> expected: 00
1059s # %H -> actual: 00
1059s # %H -> expected: 15
1059s # %H -> actual: 15
1059s # %I -> expected: 12
1059s # %I -> actual: 12
1059s # %I -> expected: 12
1059s # %I -> actual: 12
1059s # %I -> expected: 03
1059s # %I -> actual: 03
1059s # %j -> expected: 297
1059s # %j -> actual: 297
1059s # %k -> expected:  0
1059s # %k -> actual:  0
1059s # %k -> expected: 13
1059s # %k -> actual: 13
1059s # %l -> expected: 12
1059s # %l -> actual: 12
1059s # %I -> expected: 12
1059s # %I -> actual: 12
1059s # %l -> expected:  1
1059s # %l -> actual:  1
1059s # %l -> expected: 10
1059s # %l -> actual: 10
1059s # %m -> expected: 10
1059s # %m -> actual: 10
1059s # %M -> expected: 00
1059s # %M -> actual: 00
1059s # %p -> expected: AM
1059s # %p -> actual: AM
1059s # %p -> expected: PM
1059s # %p -> actual: PM
1059s # %P -> expected: am
1059s # %P -> actual: am
1059s # %P -> expected: pm
1059s # %P -> actual: pm
1059s # %r -> expected: 12:00:00 AM
1059s # %r -> actual: 12:00:00 AM
1059s # %r -> expected: 01:13:13 PM
1059s # %r -> actual: 01:13:13 PM
1059s # %R -> expected: 00:00
1059s # %R -> actual: 00:00
1059s # %R -> expected: 13:13
1059s # %R -> actual: 13:13
1059s # %S -> expected: 00
1059s # %S -> actual: 00
1059s # %t -> expected:
1059s # %t -> actual:
1059s # %u -> expected: 6
1059s # %u -> actual: 6
1059s # %x -> expected: 10/24/09
1059s # %x -> actual: 10/24/09
1059s # %X -> expected: 00:00:00
1059s # %X -> actual: 00:00:00
1059s # %X -> expected: 13:14:15
1059s # %X -> actual: 13:14:15
1059s # %y -> expected: 09
1059s # %y -> actual: 09
1059s # %Y -> expected: 2009
1059s # %Y -> actual: 2009
1059s # %% -> expected: %
1059s # %% -> actual: %
1059s # % -> expected:
1059s # % -> actual:
1059s # %9 -> expected: (null)
1059s # %9 -> actual: (null)
1059s # %Z -> expected: UTC
1059s # %Z -> actual: UTC
1059s # %#Z %Z -> expected: utc UTC
1059s # %#Z %Z -> actual: utc UTC
1059s ok 32 /GDateTime/printf
1059s # %a -> expected: ÅÚ
1059s # %a -> actual: ÅÚ
1059s # %A -> expected: ÅÚÍËÆü
1059s # %A -> actual: ÅÚÍËÆü
1059s # %b -> expected: 10·î
1059s # %b -> actual: 10·î
1059s # %B -> expected: 10·î
1059s # %B -> actual: 10·î
1059s # %c -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1059s # %c -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1059s # %C -> expected: 20
1059s # %C -> actual: 20
1059s # %d -> expected: 24
1059s # %d -> actual: 24
1059s # %d -> expected: 01
1059s # %d -> actual: 01
1059s # %e -> expected: 24
1059s # %e -> actual: 24
1059s # %h -> expected: 10·î
1059s # %h -> actual: 10·î
1059s # %H -> expected: 00
1059s # %H -> actual: 00
1059s # %H -> expected: 15
1059s # %H -> actual: 15
1059s # %I -> expected: 12
1059s # %I -> actual: 12
1059s # %I -> expected: 12
1059s # %I -> actual: 12
1059s # %I -> expected: 03
1059s # %I -> actual: 03
1059s # %j -> expected: 297
1059s # %j -> actual: 297
1059s # %k -> expected: ?0
1059s # %k -> actual: ?0
1059s # %k -> expected: 13
1059s # %k -> actual: 13
1059s # %l -> expected: 12
1059s # %l -> actual: 12
1059s # %I -> expected: 12
1059s # %I -> actual: 12
1059s # %l -> expected: ?1
1059s # %l -> actual: ?1
1059s # %l -> expected: 10
1059s # %l -> actual: 10
1059s # %m -> expected: 10
1059s # %m -> actual: 10
1059s # %M -> expected: 00
1059s # %M -> actual: 00
1059s # %p -> expected: ¸áÁ°
1059s # %p -> actual: ¸áÁ°
1059s # %p -> expected: ¸á¸å
1059s # %p -> actual: ¸á¸å
1059s # %P -> expected: ¸áÁ°
1059s # %P -> actual: ¸áÁ°
1059s # %P -> expected: ¸á¸å
1059s # %P -> actual: ¸á¸å
1059s # %r -> expected: ¸áÁ°12»þ00ʬ00ÉÃ
1059s # %r -> actual: ¸áÁ°12»þ00ʬ00ÉÃ
1059s # %r -> expected: ¸á¸å01»þ13ʬ13ÉÃ
1059s # %r -> actual: ¸á¸å01»þ13ʬ13ÉÃ
1059s # %R -> expected: 00:00
1059s # %R -> actual: 00:00
1059s # %R -> expected: 13:13
1059s # %R -> actual: 13:13
1059s # %S -> expected: 00
1059s # %S -> actual: 00
1059s # %t -> expected:
1059s # %t -> actual:
1059s # %u -> expected: 6
1059s # %u -> actual: 6
1059s # %x -> expected: 2009ǯ10·î24Æü
1059s # %x -> actual: 2009ǯ10·î24Æü
1059s # %X -> expected: 00»þ00ʬ00ÉÃ
1059s # %X -> actual: 00»þ00ʬ00ÉÃ
1059s # %X -> expected: 13»þ14ʬ15ÉÃ
1059s # %X -> actual: 13»þ14ʬ15ÉÃ
1059s # %y -> expected: 09
1059s # %y -> actual: 09
1059s # %Y -> expected: 2009
1059s # %Y -> actual: 2009
1059s # %% -> expected: %
1059s # %% -> actual: %
1059s # % -> expected:
1059s # % -> actual:
1059s # %9 -> expected: (null)
1059s # %9 -> actual: (null)
1059s # %Ec -> expected: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1059s # %Ec -> actual: 2009ǯ10·î24Æü 00»þ00ʬ00ÉÃ
1059s # %EC -> expected: 20
1059s # %EC -> actual: 20
1059s # %Ex -> expected: 2009ǯ10·î24Æü
1059s # %Ex -> actual: 2009ǯ10·î24Æü
1059s # %EX -> expected: 00»þ00ʬ00ÉÃ
1059s # %EX -> actual: 00»þ00ʬ00ÉÃ
1059s # %Ey -> expected: 09
1059s # %Ey -> actual: 09
1059s # %EY -> expected: 2009
1059s # %EY -> actual: 2009
1059s ok 33 /GDateTime/non_utf8_printf
1059s # ???? -> expected: ????
1059s # ???? -> actual: ????
1059s # %H?%M -> expected: 23?15
1059s # %H?%M -> actual: 23?15
1059s # %H?%M -> expected: 23?15
1059s # %H?%M -> actual: 23?15
1059s ok 34 /GDateTime/format_unrepresentable
1059s ok 35 /GDateTime/format_iso8601
1060s ok 36 /GDateTime/strftime
1060s # %d -> expected: 01
1060s # %d -> actual: 01
1060s # %_d -> expected: 1
1060s # %_d -> actual: 1
1060s # %-d -> expected: 1
1060s # %-d -> actual: 1
1060s # %0d -> expected: 01
1060s # %0d -> actual: 01
1060s # %d -> expected: 21
1060s # %d -> actual: 21
1060s # %_d -> expected: 21
1060s # %_d -> actual: 21
1060s # %-d -> expected: 21
1060s # %-d -> actual: 21
1060s # %0d -> expected: 21
1060s # %0d -> actual: 21
1060s # %e -> expected:  1
1060s # %e -> actual:  1
1060s # %_e -> expected: 1
1060s # %_e -> actual: 1
1060s # %-e -> expected: 1
1060s # %-e -> actual: 1
1060s # %0e -> expected: 01
1060s # %0e -> actual: 01
1060s # %e -> expected: 21
1060s # %e -> actual: 21
1060s # %_e -> expected: 21
1060s # %_e -> actual: 21
1060s # %-e -> expected: 21
1060s # %-e -> actual: 21
1060s # %0e -> expected: 21
1060s # %0e -> actual: 21
1060s # %a -> expected: Thu
1060s # %a -> actual: Thu
1060s # %^a -> expected: THU
1060s # %^a -> actual: THU
1060s # %#a -> expected: THU
1060s # %#a -> actual: THU
1060s # %A -> expected: Thursday
1060s # %A -> actual: Thursday
1060s # %^A -> expected: THURSDAY
1060s # %^A -> actual: THURSDAY
1060s # %#A -> expected: THURSDAY
1060s # %#A -> actual: THURSDAY
1060s # %b -> expected: Jan
1060s # %b -> actual: Jan
1060s # %^b -> expected: JAN
1060s # %^b -> actual: JAN
1060s # %#b -> expected: JAN
1060s # %#b -> actual: JAN
1060s # %B -> expected: January
1060s # %B -> actual: January
1060s # %^B -> expected: JANUARY
1060s # %^B -> actual: JANUARY
1060s # %#B -> expected: JANUARY
1060s # %#B -> actual: JANUARY
1060s # %h -> expected: Jan
1060s # %h -> actual: Jan
1060s # %^h -> expected: JAN
1060s # %^h -> actual: JAN
1060s # %#h -> expected: JAN
1060s # %#h -> actual: JAN
1060s # %Z -> expected: UTC
1060s # %Z -> actual: UTC
1060s # %^Z -> expected: UTC
1060s # %^Z -> actual: UTC
1060s # %#Z -> expected: utc
1060s # %#Z -> actual: utc
1060s # %H -> expected: 01
1060s # %H -> actual: 01
1060s # %_H -> expected: 1
1060s # %_H -> actual: 1
1060s # %-H -> expected: 1
1060s # %-H -> actual: 1
1060s # %0H -> expected: 01
1060s # %0H -> actual: 01
1060s # %H -> expected: 21
1060s # %H -> actual: 21
1060s # %_H -> expected: 21
1060s # %_H -> actual: 21
1060s # %-H -> expected: 21
1060s # %-H -> actual: 21
1060s # %0H -> expected: 21
1060s # %0H -> actual: 21
1060s # %I -> expected: 01
1060s # %I -> actual: 01
1060s # %_I -> expected: 1
1060s # %_I -> actual: 1
1060s # %-I -> expected: 1
1060s # %-I -> actual: 1
1060s # %0I -> expected: 01
1060s # %0I -> actual: 01
1060s # %I -> expected: 11
1060s # %I -> actual: 11
1060s # %_I -> expected: 11
1060s # %_I -> actual: 11
1060s # %-I -> expected: 11
1060s # %-I -> actual: 11
1060s # %0I -> expected: 11
1060s # %0I -> actual: 11
1060s # %k -> expected:  1
1060s # %k -> actual:  1
1060s # %_k -> expected: 1
1060s # %_k -> actual: 1
1060s # %-k -> expected: 1
1060s # %-k -> actual: 1
1060s # %0k -> expected: 01
1060s # %0k -> actual: 01
1060s # %l -> expected:  1
1060s # %l -> actual:  1
1060s # %_l -> expected: 1
1060s # %_l -> actual: 1
1060s # %-l -> expected: 1
1060s # %-l -> actual: 1
1060s # %0l -> expected: 01
1060s # %0l -> actual: 01
1060s # %l -> expected: 11
1060s # %l -> actual: 11
1060s # %_l -> expected: 11
1060s # %_l -> actual: 11
1060s # %-l -> expected: 11
1060s # %-l -> actual: 11
1060s # %0l -> expected: 11
1060s # %0l -> actual: 11
1060s # %p -> expected: AM
1060s # %p -> actual: AM
1060s # %^p -> expected: AM
1060s # %^p -> actual: AM
1060s # %#p -> expected: am
1060s # %#p -> actual: am
1060s # %P -> expected: am
1060s # %P -> actual: am
1060s # %^P -> expected: AM
1060s # %^P -> actual: AM
1060s # %#P -> expected: am
1060s # %#P -> actual: am
1060s # %OH -> expected: Û²Û³
1060s # %OH -> actual: Û²Û³
1060s # %OI -> expected: Û±Û±
1060s # %OI -> actual: Û±Û±
1060s # %OM -> expected: Û°Û°
1060s # %OM -> actual: Û°Û°
1060s # %Om -> expected: Û°Û·
1060s # %Om -> actual: Û°Û·
1060s # %0Om -> expected: Û°Û·
1060s # %0Om -> actual: Û°Û·
1060s # %-Om -> expected: Û·
1060s # %-Om -> actual: Û·
1060s # %_Om -> expected: Û·
1060s # %_Om -> actual: Û·
1060s # %c -> expected: thu 01 jan 2009 00:00:00 utc
1060s # %c -> actual: Thu 01 Jan 2009 00:00:00 UTC
1060s # %Ec -> expected: thu 01 jan 2009 00:00:00 utc
1060s # %Ec -> actual: Thu 01 Jan 2009 00:00:00 UTC
1060s # %C -> expected: 20
1060s # %C -> actual: 20
1060s # %EC -> expected: 20
1060s # %EC -> actual: 20
1060s # %x -> expected: 02/01/09
1060s # %x -> actual: 02/01/09
1060s # %Ex -> expected: 02/01/09
1060s # %Ex -> actual: 02/01/09
1060s # %X -> expected: 01:02:03
1060s # %X -> actual: 01:02:03
1060s # %EX -> expected: 01:02:03
1060s # %EX -> actual: 01:02:03
1060s # %y -> expected: 09
1060s # %y -> actual: 09
1060s # %Ey -> expected: 09
1060s # %Ey -> actual: 09
1060s # %Y -> expected: 2009
1060s # %Y -> actual: 2009
1060s # %EY -> expected: 2009
1060s # %EY -> actual: 2009
1060s ok 37 /GDateTime/modifiers # SKIP locale gu_IN not available, skipping O modifier tests
1060s # Bug Reference: http://bugzilla.gnome.org/749206
1060s # %B -> expected: January
1060s # %B -> actual: January
1060s # %OB -> expected: February
1060s # %OB -> actual: February
1060s # %b -> expected: Mar
1060s # %b -> actual: Mar
1060s # %Ob -> expected: Apr
1060s # %Ob -> actual: Apr
1060s # %h -> expected: May
1060s # %h -> actual: May
1060s # %Oh -> expected: Jun
1060s # %Oh -> actual: Jun
1060s # %B -> expected: Juli
1060s # %B -> actual: Juli
1060s # %OB -> expected: August
1060s # %OB -> actual: August
1060s # %b -> expected: Sep
1060s # %b -> actual: Sep
1060s # %Ob -> expected: Okt
1060s # %Ob -> actual: Okt
1060s # %h -> expected: Nov
1060s # %h -> actual: Nov
1060s # %Oh -> expected: Dez
1060s # %Oh -> actual: Dez
1060s # %B -> expected: enero
1060s # %B -> actual: enero
1060s # %OB -> expected: febrero
1060s # %OB -> actual: febrero
1060s # %b -> expected: mar
1060s # %b -> actual: mar
1060s # %Ob -> expected: abr
1060s # %Ob -> actual: abr
1060s # %h -> expected: may
1060s # %h -> actual: may
1060s # %Oh -> expected: jun
1060s # %Oh -> actual: jun
1060s # %B -> expected: juillet
1060s # %B -> actual: juillet
1060s # %OB -> expected: août
1060s # %OB -> actual: août
1060s # %b -> expected: sept.
1060s # %b -> actual: sept.
1060s # %Ob -> expected: oct.
1060s # %Ob -> actual: oct.
1060s # %h -> expected: nov.
1060s # %h -> actual: nov.
1060s # %Oh -> expected: déc.
1060s # %Oh -> actual: déc.
1060s # %B -> expected: ΙανουαÏίου
1060s # %B -> actual: ΙανουαÏίου
1060s # %B -> expected: ΦεβÏουαÏίου
1060s # %B -> actual: ΦεβÏουαÏίου
1060s # %B -> expected: ΜαÏτίου
1060s # %B -> actual: ΜαÏτίου
1060s # %OB -> expected: ΑπÏίλιος
1060s # %OB -> actual: ΑπÏίλιος
1060s # %OB -> expected: Μάιος
1060s # %OB -> actual: Μάιος
1060s # %OB -> expected: ΙοÏνιος
1060s # %OB -> actual: ΙοÏνιος
1060s # %b -> expected: Ιουλ
1060s # %b -> actual: Ιουλ
1060s # %Ob -> expected: ΑÏγ
1060s # %Ob -> actual: ΑÏγ
1060s # %B -> expected: svibnja
1060s # %B -> actual: svibnja
1060s # %B -> expected: lipnja
1060s # %B -> actual: lipnja
1060s # %B -> expected: srpnja
1060s # %B -> actual: srpnja
1060s # %OB -> expected: Kolovoz
1060s # %OB -> actual: kolovoz
1060s # %OB -> expected: Rujan
1060s # %OB -> actual: rujan
1060s # %OB -> expected: Listopad
1060s # %OB -> actual: listopad
1060s # %b -> expected: Stu
1060s # %b -> actual: stu
1060s # %Ob -> expected: Pro
1060s # %Ob -> actual: pro
1060s # %B -> expected: sausio
1060s # %B -> actual: sausio
1060s # %B -> expected: vasario
1060s # %B -> actual: vasario
1060s # %B -> expected: kovo
1060s # %B -> actual: kovo
1060s # %OB -> expected: balandis
1060s # %OB -> actual: balandis
1060s # %OB -> expected: gegužė
1060s # %OB -> actual: gegužė
1060s # %OB -> expected: birželis
1060s # %OB -> actual: birželis
1060s # %b -> expected: liep.
1060s # %b -> actual: liep.
1060s # %Ob -> expected: rugp.
1060s # %Ob -> actual: rugp.
1060s # %B -> expected: maja
1060s # %B -> actual: maja
1060s # %B -> expected: czerwca
1060s # %B -> actual: czerwca
1060s # %B -> expected: lipca
1060s # %B -> actual: lipca
1060s # %OB -> expected: sierpień
1060s # %OB -> actual: sierpień
1060s # %OB -> expected: wrzesień
1060s # %OB -> actual: wrzesień
1060s # %OB -> expected: październik
1060s # %OB -> actual: październik
1060s # %b -> expected: lis
1060s # %b -> actual: lis
1060s # %Ob -> expected: gru
1060s # %Ob -> actual: gru
1060s # %B -> expected: ÑнварÑ
1060s # %B -> actual: ÑнварÑ
1060s # %B -> expected: февралÑ
1060s # %B -> actual: февралÑ
1060s # %B -> expected: марта
1060s # %B -> actual: марта
1060s # %OB -> expected: Ðпрель
1060s # %OB -> actual: Ðпрель
1060s # %OB -> expected: Май
1060s # %OB -> actual: Май
1060s # %OB -> expected: Июнь
1060s # %OB -> actual: Июнь
1060s # %b -> expected: июл
1060s # %b -> actual: июл
1060s # %Ob -> expected: авг
1060s # %Ob -> actual: авг
1060s # %b -> expected: маÑ
1060s # %b -> actual: маÑ
1060s # %Ob -> expected: май
1060s # %Ob -> actual: май
1060s ok 38 /GDateTime/month_names
1060s ok 39 /GDateTime/to_local
1060s ok 40 /GDateTime/to_unix
1060s ok 41 /GDateTime/to_timeval
1060s ok 42 /GDateTime/to_utc
1060s ok 43 /GDateTime/now_utc
1060s ok 44 /GDateTime/dst
1060s # Bug Reference: http://bugzilla.gnome.org/642935
1060s ok 45 /GDateTime/test_z
1061s ok 46 /GDateTime/test-all-dates
1061s # slow test /GDateTime/test-all-dates executed in 1.60 secs
1061s ok 47 /GDateTime/unix_usec
1061s # Start of new_from_unix tests
1061s # Bug Reference: http://bugzilla.gnome.org/782089
1061s ok 48 /GDateTime/new_from_unix/overflow
1061s # End of new_from_unix tests
1061s # Start of new_from_timeval tests
1061s # Bug Reference: http://bugzilla.gnome.org/782089
1061s # Maximum supported GTimeVal.tv_sec = 253402300799
1061s ok 49 /GDateTime/new_from_timeval/overflow
1061s # End of new_from_timeval tests
1061s # Start of new_from_iso8601 tests
1061s # /GDateTime/new_from_iso8601/2 summary: Further parser tests for g_date_time_new_from_iso8601(), checking success and failure using test vectors.
1061s # Vector 0: 1990-11-01T10:21:17Z
1061s # Vector 1: 19901101T102117Z
1061s # Vector 2: 1970-01-01T00:00:17.12Z
1061s # Vector 3: 1970-01-01T00:00:17.1234Z
1061s # Vector 4: 1970-01-01T00:00:17.123456Z
1061s # Vector 5: 1980-02-22T12:36:00+02:00
1061s # Vector 6: 1990-12-31T15:59:60-08:00
1061s # Vector 7:
1061s # Vector 8: x
1061s # Vector 9: 123x
1061s # Vector 10: 2001-10+x
1061s # Vector 11: 1980-02-22T
1061s # Vector 12: 2001-10-08Tx
1061s # Vector 13: 2001-10-08T10:11x
1061s # Vector 14: Wed Dec 19 17:20:20 GMT 2007
1061s # Vector 15: 1980-02-22T10:36:00Zulu
1061s # Vector 16: 2T0+819855292164632335
1061s # Vector 17: 2018-08-03T14:08:05.446178377+01:00
1061s # Vector 18: 2147483648-08-03T14:08:05.446178377+01:00
1061s # Vector 19: 2018-13-03T14:08:05.446178377+01:00
1061s # Vector 20: 2018-00-03T14:08:05.446178377+01:00
1061s # Vector 21: 2018-08-00T14:08:05.446178377+01:00
1061s # Vector 22: 2018-08-32T14:08:05.446178377+01:00
1061s # Vector 23: 2018-08-03T24:08:05.446178377+01:00
1061s # Vector 24: 2018-08-03T14:60:05.446178377+01:00
1061s # Vector 25: 2018-08-03T14:08:63.446178377+01:00
1061s # Vector 26: 2018-08-03T14:08:05.446178377+100:00
1061s # Vector 27: 20180803T140805.446178377+0100
1061s # Vector 28: 21474836480803T140805.446178377+0100
1061s # Vector 29: 20181303T140805.446178377+0100
1061s # Vector 30: 20180003T140805.446178377+0100
1061s # Vector 31: 20180800T140805.446178377+0100
1061s # Vector 32: 20180832T140805.446178377+0100
1061s # Vector 33: 20180803T240805.446178377+0100
1061s # Vector 34: 20180803T146005.446178377+0100
1061s # Vector 35: 20180803T140863.446178377+0100
1061s # Vector 36: 20180803T140805.446178377+10000
1061s # Vector 37: -0005-01-01T00:00:00Z
1061s # Vector 38: 2018-08-06
1061s # Vector 39: 20180803T140805,446178377+0100
1061s # Vector 40: 2018-08-03T14:08:05.446178377-01:00
1061s # Vector 41: 2018-08-03T14:08:05.446178377 01:00
1061s # Vector 42: 1990-11-01T10:21:17
1061s # Vector 43: 1719W462 407777-07
1061s # Vector 44: 4011090 260528Z
1061s # Vector 45: 0000W011 228214-22
1061s ok 50 /GDateTime/new_from_iso8601/2
1061s # End of new_from_iso8601 tests
1061s # Start of format_mixed tests
1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1061s # %b -> expected: mar
1061s # %b -> actual: Mar
1061s # %B -> expected: march
1061s # %B -> actual: March
1061s ok 51 /GDateTime/format_mixed/utf8_time_non_utf8_messages
1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1061s # %b -> expected: mar
1061s # %b -> actual: Mar
1061s # %B -> expected: march
1061s # %B -> actual: March
1061s ok 52 /GDateTime/format_mixed/utf8_time_utf8_messages
1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1061s # %b -> expected: Mär
1061s # %b -> actual: Mär
1061s # %B -> expected: März
1061s # %B -> actual: März
1061s ok 53 /GDateTime/format_mixed/non_utf8_time_non_utf8_messages
1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2055
1061s # %b -> expected: Mär
1061s # %b -> actual: Mär
1061s # %B -> expected: März
1061s # %B -> actual: März
1061s ok 54 /GDateTime/format_mixed/non_utf8_time_utf8_messages
1061s # End of format_mixed tests
1061s # Start of strftime tests
1061s # %r -> expected: (null)
1061s # %r -> actual: (null)
1061s ok 55 /GDateTime/strftime/error_handling
1061s # End of strftime tests
1061s # Start of eras tests
1061s ok 56 /GDateTime/eras/japan # SKIP nl_langinfo(ERA) not supported, skipping era tests
1061s ok 57 /GDateTime/eras/thailand # SKIP nl_langinfo(ERA) not supported, skipping era tests
1061s # Vector 0:
1061s # Vector 1: +:1:-543/01/01:+*:พ.ศ.:%EC %Ey
1061s # 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å¹´
1061s # Vector 3: -:2:2020/01/01:-*:令和:%EC%Ey年
1061s # Vector 4: +:2:2020/01/01:2020/01/01:令和:%EC%Ey年
1061s # Vector 5: +:2:+2020/01/01:+*:令和:%EC%Ey年
1061s # Vector 6: .:2:2020/01/01:+*:令和:%EC%Ey年
1061s # Vector 7: +.2:2020/01/01:+*:令和:%EC%Ey年
1061s # Vector 8: +
1061s # Vector 9: +:
1061s # Vector 10: +::
1061s # Vector 11: +:200
1061s # Vector 12: +:2nonsense
1061s # Vector 13: +:2nonsense:
1061s # Vector 14: +:2:
1061s # Vector 15: +:2::
1061s # Vector 16: +:2:2020-01/01:+*:令和:%EC%Ey年
1061s # Vector 17: +:2:2020nonsense/01/01:+*:令和:%EC%Ey年
1061s # Vector 18: +:2:2020:+*:令和:%EC%Ey年
1061s # Vector 19: +:2:18446744073709551615/01/01:+*:令和:%EC%Ey年
1061s # Vector 20: +:2:2020/01-01:+*:令和:%EC%Ey年
1061s # Vector 21: +:2:2020/01nonsense/01:+*:令和:%EC%Ey年
1061s # Vector 22: +:2:2020/01:+*:令和:%EC%Ey年
1061s # Vector 23: +:2:2020/00/01:+*:令和:%EC%Ey年
1061s # Vector 24: +:2:2020/13/01:+*:令和:%EC%Ey年
1061s # Vector 25: +:2:2020/01/00:+*:令和:%EC%Ey年
1061s # Vector 26: +:2:2020/01/32:+*:令和:%EC%Ey年
1061s # Vector 27: +:2:2020/01/01nonsense:+*:令和:%EC%Ey年
1061s # Vector 28: +:2:2020/01/01
1061s # Vector 29: +:2:2020/01/01:
1061s # Vector 30: +:2:2020/01/01::
1061s # Vector 31: +:2:2020/01/01:2021-01-01:令和:%EC%Ey年
1061s # Vector 32: +:2:2020/01/01:+*
1061s # Vector 33: +:2:2020/01/01:+*:
1061s # Vector 34: +:2:2020/01/01:+*::
1061s # Vector 35: +:2:2020/01/01:+*:令和
1061s # Vector 36: +:2:2020/01/01:+*:令和:
1061s # Vector 37: +:2:2020/01/01:+*:令和:;
1061s ok 58 /GDateTime/eras/parsing
1061s # End of eras tests
1061s # End of GDateTime tests
1061s # Start of GTimeZone tests
1061s ok 59 /GTimeZone/find-interval
1061s ok 60 /GTimeZone/adjust-time
1061s ok 61 /GTimeZone/no-header
1061s ok 62 /GTimeZone/no-header-identifier
1061s ok 63 /GTimeZone/posix-parse
1061s # Bug Reference: http://bugzilla.gnome.org/697715
1061s ok 64 /GTimeZone/floating-point
1061s # System time zone identifier: Etc/UTC
1061s ok 65 /GTimeZone/identifier
1061s ok - glib/gdatetime.test
1061s # Running test: glib/1bit-mutex.test
1061s # Vector 0: -158400
1061s # Vector 1: -10000
1061s # Vector 2: -3600
1061s # Vector 3: -61
1061s # Vector 4: -60
1061s # Vector 5: -59
1061s # Vector 6: 0
1061s # Vector 7: 59
1061s # Vector 8: 60
1061s # Vector 9: 61
1061s # Vector 10: 3600
1061s # Vector 11: 10000
1061s # Vector 12: 158400
1061s ok 66 /GTimeZone/new-offset
1061s # /GTimeZone/parse-rfc8536 summary: Test parsing time zone files in RFC 8536 version 3 format
1061s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2129
1061s ok 67 /GTimeZone/parse-rfc8536
1061s # /GTimeZone/caching summary: GTimeZone instances are cached
1061s ok 68 /GTimeZone/caching
1061s # End of GTimeZone tests
1061s TAP version 14
1061s # random seed: R02S2c65c649bdcb5080d534ed2f5adc1ed4
1061s 1..2
1061s # Start of glib tests
1061s # Start of 1bit-mutex tests
1061s # Executing: glib/1bit-mutex.test
1064s ok 1 /glib/1bit-mutex/int
1064s # slow test /glib/1bit-mutex/int executed in 3.12 secs
1066s # Executing: glib/1bit-mutex.test
1068s ok 2 /glib/1bit-mutex/pointer
1068s # slow test /glib/1bit-mutex/pointer executed in 3.64 secs
1068s # End of 1bit-mutex tests
1068s # End of glib tests
1068s ok - glib/1bit-mutex.test
1068s # Running test: glib/tls-interaction.test
1068s TAP version 14
1068s # random seed: R02Sa50789605947ffbbd93fd8ff25ee6d4b
1068s 1..42
1068s # Start of tls-interaction tests
1068s # Start of ask-password tests
1068s # Start of invoke-with-loop tests
1068s ok - glib/tls-interaction.test
1068s # Running test: glib/cxx-11.test
1068s ok - glib/cxx-11.test
1068s # Running test: glib/sort.test
1068s ok - glib/sort.test
1068s # Running test: glib/threadtests.test
1068s ok 1 /tls-interaction/ask-password/invoke-with-loop/unhandled-implementation
1068s ok 2 /tls-interaction/ask-password/invoke-with-loop/async-implementation-success
1068s ok 3 /tls-interaction/ask-password/invoke-with-loop/async-implementation-failure
1068s ok 4 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-success
1068s ok 5 /tls-interaction/ask-password/invoke-with-loop/sync-implementation-failure
1068s # End of invoke-with-loop tests
1068s # Start of invoke-without-loop tests
1068s ok 6 /tls-interaction/ask-password/invoke-without-loop/unhandled-implementation
1068s ok 7 /tls-interaction/ask-password/invoke-without-loop/async-implementation-success
1068s ok 8 /tls-interaction/ask-password/invoke-without-loop/async-implementation-failure
1068s ok 9 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-success
1068s ok 10 /tls-interaction/ask-password/invoke-without-loop/sync-implementation-failure
1068s # End of invoke-without-loop tests
1068s # Start of invoke-in-loop tests
1068s ok 11 /tls-interaction/ask-password/invoke-in-loop/unhandled-implementation
1068s ok 12 /tls-interaction/ask-password/invoke-in-loop/async-implementation-success
1068s ok 13 /tls-interaction/ask-password/invoke-in-loop/async-implementation-failure
1068s ok 14 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-success
1068s ok 15 /tls-interaction/ask-password/invoke-in-loop/sync-implementation-failure
1068s # End of invoke-in-loop tests
1068s # Start of sync tests
1068s ok 16 /tls-interaction/ask-password/sync/unhandled-implementation
1068s ok 17 /tls-interaction/ask-password/sync/sync-implementation-success
1068s ok 18 /tls-interaction/ask-password/sync/sync-implementation-failure
1068s # End of sync tests
1068s # Start of async tests
1068s ok 19 /tls-interaction/ask-password/async/unhandled-implementation
1068s ok 20 /tls-interaction/ask-password/async/async-implementation-success
1068s ok 21 /tls-interaction/ask-password/async/async-implementation-failure
1068s # End of async tests
1068s # End of ask-password tests
1068s # Start of request-certificate tests
1068s # Start of invoke-with-loop tests
1068s ok 22 /tls-interaction/request-certificate/invoke-with-loop/unhandled-implementation
1068s ok 23 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-success
1068s ok 24 /tls-interaction/request-certificate/invoke-with-loop/async-implementation-failure
1068s ok 25 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-success
1068s ok 26 /tls-interaction/request-certificate/invoke-with-loop/sync-implementation-failure
1068s # End of invoke-with-loop tests
1068s # Start of invoke-without-loop tests
1068s ok 27 /tls-interaction/request-certificate/invoke-without-loop/unhandled-implementation
1068s ok 28 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-success
1068s ok 29 /tls-interaction/request-certificate/invoke-without-loop/async-implementation-failure
1068s ok 30 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-success
1068s ok 31 /tls-interaction/request-certificate/invoke-without-loop/sync-implementation-failure
1068s # End of invoke-without-loop tests
1068s # Start of invoke-in-loop tests
1068s ok 32 /tls-interaction/request-certificate/invoke-in-loop/unhandled-implementation
1068s ok 33 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-success
1068s ok 34 /tls-interaction/request-certificate/invoke-in-loop/async-implementation-failure
1068s ok 35 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-success
1068s ok 36 /tls-interaction/request-certificate/invoke-in-loop/sync-implementation-failure
1068s # End of invoke-in-loop tests
1068s # Start of sync tests
1068s ok 37 /tls-interaction/request-certificate/sync/unhandled-implementation
1068s ok 38 /tls-interaction/request-certificate/sync/sync-implementation-success
1068s ok 39 /tls-interaction/request-certificate/sync/sync-implementation-failure
1068s # End of sync tests
1068s # Start of async tests
1068s ok 40 /tls-interaction/request-certificate/async/unhandled-implementation
1068s ok 41 /tls-interaction/request-certificate/async/async-implementation-success
1068s ok 42 /tls-interaction/request-certificate/async/async-implementation-failure
1068s # End of async tests
1068s # End of request-certificate tests
1068s # End of tls-interaction tests
1068s TAP version 14
1068s # random seed: R02Sdec1aacd977f68302babe1f3231e15c7
1068s 1..2
1068s # Start of gtask tests
1068s # 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.
1068s ok 1 /gtask/name
1068s # Start of name tests
1068s # 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.
1068s ok 2 /gtask/name/macro-wrapper
1068s # End of name tests
1068s # End of gtask tests
1068s TAP version 14
1068s # random seed: R02S1d4ac7d04c311e7432fedaca19c9c889
1068s 1..5
1068s # Start of sort tests
1068s ok 1 /sort/basic
1068s ok 2 /sort/zero-elements
1068s ok 3 /sort/stable
1068s ok 4 /sort/big
1068s ok 5 /sort/deprecated
1068s # End of sort tests
1068s TAP version 14
1068s # random seed: R02S0cd1b70e26c614e7d227715dc2b07f46
1068s 1..5
1068s # Start of GObject tests
1068s ok 1 /GObject/threaded-object-init
1069s ok 2 /GObject/threaded-weak-ref
1069s # slow test /GObject/threaded-weak-ref executed in 0.88 secs
1069s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
1069s # /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
1069s ok 3 /GObject/threaded-toggle-notify
1069s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
1069s # Start of threaded-weak-ref tests
1069s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1069s # /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.
1069s ok - glib/threadtests.test
1069s ok 5 /GObject/threaded-weak-ref/on-finalization
1069s # End of threaded-weak-ref tests
1069s # End of GObject tests
1069s # Running test: glib/tls-bindings.test
1069s TAP version 14
1069s # random seed: R02S6ede269be78c7bcc4e635ab87d752656
1069s 1..2
1069s # Start of tls-connection tests
1069s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation test (GTestTlsBackend) for ?gio-tls-backend?
1069s ok 1 /tls-connection/get-tls-channel-binding
1069s ok 2 /tls-connection/get-dtls-channel-binding
1069s ok - glib/tls-bindings.test
1069s # Running test: glib/socket-address.test
1069s ok - glib/socket-address.test
1069s # Running test: glib/macros-c-99.test
1069s ok - glib/macros-c-99.test
1069s # Running test: glib/gdbus-auth.test
1069s # End of tls-connection tests
1069s TAP version 14
1069s # random seed: R02Sa9030e1bf97c4d4859f84ec18396d794
1069s 1..2
1069s # Start of socket tests
1069s # Start of address tests
1069s # Start of unix tests
1069s ok 1 /socket/address/unix/construct
1069s ok 2 /socket/address/unix/to-string
1069s # End of unix tests
1069s # End of address tests
1069s # End of socket tests
1069s TAP version 14
1069s # random seed: R02S8ff3a33a58745e874daa9534282b3909
1069s 1..4
1069s # Start of C tests
1069s ok 1 /C/standard-99
1069s # End of C tests
1069s # Start of alignof tests
1069s ok 2 /alignof/fallback
1069s # End of alignof tests
1069s # Start of assert tests
1069s ok 3 /assert/static
1069s # End of assert tests
1069s # Start of struct tests
1069s ok 4 /struct/sizeof_member
1069s # End of struct tests
1069s TAP version 14
1069s # random seed: R02S655b6bb4f442db496a80c78f3ee7a255
1069s 1..5
1069s # Start of gdbus tests
1069s # Start of auth tests
1069s # Start of client tests
1069s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/home
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/cache
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/system-config2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/config
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/system-data2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/data
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/state
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/EXTERNAL/.dirs/runtime
1069s ok 1 /gdbus/auth/client/EXTERNAL
1069s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/home
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/cache
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-config2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/config
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/system-data2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/data
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/state
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3K2752/gdbus/auth/client/DBUS_COOKIE_SHA1/.dirs/runtime
1069s ok 2 /gdbus/auth/client/DBUS_COOKIE_SHA1
1069s # End of client tests
1069s # Start of server tests
1069s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/home
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/cache
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/system-config1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/system-config2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/config
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/system-data1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/system-data2
1069s ok - glib/gdbus-auth.test
1069s # Running test: glib/mkenums.py.test
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/data
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/state
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/ANONYMOUS/.dirs/runtime
1069s ok 3 /gdbus/auth/server/ANONYMOUS
1069s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/home
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/cache
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/system-config1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/system-config2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/config
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/system-data1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/system-data2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/data
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/state
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/EXTERNAL/.dirs/runtime
1069s ok 4 /gdbus/auth/server/EXTERNAL
1069s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/home
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/cache
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-config2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/config
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data1:/tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/system-data2
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/data
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/state
1069s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-auth_3K2752/gdbus/auth/server/DBUS_COOKIE_SHA1/.dirs/runtime
1069s ok 5 /gdbus/auth/server/DBUS_COOKIE_SHA1
1069s # End of server tests
1069s # End of auth tests
1069s # End of gdbus tests
1069s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1069s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1069s TAP version 13
1069s ok 1 __main__.TestMkenums.test_available_in
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmp8_v_aip6
1069s # rspfile: False
1069s # /tmp/tmp8_v_aip6/tmpydai6a2g.h:
1069s # typedef enum {
1069s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
1069s # } GDBusServerFlags;
1069s #
1069s # /tmp/tmp8_v_aip6/tmpu9109m2_.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp8_v_aip6/tmpu9109m2_.template', '/tmp/tmp8_v_aip6/tmpydai6a2g.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-production
1069s # filename: /tmp/tmp8_v_aip6/tmpydai6a2g.h
1069s # basename: tmpydai6a2g.h
1069s # enumeration-production
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-header
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-production
1069s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1069s # valuenick: user
1069s # valuenum: 4
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-tail
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1069s ok 2 __main__.TestMkenums.test_comma_in_enum_value
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmpt7i7q_cp
1069s # rspfile: False
1069s # /tmp/tmpt7i7q_cp/tmp4xx5l0_0.h:
1069s # typedef enum {
1069s # ENUM_VALUE_WITH_COMMA = ',',
1069s # } TestCommaEnum;
1069s #
1069s # /tmp/tmpt7i7q_cp/tmpk3dsowwk.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpt7i7q_cp/tmpk3dsowwk.template', '/tmp/tmpt7i7q_cp/tmp4xx5l0_0.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-production
1069s # filename: /tmp/tmpt7i7q_cp/tmp4xx5l0_0.h
1069s # basename: tmp4xx5l0_0.h
1069s # enumeration-production
1069s # EnumName: TestCommaEnum
1069s # enum_name: test_comma_enum
1069s # ENUMNAME: TEST_COMMA_ENUM
1069s # ENUMSHORT: COMMA_ENUM
1069s # ENUMPREFIX: TEST
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-header
1069s # EnumName: TestCommaEnum
1069s # enum_name: test_comma_enum
1069s # ENUMNAME: TEST_COMMA_ENUM
1069s # ENUMSHORT: COMMA_ENUM
1069s # ENUMPREFIX: TEST
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-production
1069s # VALUENAME: ENUM_VALUE_WITH_COMMA
1069s # valuenick: comma
1069s # valuenum: 44
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-tail
1069s # EnumName: TestCommaEnum
1069s # enum_name: test_comma_enum
1069s # ENUMNAME: TEST_COMMA_ENUM
1069s # ENUMSHORT: COMMA_ENUM
1069s # ENUMPREFIX: TEST
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1069s ok 3 __main__.TestMkenums.test_deprecated_in
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmpntfs02nl
1069s # rspfile: False
1069s # /tmp/tmpntfs02nl/tmp7lst1c29.h:
1069s # typedef enum {
1069s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
1069s # } GDBusServerFlags;
1069s #
1069s # /tmp/tmpntfs02nl/tmpg8zlg8wr.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpntfs02nl/tmpg8zlg8wr.template', '/tmp/tmpntfs02nl/tmp7lst1c29.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-production
1069s # filename: /tmp/tmpntfs02nl/tmp7lst1c29.h
1069s # basename: tmp7lst1c29.h
1069s # enumeration-production
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-header
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-production
1069s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1069s # valuenick: user
1069s # valuenum: 4
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-tail
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1069s ok 4 __main__.TestMkenums.test_deprecated_in_for
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmpbig352hq
1069s # rspfile: False
1069s # /tmp/tmpbig352hq/tmpgkdn1z63.h:
1069s # typedef enum {
1069s # 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)
1069s # } GDBusServerFlags;
1069s #
1069s # /tmp/tmpbig352hq/tmp36z8eask.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpbig352hq/tmp36z8eask.template', '/tmp/tmpbig352hq/tmpgkdn1z63.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-production
1069s # filename: /tmp/tmpbig352hq/tmpgkdn1z63.h
1069s # basename: tmpgkdn1z63.h
1069s # enumeration-production
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-header
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-production
1069s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1069s # valuenick: user
1069s # valuenum: 4
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # value-tail
1069s # EnumName: GDBusServerFlags
1069s # enum_name: g_dbus_server_flags
1069s # ENUMNAME: G_DBUS_SERVER_FLAGS
1069s # ENUMSHORT: DBUS_SERVER_FLAGS
1069s # ENUMPREFIX: G
1069s # enumsince:
1069s # type: flags
1069s # Type: Flags
1069s # TYPE: FLAGS
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1069s ok 5 __main__.TestMkenums.test_empty_header
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmprh66sent
1069s # rspfile: False
1069s # /tmp/tmprh66sent/tmpopewamgt.h:
1069s # /tmp/tmprh66sent/tmpoy69w9qe.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprh66sent/tmpoy69w9qe.template', '/tmp/tmprh66sent/tmpopewamgt.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1069s ok 6 __main__.TestMkenums.test_empty_template
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmpldi_rfwn
1069s # rspfile: False
1069s # /tmp/tmpldi_rfwn/tmp5mra1gj7.template:
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpldi_rfwn/tmp5mra1gj7.template']
1069s # Return code: 0
1069s # Output:
1069s # /* 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. */
1069s #
1069s #
1069s # /* Generated data ends here */
1069s # Error:
1069s ok 7 __main__.TestMkenums.test_enum_name
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmpx_ywmhev
1069s # rspfile: False
1069s # /tmp/tmpx_ywmhev/tmpsih3fuzx.h:
1069s # typedef enum _SomeEnumIdentifier {
1069s # ENUM_VALUE
1069s # } SomeEnumIdentifier;
1069s #
1069s # /tmp/tmpx_ywmhev/tmpuvy2ydl4.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpx_ywmhev/tmpuvy2ydl4.template', '/tmp/tmpx_ywmhev/tmpsih3fuzx.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-production
1069s # filename: /tmp/tmpx_ywmhev/tmpsih3fuzx.h
1069s # basename: tmpsih3fuzx.h
1069s # enumeration-production
1069s # EnumName: SomeEnumIdentifier
1069s # enum_name: some_enum_identifier
1069s # ENUMNAME: SOME_ENUM_IDENTIFIER
1069s # ENUMSHORT: ENUM_IDENTIFIER
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-header
1069s # EnumName: SomeEnumIdentifier
1069s # enum_name: some_enum_identifier
1069s # ENUMNAME: SOME_ENUM_IDENTIFIER
1069s # ENUMSHORT: ENUM_IDENTIFIER
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-production
1069s # VALUENAME: ENUM_VALUE
1069s # valuenick: value
1069s # valuenum: 0
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-tail
1069s # EnumName: SomeEnumIdentifier
1069s # enum_name: some_enum_identifier
1069s # ENUMNAME: SOME_ENUM_IDENTIFIER
1069s # ENUMSHORT: ENUM_IDENTIFIER
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1069s ok 8 __main__.TestMkenums.test_enum_private_public
1069s # glib-mkenums: /usr/bin/glib-mkenums
1069s # tmpdir: /tmp/tmp5013lpl8
1069s # rspfile: False
1069s # /tmp/tmp5013lpl8/tmp1fs4xq_8.h:
1069s # typedef enum {
1069s # ENUM_VALUE_PUBLIC1,
1069s # /*< private >*/
1069s # ENUM_VALUE_PRIVATE,
1069s # } SomeEnumA
1069s #
1069s # /tmp/tmp5013lpl8/tmpaf6_sn3e.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5013lpl8/tmpaf6_sn3e.template', '/tmp/tmp5013lpl8/tmp1fs4xq_8.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-production
1069s # filename: /tmp/tmp5013lpl8/tmp1fs4xq_8.h
1069s # basename: tmp1fs4xq_8.h
1069s # enumeration-production
1069s # EnumName: SomeEnumA
1069s # enum_name: some_enum_a
1069s # ENUMNAME: SOME_ENUM_A
1069s # ENUMSHORT: ENUM_A
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-header
1069s # EnumName: SomeEnumA
1069s # enum_name: some_enum_a
1069s # ENUMNAME: SOME_ENUM_A
1069s # ENUMSHORT: ENUM_A
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-production
1069s # VALUENAME: ENUM_VALUE_PUBLIC1
1069s # valuenick: public1
1069s # valuenum: 0
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-tail
1069s # EnumName: SomeEnumA
1069s # enum_name: some_enum_a
1069s # ENUMNAME: SOME_ENUM_A
1069s # ENUMSHORT: ENUM_A
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1069s #
1069s # /tmp/tmp5013lpl8/tmpfgu972u9.h:
1069s # typedef enum {
1069s # /*< private >*/
1069s # ENUM_VALUE_PRIVATE,
1069s # /*< public >*/
1069s # ENUM_VALUE_PUBLIC2,
1069s # } SomeEnumB;
1069s #
1069s # /tmp/tmp5013lpl8/tmpb7owbnfx.template:
1069s # /*** BEGIN file-header ***/
1069s # file-header
1069s # /*** END file-header ***/
1069s #
1069s # /*** BEGIN file-production ***/
1069s # file-production
1069s # filename: @filename@
1069s # basename: @basename@
1069s # /*** END file-production ***/
1069s #
1069s # /*** BEGIN enumeration-production ***/
1069s # enumeration-production
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END enumeration-production ***/
1069s #
1069s # /*** BEGIN value-header ***/
1069s # value-header
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-header ***/
1069s #
1069s # /*** BEGIN value-production ***/
1069s # value-production
1069s # VALUENAME: @VALUENAME@
1069s # valuenick: @valuenick@
1069s # valuenum: @valuenum@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-production ***/
1069s #
1069s # /*** BEGIN value-tail ***/
1069s # value-tail
1069s # EnumName: @EnumName@
1069s # enum_name: @enum_name@
1069s # ENUMNAME: @ENUMNAME@
1069s # ENUMSHORT: @ENUMSHORT@
1069s # ENUMPREFIX: @ENUMPREFIX@
1069s # enumsince: @enumsince@
1069s # type: @type@
1069s # Type: @Type@
1069s # TYPE: @TYPE@
1069s # /*** END value-tail ***/
1069s #
1069s # /*** BEGIN comment ***/
1069s # comment
1069s # comment: @comment@
1069s # /*** END comment ***/
1069s #
1069s # /*** BEGIN file-tail ***/
1069s # file-tail
1069s # /*** END file-tail ***/
1069s #
1069s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp5013lpl8/tmpb7owbnfx.template', '/tmp/tmp5013lpl8/tmpfgu972u9.h']
1069s # Return code: 0
1069s # Output:
1069s # comment
1069s # 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.
1069s #
1069s #
1069s # file-header
1069s # file-production
1069s # filename: /tmp/tmp5013lpl8/tmpfgu972u9.h
1069s # basename: tmpfgu972u9.h
1069s # enumeration-production
1069s # EnumName: SomeEnumB
1069s # enum_name: some_enum_b
1069s # ENUMNAME: SOME_ENUM_B
1069s # ENUMSHORT: ENUM_B
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-header
1069s # EnumName: SomeEnumB
1069s # enum_name: some_enum_b
1069s # ENUMNAME: SOME_ENUM_B
1069s # ENUMSHORT: ENUM_B
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-production
1069s # VALUENAME: ENUM_VALUE_PUBLIC2
1069s # valuenick: public2
1069s # valuenum: 1
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # value-tail
1069s # EnumName: SomeEnumB
1069s # enum_name: some_enum_b
1069s # ENUMNAME: SOME_ENUM_B
1069s # ENUMSHORT: ENUM_B
1069s # ENUMPREFIX: SOME
1069s # enumsince:
1069s # type: enum
1069s # Type: Enum
1069s # TYPE: ENUM
1069s # file-tail
1069s #
1069s # comment
1069s # comment: Generated data ends here
1069s # Error:
1070s ok 9 __main__.TestMkenums.test_enum_symbolic_expression
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpe5cw_u5t
1070s # rspfile: False
1070s # /tmp/tmpe5cw_u5t/tmplv99gkeh.h:
1070s # typedef enum {
1070s # /*< private >*/
1070s # ENUM_VALUE_PRIVATE = 5,
1070s # /*< public >*/
1070s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
1070s # } TestSymbolicEnum;
1070s #
1070s # /tmp/tmpe5cw_u5t/tmpvwmugl38.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpe5cw_u5t/tmpvwmugl38.template', '/tmp/tmpe5cw_u5t/tmplv99gkeh.h']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpe5cw_u5t/tmplv99gkeh.h
1070s # basename: tmplv99gkeh.h
1070s # enumeration-production
1070s # EnumName: TestSymbolicEnum
1070s # enum_name: test_symbolic_enum
1070s # ENUMNAME: TEST_SYMBOLIC_ENUM
1070s # ENUMSHORT: SYMBOLIC_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: TestSymbolicEnum
1070s # enum_name: test_symbolic_enum
1070s # ENUMNAME: TEST_SYMBOLIC_ENUM
1070s # ENUMSHORT: SYMBOLIC_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE_PUBLIC
1070s # valuenick: public
1070s # valuenum: 7
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: TestSymbolicEnum
1070s # enum_name: test_symbolic_enum
1070s # ENUMNAME: TEST_SYMBOLIC_ENUM
1070s # ENUMSHORT: SYMBOLIC_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 10 __main__.TestMkenums.test_filename_basename_in_fhead_ftail
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpqodos7v2
1070s # rspfile: False
1070s # /tmp/tmpqodos7v2/tmpzky8etbh.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-tail ***/
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpqodos7v2/tmpzky8etbh.template']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # filename: @filename@
1070s # basename: @basename@
1070s # file-tail
1070s # filename: @filename@
1070s # basename: @basename@
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s # WARNING: @filename@ used in file-header section.
1070s # WARNING: @basename@ used in file-header section.
1070s # WARNING: @filename@ used in file-tail section.
1070s # WARNING: @basename@ used in file-tail section.
1070s ok 11 __main__.TestMkenums.test_help
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpml4loqv8
1070s # rspfile: False
1070s # Running: ['/usr/bin/glib-mkenums', '--help']
1070s # Return code: 0
1070s # Output:
1070s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
1070s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
1070s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
1070s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
1070s # [--comments COMMENT_TMPL] [--template TEMPLATE]
1070s # [--output OUTPUT] [--version]
1070s # [args ...]
1070s #
1070s # positional arguments:
1070s # args One or more input files, or a single argument
1070s # @rspfile_path pointing to a file that contains the
1070s # actual arguments
1070s #
1070s # options:
1070s # -h, --help show this help message and exit
1070s # --identifier-prefix IDPREFIX
1070s # Identifier prefix
1070s # --symbol-prefix SYMPREFIX
1070s # Symbol prefix
1070s # --fhead FHEAD Output file header
1070s # --ftail FTAIL Output file footer
1070s # --fprod FPROD Put out TEXT every time a new input file is being
1070s # processed.
1070s # --eprod EPROD Per enum text, produced prior to value iterations
1070s # --vhead VHEAD Value header, produced before iterating over enum
1070s # values
1070s # --vprod VPROD Value text, produced for each enum value.
1070s # --vtail VTAIL Value tail, produced after iterating over enum values
1070s # --comments COMMENT_TMPL
1070s # Comment structure
1070s # --template TEMPLATE Template file
1070s # --output OUTPUT
1070s # --version, -v Print version information
1070s #
1070s # Production text substitutions:
1070s # @EnumName@ PrefixTheXEnum
1070s # @enum_name@ prefix_the_xenum
1070s # @ENUMNAME@ PREFIX_THE_XENUM
1070s # @ENUMSHORT@ THE_XENUM
1070s # @ENUMPREFIX@ PREFIX
1070s # @enumsince@ the user-provided since value given
1070s # @VALUENAME@ PREFIX_THE_XVALUE
1070s # @valuenick@ the-xvalue
1070s # @valuenum@ the integer value (limited support, Since: 2.26)
1070s # @type@ either enum or flags
1070s # @Type@ either Enum or Flags
1070s # @TYPE@ either ENUM or FLAGS
1070s # @filename@ name of current input file
1070s # @basename@ base name of the current input file (Since: 2.22)
1070s # Error:
1070s ok 12 __main__.TestMkenums.test_no_args
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpp9hm3fcj
1070s # rspfile: False
1070s # Running: ['/usr/bin/glib-mkenums']
1070s # Return code: 0
1070s # Output:
1070s # /* 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. */
1070s #
1070s #
1070s # /* Generated data ends here */
1070s # Error:
1070s ok 13 __main__.TestMkenums.test_no_headers
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmp0ux9p7n5
1070s # rspfile: False
1070s # /tmp/tmp0ux9p7n5/tmprkb8qybb.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmp0ux9p7n5/tmprkb8qybb.template']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 14 __main__.TestMkenums.test_no_nick
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpul4myukr
1070s # rspfile: False
1070s # /tmp/tmpul4myukr/tmpbihvzer5.h:
1070s # typedef enum {
1070s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
1070s # } GeglSamplerType;
1070s #
1070s # /tmp/tmpul4myukr/tmpbzyyyzo2.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpul4myukr/tmpbzyyyzo2.template', '/tmp/tmpul4myukr/tmpbihvzer5.h']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpul4myukr/tmpbihvzer5.h
1070s # basename: tmpbihvzer5.h
1070s # enumeration-production
1070s # EnumName: GeglSamplerType
1070s # enum_name: gegl_sampler_type
1070s # ENUMNAME: GEGL_SAMPLER_TYPE
1070s # ENUMSHORT: SAMPLER_TYPE
1070s # ENUMPREFIX: GEGL
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: GeglSamplerType
1070s # enum_name: gegl_sampler_type
1070s # ENUMNAME: GEGL_SAMPLER_TYPE
1070s # ENUMSHORT: SAMPLER_TYPE
1070s # ENUMPREFIX: GEGL
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: GEGL_SAMPLER_NEAREST
1070s # valuenick: nearest
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: GeglSamplerType
1070s # enum_name: gegl_sampler_type
1070s # ENUMNAME: GEGL_SAMPLER_TYPE
1070s # ENUMSHORT: SAMPLER_TYPE
1070s # ENUMPREFIX: GEGL
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 15 __main__.TestMkenums.test_non_utf8_encoding
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpgixr05zk
1070s # rspfile: False
1070s # /tmp/tmpgixr05zk/tmp91wd3h50.h:
1070s # /* Copyright © La Peña */
1070s # typedef enum {
1070s # ENUM_VALUE
1070s # } SomeEnumIdentifier;
1070s #
1070s # /tmp/tmpgixr05zk/tmp9fvjdslc.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpgixr05zk/tmp9fvjdslc.template', '/tmp/tmpgixr05zk/tmp91wd3h50.h']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpgixr05zk/tmp91wd3h50.h
1070s # basename: tmp91wd3h50.h
1070s # enumeration-production
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE
1070s # valuenick: value
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
1070s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
1070s ok 16 __main__.TestMkenums.test_reproducible
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpi85l4c8n
1070s # rspfile: False
1070s # /tmp/tmpi85l4c8n/tmpbcw_g12o.template: template
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi85l4c8n/tmpbcw_g12o.template', '/tmp/tmpi85l4c8n/tmphcto4r8d1.h', '/tmp/tmpi85l4c8n/tmpez8dnvz32.h']
1070s # Return code: 0
1070s # Output:
1070s # /* 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. */
1070s #
1070s #
1070s # /* Generated data ends here */
1070s # Error:
1070s #
1070s # /tmp/tmpi85l4c8n/tmpt0uvsmxt.template: template
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpi85l4c8n/tmpt0uvsmxt.template', '/tmp/tmpi85l4c8n/tmpez8dnvz32.h', '/tmp/tmpi85l4c8n/tmphcto4r8d1.h']
1070s # Return code: 0
1070s # Output:
1070s # /* 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. */
1070s #
1070s #
1070s # /* Generated data ends here */
1070s # Error:
1070s ok 17 __main__.TestMkenums.test_since
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpxnx8t6r_
1070s # rspfile: False
1070s # /tmp/tmpxnx8t6r_/tmpm2je843u.h:
1070s # typedef enum { /*< since=1.0 >*/
1070s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
1070s # } QmiWmsMessageProtocol;
1070s #
1070s # /tmp/tmpxnx8t6r_/tmp_jky2ay4.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmpxnx8t6r_/tmp_jky2ay4.template', '/tmp/tmpxnx8t6r_/tmpm2je843u.h']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpxnx8t6r_/tmpm2je843u.h
1070s # basename: tmpm2je843u.h
1070s # enumeration-production
1070s # EnumName: QmiWmsMessageProtocol
1070s # enum_name: qmi_wms_message_protocol
1070s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1070s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1070s # ENUMPREFIX: QMI
1070s # enumsince: 1.0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: QmiWmsMessageProtocol
1070s # enum_name: qmi_wms_message_protocol
1070s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1070s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1070s # ENUMPREFIX: QMI
1070s # enumsince: 1.0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
1070s # valuenick: cdma
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: QmiWmsMessageProtocol
1070s # enum_name: qmi_wms_message_protocol
1070s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1070s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1070s # ENUMPREFIX: QMI
1070s # enumsince: 1.0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 18 __main__.TestMkenums.test_with_double_quotes
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmprnh9m3lx
1070s # rspfile: False
1070s # /tmp/tmprnh9m3lx/tmpk07oefoq.h:
1070s # typedef enum {
1070s # FOO_VALUE /*< nick="eek, a comma" >*/
1070s # } Foo;
1070s #
1070s # /tmp/tmprnh9m3lx/tmpcz605ulw.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Running: ['/usr/bin/glib-mkenums', '--template', '/tmp/tmprnh9m3lx/tmpcz605ulw.template', '/tmp/tmprnh9m3lx/tmpk07oefoq.h']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmprnh9m3lx/tmpk07oefoq.h
1070s # basename: tmpk07oefoq.h
1070s # enumeration-production
1070s # EnumName: Foo
1070s # enum_name: foo_
1070s # ENUMNAME: FOO_
1070s # ENUMSHORT:
1070s # ENUMPREFIX: FOO
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: Foo
1070s # enum_name: foo_
1070s # ENUMNAME: FOO_
1070s # ENUMSHORT:
1070s # ENUMPREFIX: FOO
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: FOO_VALUE
1070s # valuenick: eek, a comma
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: Foo
1070s # enum_name: foo_
1070s # ENUMNAME: FOO_
1070s # ENUMSHORT:
1070s # ENUMPREFIX: FOO
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 19 __main__.TestRspMkenums.test_available_in
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpdehjah2n
1070s # rspfile: True
1070s # /tmp/tmpdehjah2n/tmpqosn70cw.h:
1070s # typedef enum {
1070s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_AVAILABLE_ENUMERATOR_IN_2_68 = (1<<2)
1070s # } GDBusServerFlags;
1070s #
1070s # /tmp/tmpdehjah2n/tmp5c5nz5i8.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpdehjah2n/tmp5c5nz5i8.template /tmp/tmpdehjah2n/tmpqosn70cw.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpdehjah2n/tmp1lnf458s']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpdehjah2n/tmpqosn70cw.h
1070s # basename: tmpqosn70cw.h
1070s # enumeration-production
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-header
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-production
1070s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1070s # valuenick: user
1070s # valuenum: 4
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-tail
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 20 __main__.TestRspMkenums.test_comma_in_enum_value
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmphc3gfij3
1070s # rspfile: True
1070s # /tmp/tmphc3gfij3/tmpxnl9024f.h:
1070s # typedef enum {
1070s # ENUM_VALUE_WITH_COMMA = ',',
1070s # } TestCommaEnum;
1070s #
1070s # /tmp/tmphc3gfij3/tmp06aggl3m.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmphc3gfij3/tmp06aggl3m.template /tmp/tmphc3gfij3/tmpxnl9024f.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmphc3gfij3/tmpjb4_2jib']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmphc3gfij3/tmpxnl9024f.h
1070s # basename: tmpxnl9024f.h
1070s # enumeration-production
1070s # EnumName: TestCommaEnum
1070s # enum_name: test_comma_enum
1070s # ENUMNAME: TEST_COMMA_ENUM
1070s # ENUMSHORT: COMMA_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: TestCommaEnum
1070s # enum_name: test_comma_enum
1070s # ENUMNAME: TEST_COMMA_ENUM
1070s # ENUMSHORT: COMMA_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE_WITH_COMMA
1070s # valuenick: comma
1070s # valuenum: 44
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: TestCommaEnum
1070s # enum_name: test_comma_enum
1070s # ENUMNAME: TEST_COMMA_ENUM
1070s # ENUMSHORT: COMMA_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 21 __main__.TestRspMkenums.test_deprecated_in
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpwmenhg3e
1070s # rspfile: True
1070s # /tmp/tmpwmenhg3e/tmp7j8w9gmt.h:
1070s # typedef enum {
1070s # G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER GLIB_DEPRECATED_ENUMERATOR_IN_2_68 = (1<<2)
1070s # } GDBusServerFlags;
1070s #
1070s # /tmp/tmpwmenhg3e/tmp3boy40qu.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpwmenhg3e/tmp3boy40qu.template /tmp/tmpwmenhg3e/tmp7j8w9gmt.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwmenhg3e/tmp590ifctj']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpwmenhg3e/tmp7j8w9gmt.h
1070s # basename: tmp7j8w9gmt.h
1070s # enumeration-production
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-header
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-production
1070s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1070s # valuenick: user
1070s # valuenum: 4
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-tail
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 22 __main__.TestRspMkenums.test_deprecated_in_for
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpeucmoabd
1070s # rspfile: True
1070s # /tmp/tmpeucmoabd/tmpywu8v3bp.h:
1070s # typedef enum {
1070s # 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)
1070s # } GDBusServerFlags;
1070s #
1070s # /tmp/tmpeucmoabd/tmpp7lwckpn.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpeucmoabd/tmpp7lwckpn.template /tmp/tmpeucmoabd/tmpywu8v3bp.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpeucmoabd/tmptaxrtz0o']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpeucmoabd/tmpywu8v3bp.h
1070s # basename: tmpywu8v3bp.h
1070s # enumeration-production
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-header
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-production
1070s # VALUENAME: G_DBUS_SERVER_FLAGS_AUTHENTICATION_REQUIRE_SAME_USER
1070s # valuenick: user
1070s # valuenum: 4
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # value-tail
1070s # EnumName: GDBusServerFlags
1070s # enum_name: g_dbus_server_flags
1070s # ENUMNAME: G_DBUS_SERVER_FLAGS
1070s # ENUMSHORT: DBUS_SERVER_FLAGS
1070s # ENUMPREFIX: G
1070s # enumsince:
1070s # type: flags
1070s # Type: Flags
1070s # TYPE: FLAGS
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 23 __main__.TestRspMkenums.test_empty_header
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmp_zrfwrw1
1070s # rspfile: True
1070s # /tmp/tmp_zrfwrw1/tmpz0gons4h.h:
1070s # /tmp/tmp_zrfwrw1/tmpqamuxpvr.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmp_zrfwrw1/tmpqamuxpvr.template /tmp/tmp_zrfwrw1/tmpz0gons4h.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_zrfwrw1/tmpbu9ql0kt']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 24 __main__.TestRspMkenums.test_empty_template
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmp7cb6h47g
1070s # rspfile: True
1070s # /tmp/tmp7cb6h47g/tmpwdveag78.template:
1070s # Response file contains: --template /tmp/tmp7cb6h47g/tmpwdveag78.template
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp7cb6h47g/tmpvia06qnn']
1070s # Return code: 0
1070s # Output:
1070s # /* 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. */
1070s #
1070s #
1070s # /* Generated data ends here */
1070s # Error:
1070s ok 25 __main__.TestRspMkenums.test_enum_name
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpiaepihqg
1070s # rspfile: True
1070s # /tmp/tmpiaepihqg/tmplq70gdik.h:
1070s # typedef enum _SomeEnumIdentifier {
1070s # ENUM_VALUE
1070s # } SomeEnumIdentifier;
1070s #
1070s # /tmp/tmpiaepihqg/tmphth3t3he.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpiaepihqg/tmphth3t3he.template /tmp/tmpiaepihqg/tmplq70gdik.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpiaepihqg/tmpub3akbah']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpiaepihqg/tmplq70gdik.h
1070s # basename: tmplq70gdik.h
1070s # enumeration-production
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE
1070s # valuenick: value
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 26 __main__.TestRspMkenums.test_enum_private_public
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpwpymcra4
1070s # rspfile: True
1070s # /tmp/tmpwpymcra4/tmppk842451.h:
1070s # typedef enum {
1070s # ENUM_VALUE_PUBLIC1,
1070s # /*< private >*/
1070s # ENUM_VALUE_PRIVATE,
1070s # } SomeEnumA
1070s #
1070s # /tmp/tmpwpymcra4/tmptnha442m.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpwpymcra4/tmptnha442m.template /tmp/tmpwpymcra4/tmppk842451.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwpymcra4/tmp_8tw7v14']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpwpymcra4/tmppk842451.h
1070s # basename: tmppk842451.h
1070s # enumeration-production
1070s # EnumName: SomeEnumA
1070s # enum_name: some_enum_a
1070s # ENUMNAME: SOME_ENUM_A
1070s # ENUMSHORT: ENUM_A
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: SomeEnumA
1070s # enum_name: some_enum_a
1070s # ENUMNAME: SOME_ENUM_A
1070s # ENUMSHORT: ENUM_A
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE_PUBLIC1
1070s # valuenick: public1
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: SomeEnumA
1070s # enum_name: some_enum_a
1070s # ENUMNAME: SOME_ENUM_A
1070s # ENUMSHORT: ENUM_A
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s #
1070s # /tmp/tmpwpymcra4/tmpa0h6lumy.h:
1070s # typedef enum {
1070s # /*< private >*/
1070s # ENUM_VALUE_PRIVATE,
1070s # /*< public >*/
1070s # ENUM_VALUE_PUBLIC2,
1070s # } SomeEnumB;
1070s #
1070s # /tmp/tmpwpymcra4/tmp34wosfvx.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpwpymcra4/tmp34wosfvx.template /tmp/tmpwpymcra4/tmpa0h6lumy.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpwpymcra4/tmpt8uni2l4']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpwpymcra4/tmpa0h6lumy.h
1070s # basename: tmpa0h6lumy.h
1070s # enumeration-production
1070s # EnumName: SomeEnumB
1070s # enum_name: some_enum_b
1070s # ENUMNAME: SOME_ENUM_B
1070s # ENUMSHORT: ENUM_B
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: SomeEnumB
1070s # enum_name: some_enum_b
1070s # ENUMNAME: SOME_ENUM_B
1070s # ENUMSHORT: ENUM_B
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE_PUBLIC2
1070s # valuenick: public2
1070s # valuenum: 1
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: SomeEnumB
1070s # enum_name: some_enum_b
1070s # ENUMNAME: SOME_ENUM_B
1070s # ENUMSHORT: ENUM_B
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 27 __main__.TestRspMkenums.test_enum_symbolic_expression
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpujab3399
1070s # rspfile: True
1070s # /tmp/tmpujab3399/tmplndbtaaf.h:
1070s # typedef enum {
1070s # /*< private >*/
1070s # ENUM_VALUE_PRIVATE = 5,
1070s # /*< public >*/
1070s # ENUM_VALUE_PUBLIC = ENUM_VALUE_PRIVATE + 2,
1070s # } TestSymbolicEnum;
1070s #
1070s # /tmp/tmpujab3399/tmpa0_l8lkb.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpujab3399/tmpa0_l8lkb.template /tmp/tmpujab3399/tmplndbtaaf.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpujab3399/tmpjhdmqqtw']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpujab3399/tmplndbtaaf.h
1070s # basename: tmplndbtaaf.h
1070s # enumeration-production
1070s # EnumName: TestSymbolicEnum
1070s # enum_name: test_symbolic_enum
1070s # ENUMNAME: TEST_SYMBOLIC_ENUM
1070s # ENUMSHORT: SYMBOLIC_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: TestSymbolicEnum
1070s # enum_name: test_symbolic_enum
1070s # ENUMNAME: TEST_SYMBOLIC_ENUM
1070s # ENUMSHORT: SYMBOLIC_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE_PUBLIC
1070s # valuenick: public
1070s # valuenum: 7
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: TestSymbolicEnum
1070s # enum_name: test_symbolic_enum
1070s # ENUMNAME: TEST_SYMBOLIC_ENUM
1070s # ENUMSHORT: SYMBOLIC_ENUM
1070s # ENUMPREFIX: TEST
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 28 __main__.TestRspMkenums.test_filename_basename_in_fhead_ftail
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpxf8lg6o0
1070s # rspfile: True
1070s # /tmp/tmpxf8lg6o0/tmpek56qh76.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-tail ***/
1070s # Response file contains: --template /tmp/tmpxf8lg6o0/tmpek56qh76.template
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpxf8lg6o0/tmptzggpiwx']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # filename: @filename@
1070s # basename: @basename@
1070s # file-tail
1070s # filename: @filename@
1070s # basename: @basename@
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s # WARNING: @filename@ used in file-header section.
1070s # WARNING: @basename@ used in file-header section.
1070s # WARNING: @filename@ used in file-tail section.
1070s # WARNING: @basename@ used in file-tail section.
1070s ok 29 __main__.TestRspMkenums.test_help
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmp4hrg1lvm
1070s # rspfile: True
1070s # Response file contains: --help
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp4hrg1lvm/tmpc_a5t2ny']
1070s # Return code: 0
1070s # Output:
1070s # usage: glib-mkenums [-h] [--identifier-prefix IDPREFIX]
1070s # [--symbol-prefix SYMPREFIX] [--fhead FHEAD]
1070s # [--ftail FTAIL] [--fprod FPROD] [--eprod EPROD]
1070s # [--vhead VHEAD] [--vprod VPROD] [--vtail VTAIL]
1070s # [--comments COMMENT_TMPL] [--template TEMPLATE]
1070s # [--output OUTPUT] [--version]
1070s # [args ...]
1070s #
1070s # positional arguments:
1070s # args One or more input files, or a single argument
1070s # @rspfile_path pointing to a file that contains the
1070s # actual arguments
1070s #
1070s # options:
1070s # -h, --help show this help message and exit
1070s # --identifier-prefix IDPREFIX
1070s # Identifier prefix
1070s # --symbol-prefix SYMPREFIX
1070s # Symbol prefix
1070s # --fhead FHEAD Output file header
1070s # --ftail FTAIL Output file footer
1070s # --fprod FPROD Put out TEXT every time a new input file is being
1070s # processed.
1070s # --eprod EPROD Per enum text, produced prior to value iterations
1070s # --vhead VHEAD Value header, produced before iterating over enum
1070s # values
1070s # --vprod VPROD Value text, produced for each enum value.
1070s # --vtail VTAIL Value tail, produced after iterating over enum values
1070s # --comments COMMENT_TMPL
1070s # Comment structure
1070s # --template TEMPLATE Template file
1070s # --output OUTPUT
1070s # --version, -v Print version information
1070s #
1070s # Production text substitutions:
1070s # @EnumName@ PrefixTheXEnum
1070s # @enum_name@ prefix_the_xenum
1070s # @ENUMNAME@ PREFIX_THE_XENUM
1070s # @ENUMSHORT@ THE_XENUM
1070s # @ENUMPREFIX@ PREFIX
1070s # @enumsince@ the user-provided since value given
1070s # @VALUENAME@ PREFIX_THE_XVALUE
1070s # @valuenick@ the-xvalue
1070s # @valuenum@ the integer value (limited support, Since: 2.26)
1070s # @type@ either enum or flags
1070s # @Type@ either Enum or Flags
1070s # @TYPE@ either ENUM or FLAGS
1070s # @filename@ name of current input file
1070s # @basename@ base name of the current input file (Since: 2.22)
1070s # Error:
1070s ok 30 __main__.TestRspMkenums.test_no_args
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpmj35nurf
1070s # rspfile: True
1070s # Response file contains:
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpmj35nurf/tmphuvn6881']
1070s # Return code: 0
1070s # Output:
1070s # /* 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. */
1070s #
1070s #
1070s # /* Generated data ends here */
1070s # Error:
1070s ok 31 __main__.TestRspMkenums.test_no_headers
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpgij4zdzz
1070s # rspfile: True
1070s # /tmp/tmpgij4zdzz/tmp849gq8ls.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpgij4zdzz/tmp849gq8ls.template
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpgij4zdzz/tmpverajzp9']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 32 __main__.TestRspMkenums.test_no_nick
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpl2gign57
1070s # rspfile: True
1070s # /tmp/tmpl2gign57/tmp_1ftnob7.h:
1070s # typedef enum {
1070s # GEGL_SAMPLER_NEAREST = 0, /*< desc="nearest" >*/
1070s # } GeglSamplerType;
1070s #
1070s # /tmp/tmpl2gign57/tmpck30zza1.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpl2gign57/tmpck30zza1.template /tmp/tmpl2gign57/tmp_1ftnob7.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpl2gign57/tmpfp1c4mip']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpl2gign57/tmp_1ftnob7.h
1070s # basename: tmp_1ftnob7.h
1070s # enumeration-production
1070s # EnumName: GeglSamplerType
1070s # enum_name: gegl_sampler_type
1070s # ENUMNAME: GEGL_SAMPLER_TYPE
1070s # ENUMSHORT: SAMPLER_TYPE
1070s # ENUMPREFIX: GEGL
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: GeglSamplerType
1070s # enum_name: gegl_sampler_type
1070s # ENUMNAME: GEGL_SAMPLER_TYPE
1070s # ENUMSHORT: SAMPLER_TYPE
1070s # ENUMPREFIX: GEGL
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: GEGL_SAMPLER_NEAREST
1070s # valuenick: nearest
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: GeglSamplerType
1070s # enum_name: gegl_sampler_type
1070s # ENUMNAME: GEGL_SAMPLER_TYPE
1070s # ENUMSHORT: SAMPLER_TYPE
1070s # ENUMPREFIX: GEGL
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 33 __main__.TestRspMkenums.test_non_utf8_encoding
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpplyfyfhz
1070s # rspfile: True
1070s # /tmp/tmpplyfyfhz/tmp4i61dmfg.h:
1070s # /* Copyright © La Peña */
1070s # typedef enum {
1070s # ENUM_VALUE
1070s # } SomeEnumIdentifier;
1070s #
1070s # /tmp/tmpplyfyfhz/tmpexxyj3jt.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpplyfyfhz/tmpexxyj3jt.template /tmp/tmpplyfyfhz/tmp4i61dmfg.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpplyfyfhz/tmpwejpa8oc']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpplyfyfhz/tmp4i61dmfg.h
1070s # basename: tmp4i61dmfg.h
1070s # enumeration-production
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: ENUM_VALUE
1070s # valuenick: value
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: SomeEnumIdentifier
1070s # enum_name: some_enum_identifier
1070s # ENUMNAME: SOME_ENUM_IDENTIFIER
1070s # ENUMSHORT: ENUM_IDENTIFIER
1070s # ENUMPREFIX: SOME
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s # WARNING: UnicodeWarning: invalid start byte at 22 (b'yright \xa9 La Pe\xf1')
1070s # WARNING: UnicodeWarning: invalid continuation byte at 29 (b'\xa9 La Pe\xf1a */\n ')
1070s ok 34 __main__.TestRspMkenums.test_reproducible
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmp5_rwn4nf
1070s # rspfile: True
1070s # /tmp/tmp5_rwn4nf/tmpmvdb7ckj.template: template
1070s # Response file contains: --template /tmp/tmp5_rwn4nf/tmpmvdb7ckj.template /tmp/tmp5_rwn4nf/tmpb0tcd90h1.h /tmp/tmp5_rwn4nf/tmp65fa4zvo2.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5_rwn4nf/tmp1ptmrrrh']
1070s # Return code: 0
1070s # Output:
1070s # /* 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. */
1070s #
1070s #
1070s # /* Generated data ends here */
1070s # Error:
1070s #
1070s # /tmp/tmp5_rwn4nf/tmp51ryr3ga.template: template
1070s # Response file contains: --template /tmp/tmp5_rwn4nf/tmp51ryr3ga.template /tmp/tmp5_rwn4nf/tmp65fa4zvo2.h /tmp/tmp5_rwn4nf/tmpb0tcd90h1.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp5_rwn4nf/tmpc9p7tlr8']
1070s # Return code: 0
1070s # Output:
1070s # /* 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. */
1070s #
1070s #
1070s # /* Generated data ends here */
1070s # Error:
1070s ok 35 __main__.TestRspMkenums.test_since
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmpy4ld21cp
1070s # rspfile: True
1070s # /tmp/tmpy4ld21cp/tmpvnmlzsmu.h:
1070s # typedef enum { /*< since=1.0 >*/
1070s # QMI_WMS_MESSAGE_PROTOCOL_CDMA = 0,
1070s # } QmiWmsMessageProtocol;
1070s #
1070s # /tmp/tmpy4ld21cp/tmpblo3gj1u.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmpy4ld21cp/tmpblo3gj1u.template /tmp/tmpy4ld21cp/tmpvnmlzsmu.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmpy4ld21cp/tmp3632abn7']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmpy4ld21cp/tmpvnmlzsmu.h
1070s # basename: tmpvnmlzsmu.h
1070s # enumeration-production
1070s # EnumName: QmiWmsMessageProtocol
1070s # enum_name: qmi_wms_message_protocol
1070s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1070s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1070s # ENUMPREFIX: QMI
1070s # enumsince: 1.0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: QmiWmsMessageProtocol
1070s # enum_name: qmi_wms_message_protocol
1070s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1070s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1070s # ENUMPREFIX: QMI
1070s # enumsince: 1.0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: QMI_WMS_MESSAGE_PROTOCOL_CDMA
1070s # valuenick: cdma
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: QmiWmsMessageProtocol
1070s # enum_name: qmi_wms_message_protocol
1070s # ENUMNAME: QMI_WMS_MESSAGE_PROTOCOL
1070s # ENUMSHORT: WMS_MESSAGE_PROTOCOL
1070s # ENUMPREFIX: QMI
1070s # enumsince: 1.0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s ok 36 __main__.TestRspMkenums.test_with_double_quotes
1070s # glib-mkenums: /usr/bin/glib-mkenums
1070s # tmpdir: /tmp/tmp_jv_ogo3
1070s # rspfile: True
1070s # /tmp/tmp_jv_ogo3/tmp1gax0u29.h:
1070s # typedef enum {
1070s # FOO_VALUE /*< nick="eek, a comma" >*/
1070s # } Foo;
1070s #
1070s # /tmp/tmp_jv_ogo3/tmptrnpfl6a.template:
1070s # /*** BEGIN file-header ***/
1070s # file-header
1070s # /*** END file-header ***/
1070s #
1070s # /*** BEGIN file-production ***/
1070s # file-production
1070s # filename: @filename@
1070s # basename: @basename@
1070s # /*** END file-production ***/
1070s #
1070s # /*** BEGIN enumeration-production ***/
1070s # enumeration-production
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END enumeration-production ***/
1070s #
1070s # /*** BEGIN value-header ***/
1070s # value-header
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-header ***/
1070s #
1070s # /*** BEGIN value-production ***/
1070s # value-production
1070s # VALUENAME: @VALUENAME@
1070s # valuenick: @valuenick@
1070s # valuenum: @valuenum@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-production ***/
1070s #
1070s # /*** BEGIN value-tail ***/
1070s # value-tail
1070s # EnumName: @EnumName@
1070s # enum_name: @enum_name@
1070s # ENUMNAME: @ENUMNAME@
1070s # ENUMSHORT: @ENUMSHORT@
1070s # ENUMPREFIX: @ENUMPREFIX@
1070s # enumsince: @enumsince@
1070s # type: @type@
1070s # Type: @Type@
1070s # TYPE: @TYPE@
1070s # /*** END value-tail ***/
1070s #
1070s # /*** BEGIN comment ***/
1070s # comment
1070s # comment: @comment@
1070s # /*** END comment ***/
1070s #
1070s # /*** BEGIN file-tail ***/
1070s # file-tail
1070s # /*** END file-tail ***/
1070s #
1070s # Response file contains: --template /tmp/tmp_jv_ogo3/tmptrnpfl6a.template /tmp/tmp_jv_ogo3/tmp1gax0u29.h
1070s # Running: ['/usr/bin/glib-mkenums', '@/tmp/tmp_jv_ogo3/tmp4vttlvgt']
1070s # Return code: 0
1070s # Output:
1070s # comment
1070s # 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.
1070s #
1070s #
1070s # file-header
1070s # file-production
1070s # filename: /tmp/tmp_jv_ogo3/tmp1gax0u29.h
1070s # basename: tmp1gax0u29.h
1070s # enumeration-production
1070s # EnumName: Foo
1070s # enum_name: foo_
1070s # ENUMNAME: FOO_
1070s # ENUMSHORT:
1070s # ENUMPREFIX: FOO
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-header
1070s # EnumName: Foo
1070s # enum_name: foo_
1070s # ENUMNAME: FOO_
1070s # ENUMSHORT:
1070s # ENUMPREFIX: FOO
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-production
1070s # VALUENAME: FOO_VALUE
1070s # valuenick: eek, a comma
1070s # valuenum: 0
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # value-tail
1070s # EnumName: Foo
1070s # enum_name: foo_
1070s # ENUMNAME: FOO_
1070s # ENUMSHORT:
1070s # ENUMPREFIX: FOO
1070s # enumsince:
1070s # type: enum
1070s # Type: Enum
1070s # TYPE: ENUM
1070s # file-tail
1070s #
1070s # comment
1070s # comment: Generated data ends here
1070s # Error:
1070s 1..36
1070s ok - glib/mkenums.py.test
1070s # Running test: glib/param.test
1070s TAP version 14
1070s # random seed: R02S7d79f335e46a78bb4cb10b45a81728d0
1071s 1..32
1071s # Start of param tests
1071s ok 1 /param/value
1071s ok 2 /param/strings
1071s ok 3 /param/qdata
1071s ok 4 /param/validate
1071s ok 5 /param/convert
1071s ok 6 /param/implement # SKIP Skipping slow /param/implement test
1071s ok 7 /param/default
1071s ok 8 /param/is-valid-name
1071s # Start of invalid-name tests
1071s # /param/invalid-name/colon summary: Test that properties cannot be created with invalid names
1071s ok 9 /param/invalid-name/colon
1071s # /param/invalid-name/first-char summary: Test that properties cannot be created with invalid names
1071s ok 10 /param/invalid-name/first-char
1071s # /param/invalid-name/empty summary: Test that properties cannot be created with invalid names
1071s ok 11 /param/invalid-name/empty
1071s # End of invalid-name tests
1071s # Start of implement tests
1071s # Start of subprocess tests
1071s # End of subprocess tests
1071s # End of implement tests
1071s # End of param tests
1071s # Start of value tests
1071s ok 12 /value/transform
1071s # End of value tests
1071s # Start of paramspec tests
1071s ok 13 /paramspec/char
1071s ok 14 /paramspec/uchar
1071s ok 15 /paramspec/int
1071s ok 16 /paramspec/uint
1071s ok 17 /paramspec/long
1071s ok 18 /paramspec/ulong
1071s ok 19 /paramspec/int64
1071s ok 20 /paramspec/uint64
1071s ok 21 /paramspec/float
1071s ok 22 /paramspec/double
1071s ok 23 /paramspec/unichar
1071s ok 24 /paramspec/param
1071s ok 25 /paramspec/null-param
1071s ok 26 /paramspec/string
1071s ok 27 /paramspec/override
1071s ok 28 /paramspec/gtype
1071s ok 29 /paramspec/variant
1071s ok 30 /paramspec/custom
1071s ok 31 /paramspec/pool
1071s # Start of variant tests
1071s ok 32 /paramspec/variant/cmp
1071s # End of variant tests
1071s # End of paramspec tests
1071s ok - glib/param.test
1071s # Running test: glib/win32-appinfo.test
1071s TAP version 14
1071s # random seed: R02S8107e917c3e1409995faa0f9243bb160
1071s 1..5
1071s # Start of appinfo tests
1071s ok 1 /appinfo/utf16-strfuncs
1071s ok 2 /appinfo/win32-extract-executable
1071s ok 3 /appinfo/win32-rundll32-fixup
1071s ok 4 /appinfo/win32-parse-filename
1071s ok 5 /appinfo/win32-utf16-conversion-fail
1071s # Start of subprocess tests
1071s # End of subprocess tests
1071s # End of appinfo tests
1071s TAP version 14
1071s # random seed: R02Sedc2b050563ece577aede126a7b0419a
1071s 1..6
1071s # Start of pollable tests
1071s ok 1 /pollable/converter
1071s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation dummy (GDummyProxyResolver) for ?gio-proxy-resolver?
1071s # GLib-GIO-DEBUG: g_socket_client_connect_async: starting new g_socket_client_connect_async() with GTask 0x2aa08919ae0 and GSocketClientAsyncConnectData 0x2aa08915c00
1071s # GLib-GIO-DEBUG: GSocketClient: Starting new address enumeration
1071s # GLib-GIO-DEBUG: GSocketClient: Address enumeration succeeded
1071s # GLib-GIO-DEBUG: g_socket_client_enumerator_callback: starting connection attempt 0x2aa0891e9e0 for GSocketClientAsyncConnectData 0x2aa08915c00
1071s # GLib-GIO-DEBUG: GSocketClient: Starting TCP connection attempt
1071s # GLib-GIO-DEBUG: GSocketClient: TCP connection successful
1071s # GLib-GIO-DEBUG: GSocketClient: Starting application layer connection
1071s # GLib-GIO-DEBUG: GSocketClient: Connection successful!
1071s ok 2 /pollable/socket
1071s # Start of unix tests
1071s # /pollable/unix/pipe summary: Test that pipes are considered pollable, just like sockets
1071s ok 3 /pollable/unix/pipe
1071s # /pollable/unix/pty summary: Test that PTYs are considered pollable
1071s ok 4 /pollable/unix/pty
1071s # /pollable/unix/file summary: Test that regular files are not considered pollable
1071s ok 5 /pollable/unix/file
1071s # /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
1071s ok 6 /pollable/unix/nulldev
1071s # End of unix tests
1071s # End of pollable tests
1071s TAP version 14
1071s # random seed: R02S491c5ea8fd542c450f5968eaf498aa7b
1071s 1..1
1071s # Start of bitlock tests
1071s # Start of performance tests
1071s # max perf: iterations per second
1071s ok 1 /bitlock/performance/uncontended
1071s # End of performance tests
1071s # End of bitlock tests
1071s TAP version 14
1071s # random seed: R02Sadc0976c3aa02eeb962fc09c4821b4c4
1071s 1..55
1071s # Start of file tests
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/basic/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/basic/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/basic/.dirs/system-config1:/tmp/test_file_15J152/file/basic/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/basic/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/basic/.dirs/system-data1:/tmp/test_file_15J152/file/basic/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/basic/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/basic/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/basic/.dirs/runtime
1071s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
1071s ok 1 /file/basic
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/build-filename/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/build-filename/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/build-filename/.dirs/system-config1:/tmp/test_file_15J152/file/build-filename/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/build-filename/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/build-filename/.dirs/system-data1:/tmp/test_file_15J152/file/build-filename/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/build-filename/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/build-filename/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/build-filename/.dirs/runtime
1071s ok 2 /file/build-filename
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/build-filenamev/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/build-filenamev/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/build-filenamev/.dirs/system-config1:/tmp/test_file_15J152/file/build-filenamev/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/build-filenamev/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/build-filenamev/.dirs/system-data1:/tmp/test_file_15J152/file/build-filenamev/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/build-filenamev/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/build-filenamev/.dirs/state
1071s ok - glib/win32-appinfo.test
1071s # Running test: glib/pollable.test
1071s ok - glib/pollable.test
1071s # Running test: glib/bitlock.test
1071s ok - glib/bitlock.test
1071s # Running test: glib/file.test
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/build-filenamev/.dirs/runtime
1071s ok 3 /file/build-filenamev
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/parent/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/parent/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/parent/.dirs/system-config1:/tmp/test_file_15J152/file/parent/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/parent/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/parent/.dirs/system-data1:/tmp/test_file_15J152/file/parent/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/parent/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/parent/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/parent/.dirs/runtime
1071s ok 4 /file/parent
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/child/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/child/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/child/.dirs/system-config1:/tmp/test_file_15J152/file/child/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/child/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/child/.dirs/system-data1:/tmp/test_file_15J152/file/child/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/child/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/child/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/child/.dirs/runtime
1071s ok 5 /file/child
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/empty-path/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/empty-path/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/empty-path/.dirs/system-config1:/tmp/test_file_15J152/file/empty-path/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/empty-path/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/empty-path/.dirs/system-data1:/tmp/test_file_15J152/file/empty-path/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/empty-path/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/empty-path/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/empty-path/.dirs/runtime
1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2328
1071s # /file/empty-path summary: Check that creating a file with an empty path results in errors
1071s ok 6 /file/empty-path
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/type/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/type/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/type/.dirs/system-config1:/tmp/test_file_15J152/file/type/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/type/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/type/.dirs/system-data1:/tmp/test_file_15J152/file/type/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/type/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/type/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/type/.dirs/runtime
1071s ok 7 /file/type
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/parse-name/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/parse-name/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/parse-name/.dirs/system-config1:/tmp/test_file_15J152/file/parse-name/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/parse-name/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/parse-name/.dirs/system-data1:/tmp/test_file_15J152/file/parse-name/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/parse-name/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/parse-name/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/parse-name/.dirs/runtime
1071s ok 8 /file/parse-name
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/replace-load/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/replace-load/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/replace-load/.dirs/system-config1:/tmp/test_file_15J152/file/replace-load/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/replace-load/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/replace-load/.dirs/system-data1:/tmp/test_file_15J152/file/replace-load/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/replace-load/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/replace-load/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/replace-load/.dirs/runtime
1071s ok 9 /file/replace-load
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/replace-cancel/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/replace-cancel/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/replace-cancel/.dirs/system-config1:/tmp/test_file_15J152/file/replace-cancel/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/replace-cancel/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/replace-cancel/.dirs/system-data1:/tmp/test_file_15J152/file/replace-cancel/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/replace-cancel/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/replace-cancel/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/replace-cancel/.dirs/runtime
1071s # Bug Reference: https://bugzilla.gnome.org/629301
1071s ok 10 /file/replace-cancel
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/replace-symlink/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/replace-symlink/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/replace-symlink/.dirs/system-config1:/tmp/test_file_15J152/file/replace-symlink/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/replace-symlink/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/replace-symlink/.dirs/system-data1:/tmp/test_file_15J152/file/replace-symlink/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/replace-symlink/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/replace-symlink/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/replace-symlink/.dirs/runtime
1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2325
1071s # /file/replace-symlink summary: Test that G_FILE_CREATE_REPLACE_DESTINATION doesn’t follow symlinks
1071s # Using temporary directory /tmp/test_file_15J152/g_file_replace_symlink_Q6O052
1071s ok 11 /file/replace-symlink
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-new-tmp/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-new-tmp/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-new-tmp/.dirs/system-config1:/tmp/test_file_15J152/file/async-new-tmp/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-new-tmp/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-new-tmp/.dirs/system-data1:/tmp/test_file_15J152/file/async-new-tmp/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-new-tmp/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-new-tmp/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-new-tmp/.dirs/runtime
1071s ok 12 /file/async-new-tmp
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/system-config1:/tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/system-data1:/tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-new-tmp-dir/.dirs/runtime
1071s ok 13 /file/async-new-tmp-dir
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-delete/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-delete/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-delete/.dirs/system-config1:/tmp/test_file_15J152/file/async-delete/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-delete/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-delete/.dirs/system-data1:/tmp/test_file_15J152/file/async-delete/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-delete/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-delete/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-delete/.dirs/runtime
1071s ok 14 /file/async-delete
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-make-symlink/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-make-symlink/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-make-symlink/.dirs/system-config1:/tmp/test_file_15J152/file/async-make-symlink/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-make-symlink/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-make-symlink/.dirs/system-data1:/tmp/test_file_15J152/file/async-make-symlink/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-make-symlink/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-make-symlink/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-make-symlink/.dirs/runtime
1071s ok 15 /file/async-make-symlink
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/system-config1:/tmp/test_file_15J152/file/copy-preserve-mode/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/system-data1:/tmp/test_file_15J152/file/copy-preserve-mode/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/copy-preserve-mode/.dirs/runtime
1071s # Current umask: 2
1071s # Vector 0
1071s # Vector 1
1071s # Vector 2
1071s # Vector 3
1071s # Vector 4
1071s # Vector 5
1071s # Vector 6
1071s # Vector 7
1071s # Vector 8
1071s # Vector 9
1071s # Vector 10
1071s ok 16 /file/copy-preserve-mode
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/system-config1:/tmp/test_file_15J152/file/copy-async-with-closures/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/system-data1:/tmp/test_file_15J152/file/copy-async-with-closures/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/copy-async-with-closures/.dirs/runtime
1071s ok 17 /file/copy-async-with-closures
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/measure/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/measure/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/measure/.dirs/system-config1:/tmp/test_file_15J152/file/measure/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/measure/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/measure/.dirs/system-data1:/tmp/test_file_15J152/file/measure/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/measure/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/measure/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/measure/.dirs/runtime
1071s ok 18 /file/measure
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/measure-async/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/measure-async/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/measure-async/.dirs/system-config1:/tmp/test_file_15J152/file/measure-async/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/measure-async/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/measure-async/.dirs/system-data1:/tmp/test_file_15J152/file/measure-async/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/measure-async/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/measure-async/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/measure-async/.dirs/runtime
1071s ok 19 /file/measure-async
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/load-bytes/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/load-bytes/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/load-bytes/.dirs/system-config1:/tmp/test_file_15J152/file/load-bytes/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/load-bytes/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/load-bytes/.dirs/system-data1:/tmp/test_file_15J152/file/load-bytes/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/load-bytes/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/load-bytes/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/load-bytes/.dirs/runtime
1071s ok 20 /file/load-bytes
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/load-bytes-async/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/load-bytes-async/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/load-bytes-async/.dirs/system-config1:/tmp/test_file_15J152/file/load-bytes-async/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/load-bytes-async/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/load-bytes-async/.dirs/system-data1:/tmp/test_file_15J152/file/load-bytes-async/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/load-bytes-async/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/load-bytes-async/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/load-bytes-async/.dirs/runtime
1071s ok 21 /file/load-bytes-async
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/system-config1:/tmp/test_file_15J152/file/load-bytes-4gb/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/system-data1:/tmp/test_file_15J152/file/load-bytes-4gb/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/load-bytes-4gb/.dirs/runtime
1071s ok 22 /file/load-bytes-4gb # SKIP Skipping slow >4GB file test
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/system-config1:/tmp/test_file_15J152/file/load-contents-4gb/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/system-data1:/tmp/test_file_15J152/file/load-contents-4gb/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/load-contents-4gb/.dirs/runtime
1071s ok 23 /file/load-contents-4gb # SKIP Skipping slow >4GB file test
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/system-config1:/tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/system-data1:/tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/load-contents-4gb-async/.dirs/runtime
1071s ok 24 /file/load-contents-4gb-async # SKIP Skipping slow >4GB file test
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/.dirs/system-config1:/tmp/test_file_15J152/file/writev/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/.dirs/system-data1:/tmp/test_file_15J152/file/writev/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/.dirs/runtime
1071s ok 25 /file/writev
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/system-config1:/tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/system-data1:/tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/build-attribute-list-for-copy/.dirs/runtime
1071s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,unix::mode,xattr::*
1071s # Attributes for copy: standard::size,time::modified,time::modified-nsec,time::modified-usec,xattr::*
1071s # 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::*
1071s # 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::*
1071s # Attributes for copy: standard::size,time::access,time::access-nsec,time::access-usec,unix::gid,unix::mode,unix::uid,xattr::*,xattr-sys::*
1071s # Attributes for copy: standard::size,xattr::*
1071s # Attributes for copy: standard::size,unix::mode,xattr::*
1071s ok 26 /file/build-attribute-list-for-copy
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/move_async/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/move_async/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/move_async/.dirs/system-config1:/tmp/test_file_15J152/file/move_async/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/move_async/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/move_async/.dirs/system-data1:/tmp/test_file_15J152/file/move_async/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/move_async/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/move_async/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/move_async/.dirs/runtime
1071s ok 27 /file/move_async
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/system-config1:/tmp/test_file_15J152/file/move-async-with-closures/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/system-data1:/tmp/test_file_15J152/file/move-async-with-closures/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/move-async-with-closures/.dirs/runtime
1071s ok 28 /file/move-async-with-closures
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/system-config1:/tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/system-data1:/tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/query-zero-length-content-type/.dirs/runtime
1071s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755795
1071s # /file/query-zero-length-content-type summary: empty files should always be considered application/x-zerosize
1071s ok 29 /file/query-zero-length-content-type
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/system-config1:/tmp/test_file_15J152/file/query-default-handler-file/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/system-data1:/tmp/test_file_15J152/file/query-default-handler-file/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/query-default-handler-file/.dirs/runtime
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file/.dirs/data/applications
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file/.dirs/config
1071s ok 30 /file/query-default-handler-file
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/system-config1:/tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/system-data1:/tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/runtime
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/data/applications
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/config
1071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_15J152/file/query-default-handler-file/.dirs/config to /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/config
1071s ok 31 /file/query-default-handler-file-async
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/system-config1:/tmp/test_file_15J152/file/query-default-handler-uri/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/system-data1:/tmp/test_file_15J152/file/query-default-handler-uri/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/runtime
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/data/applications
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/config
1071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_15J152/file/query-default-handler-file-async/.dirs/config to /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/config
1071s ok 32 /file/query-default-handler-uri
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/system-config1:/tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/system-data1:/tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/runtime
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/data/applications
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/config
1071s # GLib-GIO-DEBUG: desktop_file_dirs_lock: Resetting desktop app info dirs from /tmp/test_file_15J152/file/query-default-handler-uri/.dirs/config to /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/config
1071s # GLib-GIO-DEBUG: ensure_dir: Ensuring /tmp/test_file_15J152/file/query-default-handler-uri-async/.dirs/config
1071s ok 33 /file/query-default-handler-uri-async
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/system-config1:/tmp/test_file_15J152/file/enumerator-cancellation/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/system-data1:/tmp/test_file_15J152/file/enumerator-cancellation/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/enumerator-cancellation/.dirs/runtime
1071s ok 34 /file/enumerator-cancellation
1071s # Start of async-create-delete tests
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/system-config1:/tmp/test_file_15J152/file/async-create-delete/0/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/system-data1:/tmp/test_file_15J152/file/async-create-delete/0/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-create-delete/0/.dirs/runtime
1071s ok 35 /file/async-create-delete/0
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/system-config1:/tmp/test_file_15J152/file/async-create-delete/1/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/system-data1:/tmp/test_file_15J152/file/async-create-delete/1/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-create-delete/1/.dirs/runtime
1071s ok 36 /file/async-create-delete/1
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/system-config1:/tmp/test_file_15J152/file/async-create-delete/10/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/system-data1:/tmp/test_file_15J152/file/async-create-delete/10/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-create-delete/10/.dirs/runtime
1071s ok 37 /file/async-create-delete/10
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/system-config1:/tmp/test_file_15J152/file/async-create-delete/25/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/system-data1:/tmp/test_file_15J152/file/async-create-delete/25/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-create-delete/25/.dirs/runtime
1071s ok 38 /file/async-create-delete/25
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/system-config1:/tmp/test_file_15J152/file/async-create-delete/4096/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/system-data1:/tmp/test_file_15J152/file/async-create-delete/4096/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/async-create-delete/4096/.dirs/runtime
1071s ok 39 /file/async-create-delete/4096
1071s # End of async-create-delete tests
1071s # Start of replace-symlink tests
1071s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/home
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/cache
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/system-config1:/tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/system-config2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/config
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/system-data1:/tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/system-data2
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/data
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/state
1071s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/replace-symlink/using-etag/.dirs/runtime
1071s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2417
1071s # /file/replace-symlink/using-etag summary: Test that ETag checks work when replacing a file through a symlink
1071s # Using temporary directory /tmp/test_file_15J152/g_file_replace_symlink_using_etag_19F952
1071s # Executing: glib/file.test
1073s ok 40 /file/replace-symlink/using-etag
1073s # slow test /file/replace-symlink/using-etag executed in 2.04 secs
1073s # End of replace-symlink tests
1073s # Start of replace tests
1073s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/replace/write-only/.dirs/home
1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/replace/write-only/.dirs/cache
1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/replace/write-only/.dirs/system-config1:/tmp/test_file_15J152/file/replace/write-only/.dirs/system-config2
1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/replace/write-only/.dirs/config
1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/replace/write-only/.dirs/system-data1:/tmp/test_file_15J152/file/replace/write-only/.dirs/system-data2
1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/replace/write-only/.dirs/data
1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/replace/write-only/.dirs/state
1073s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/replace/write-only/.dirs/runtime
1073s # /file/replace/write-only summary: Test various situations for g_file_replace()
1073s # Current umask: 2
1073s # Test 0, using temporary directory /tmp/test_file_15J152/g_file_replace_RC9952
1073s # Test 1, using temporary directory /tmp/test_file_15J152/g_file_replace_L48952
1073s # Test 2, using temporary directory /tmp/test_file_15J152/g_file_replace_QZRA62
1073s # Test 3, using temporary directory /tmp/test_file_15J152/g_file_replace_00LC62
1073s # Test 4, using temporary directory /tmp/test_file_15J152/g_file_replace_1GMC62
1073s # Test 5, using temporary directory /tmp/test_file_15J152/g_file_replace_67LC62
1073s # Test 6, using temporary directory /tmp/test_file_15J152/g_file_replace_O0XC62
1073s # Test 7, using temporary directory /tmp/test_file_15J152/g_file_replace_K2XB62
1073s # Test 8, using temporary directory /tmp/test_file_15J152/g_file_replace_GUXB62
1073s # Test 9, using temporary directory /tmp/test_file_15J152/g_file_replace_0XXB62
1073s # Test 10, using temporary directory /tmp/test_file_15J152/g_file_replace_I80B62
1073s # Test 11, using temporary directory /tmp/test_file_15J152/g_file_replace_6MQ252
1073s # Test 12, using temporary directory /tmp/test_file_15J152/g_file_replace_QOQ252
1073s # Test 13, using temporary directory /tmp/test_file_15J152/g_file_replace_21R252
1073s # Test 14, using temporary directory /tmp/test_file_15J152/g_file_replace_WI2252
1073s # Test 15, using temporary directory /tmp/test_file_15J152/g_file_replace_I60152
1073s # Test 16, using temporary directory /tmp/test_file_15J152/g_file_replace_O0C252
1073s # Test 17, using temporary directory /tmp/test_file_15J152/g_file_replace_Z6Q352
1073s # Test 18, using temporary directory /tmp/test_file_15J152/g_file_replace_5CQ552
1074s # Test 19, using temporary directory /tmp/test_file_15J152/g_file_replace_VBV652
1074s # Test 20, using temporary directory /tmp/test_file_15J152/g_file_replace_FM0W52
1074s # Test 21, using temporary directory /tmp/test_file_15J152/g_file_replace_CJJW52
1074s # Test 22, using temporary directory /tmp/test_file_15J152/g_file_replace_IBNX52
1074s # Test 23, using temporary directory /tmp/test_file_15J152/g_file_replace_3ROX52
1074s # Test 24, using temporary directory /tmp/test_file_15J152/g_file_replace_I70X52
1074s # Test 25, using temporary directory /tmp/test_file_15J152/g_file_replace_CM4X52
1074s # Test 26, using temporary directory /tmp/test_file_15J152/g_file_replace_IB4X52
1074s # Test 27, using temporary directory /tmp/test_file_15J152/g_file_replace_9F4X52
1074s # Test 28, using temporary directory /tmp/test_file_15J152/g_file_replace_DCPZ52
1074s # Test 29, using temporary directory /tmp/test_file_15J152/g_file_replace_5S6Z52
1074s # Test 30, using temporary directory /tmp/test_file_15J152/g_file_replace_7V6Z52
1074s # Test 31, using temporary directory /tmp/test_file_15J152/g_file_replace_SM6Z52
1074s # Test 32, using temporary directory /tmp/test_file_15J152/g_file_replace_0WYY52
1074s # Test 33, using temporary directory /tmp/test_file_15J152/g_file_replace_GS8052
1074s # Test 34, using temporary directory /tmp/test_file_15J152/g_file_replace_LN8052
1074s # Test 35, using temporary directory /tmp/test_file_15J152/g_file_replace_ZC8052
1074s # Test 36, using temporary directory /tmp/test_file_15J152/g_file_replace_BPN152
1074s # Test 37, using temporary directory /tmp/test_file_15J152/g_file_replace_ZCK052
1074s # Test 38, using temporary directory /tmp/test_file_15J152/g_file_replace_B3Z052
1074s # Test 39, using temporary directory /tmp/test_file_15J152/g_file_replace_BUHR52
1074s # Test 40, using temporary directory /tmp/test_file_15J152/g_file_replace_72XQ52
1074s # Test 41, using temporary directory /tmp/test_file_15J152/g_file_replace_LP6S52
1074s # Test 42, using temporary directory /tmp/test_file_15J152/g_file_replace_ZU1T52
1074s # Test 43, using temporary directory /tmp/test_file_15J152/g_file_replace_DIJU52
1074s # Test 44, using temporary directory /tmp/test_file_15J152/g_file_replace_C7JT52
1074s # Test 45, using temporary directory /tmp/test_file_15J152/g_file_replace_6VST52
1074s # Test 46, using temporary directory /tmp/test_file_15J152/g_file_replace_33TV52
1074s # Test 47, using temporary directory /tmp/test_file_15J152/g_file_replace_FXTV52
1074s # Test 48, using temporary directory /tmp/test_file_15J152/g_file_replace_GNTU52
1074s # We do not have CAP_DAC_OVERRIDE or equivalent
1074s ok 41 /file/replace/write-only
1074s # slow test /file/replace/write-only executed in 0.80 secs
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/replace/read-write/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/replace/read-write/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/replace/read-write/.dirs/system-config1:/tmp/test_file_15J152/file/replace/read-write/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/replace/read-write/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/replace/read-write/.dirs/system-data1:/tmp/test_file_15J152/file/replace/read-write/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/replace/read-write/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/replace/read-write/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/replace/read-write/.dirs/runtime
1074s # /file/replace/read-write summary: Test various situations for g_file_replace()
1074s # Current umask: 2
1074s # Test 0, using temporary directory /tmp/test_file_15J152/g_file_replace_G11U52
1074s # Test 1, using temporary directory /tmp/test_file_15J152/g_file_replace_BS1U52
1074s # Test 2, using temporary directory /tmp/test_file_15J152/g_file_replace_RDB852
1074s # Test 3, using temporary directory /tmp/test_file_15J152/g_file_replace_S6R852
1074s # Test 4, using temporary directory /tmp/test_file_15J152/g_file_replace_VAS852
1074s # Test 5, using temporary directory /tmp/test_file_15J152/g_file_replace_VZR852
1074s # Test 6, using temporary directory /tmp/test_file_15J152/g_file_replace_EXE752
1074s # Test 7, using temporary directory /tmp/test_file_15J152/g_file_replace_5EL752
1074s # Test 8, using temporary directory /tmp/test_file_15J152/g_file_replace_PPM752
1074s # Test 9, using temporary directory /tmp/test_file_15J152/g_file_replace_STM752
1074s # Test 10, using temporary directory /tmp/test_file_15J152/g_file_replace_H8S752
1074s # Test 11, using temporary directory /tmp/test_file_15J152/g_file_replace_4EQ952
1074s # Test 12, using temporary directory /tmp/test_file_15J152/g_file_replace_TIQ952
1074s # Test 13, using temporary directory /tmp/test_file_15J152/g_file_replace_T7P952
1074s # Test 14, using temporary directory /tmp/test_file_15J152/g_file_replace_C6T852
1074s # Test 15, using temporary directory /tmp/test_file_15J152/g_file_replace_IU5852
1074s # Test 16, using temporary directory /tmp/test_file_15J152/g_file_replace_6J1A62
1074s # Test 17, using temporary directory /tmp/test_file_15J152/g_file_replace_SOYA62
1074s # Test 18, using temporary directory /tmp/test_file_15J152/g_file_replace_ZU4A62
1074s # Test 19, using temporary directory /tmp/test_file_15J152/g_file_replace_ZPAB62
1074s # Test 20, using temporary directory /tmp/test_file_15J152/g_file_replace_YOFA62
1074s # Test 21, using temporary directory /tmp/test_file_15J152/g_file_replace_DVEC62
1074s # Test 22, using temporary directory /tmp/test_file_15J152/g_file_replace_OHBC62
1074s # Test 23, using temporary directory /tmp/test_file_15J152/g_file_replace_A8AC62
1074s # Test 24, using temporary directory /tmp/test_file_15J152/g_file_replace_Y5OC62
1074s # Test 25, using temporary directory /tmp/test_file_15J152/g_file_replace_3GPB62
1074s # Test 26, using temporary directory /tmp/test_file_15J152/g_file_replace_WBPB62
1074s # Test 27, using temporary directory /tmp/test_file_15J152/g_file_replace_FFPB62
1074s # Test 28, using temporary directory /tmp/test_file_15J152/g_file_replace_4ROB62
1074s # Test 29, using temporary directory /tmp/test_file_15J152/g_file_replace_P82B62
1074s # Test 30, using temporary directory /tmp/test_file_15J152/g_file_replace_KX2B62
1074s # Test 31, using temporary directory /tmp/test_file_15J152/g_file_replace_902B62
1074s # Test 32, using temporary directory /tmp/test_file_15J152/g_file_replace_RJ5B62
1074s # Test 33, using temporary directory /tmp/test_file_15J152/g_file_replace_3TK252
1074s # Test 34, using temporary directory /tmp/test_file_15J152/g_file_replace_ZXK252
1074s # Test 35, using temporary directory /tmp/test_file_15J152/g_file_replace_GNK252
1074s # Test 36, using temporary directory /tmp/test_file_15J152/g_file_replace_7LX252
1074s # Test 37, using temporary directory /tmp/test_file_15J152/g_file_replace_AY1252
1074s # Test 38, using temporary directory /tmp/test_file_15J152/g_file_replace_2VY152
1074s # Test 39, using temporary directory /tmp/test_file_15J152/g_file_replace_1CD252
1074s # Test 40, using temporary directory /tmp/test_file_15J152/g_file_replace_3L0352
1074s # Test 41, using temporary directory /tmp/test_file_15J152/g_file_replace_7T8352
1074s # Test 42, using temporary directory /tmp/test_file_15J152/g_file_replace_MOH352
1074s # Test 43, using temporary directory /tmp/test_file_15J152/g_file_replace_GRF352
1074s # Test 44, using temporary directory /tmp/test_file_15J152/g_file_replace_5NC552
1074s # Test 45, using temporary directory /tmp/test_file_15J152/g_file_replace_3QC552
1074s # Test 46, using temporary directory /tmp/test_file_15J152/g_file_replace_GMU552
1074s # Test 47, using temporary directory /tmp/test_file_15J152/g_file_replace_3PU552
1074s # Test 48, using temporary directory /tmp/test_file_15J152/g_file_replace_52U552
1074s # We do not have CAP_DAC_OVERRIDE or equivalent
1074s ok 42 /file/replace/read-write
1074s # End of replace tests
1074s # Start of copy tests
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/copy/progress/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/copy/progress/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/copy/progress/.dirs/system-config1:/tmp/test_file_15J152/file/copy/progress/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/copy/progress/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/copy/progress/.dirs/system-data1:/tmp/test_file_15J152/file/copy/progress/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/copy/progress/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/copy/progress/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/copy/progress/.dirs/runtime
1074s ok 43 /file/copy/progress
1074s # End of copy tests
1074s # Start of writev tests
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/system-config1:/tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/system-data1:/tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/no-bytes-written/.dirs/runtime
1074s ok 44 /file/writev/no-bytes-written
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/system-config1:/tmp/test_file_15J152/file/writev/no-vectors/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/system-data1:/tmp/test_file_15J152/file/writev/no-vectors/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/no-vectors/.dirs/runtime
1074s ok 45 /file/writev/no-vectors
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/system-config1:/tmp/test_file_15J152/file/writev/empty-vectors/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/system-data1:/tmp/test_file_15J152/file/writev/empty-vectors/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/empty-vectors/.dirs/runtime
1074s ok 46 /file/writev/empty-vectors
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/system-config1:/tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/system-data1:/tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/too-big-vectors/.dirs/runtime
1074s ok 47 /file/writev/too-big-vectors
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/async/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/async/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/async/.dirs/system-config1:/tmp/test_file_15J152/file/writev/async/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/async/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/async/.dirs/system-data1:/tmp/test_file_15J152/file/writev/async/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/async/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/async/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/async/.dirs/runtime
1074s ok 48 /file/writev/async
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/async_all/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/async_all/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/async_all/.dirs/system-config1:/tmp/test_file_15J152/file/writev/async_all/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/async_all/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/async_all/.dirs/system-data1:/tmp/test_file_15J152/file/writev/async_all/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/async_all/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/async_all/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/async_all/.dirs/runtime
1074s ok 49 /file/writev/async_all
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/system-config1:/tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/system-data1:/tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/async_all-empty-vectors/.dirs/runtime
1074s ok 50 /file/writev/async_all-empty-vectors
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/system-config1:/tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/system-data1:/tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/data
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/state
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/async_all-no-vectors/.dirs/runtime
1074s ok 51 /file/writev/async_all-no-vectors
1074s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/home
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/cache
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/system-config1:/tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/system-config2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/config
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/system-data1:/tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/system-data2
1074s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/async_all-to-big-vectors/.dirs/runtime
1075s ok 52 /file/writev/async_all-to-big-vectors
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/system-config1:/tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/system-data1:/tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/writev/async_all-cancellation/.dirs/runtime
1075s ok 53 /file/writev/async_all-cancellation
1075s # End of writev tests
1075s # Start of from-uri tests
1075s ok - glib/file.test
1075s # Running test: glib/relation.test
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/system-config1:/tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/system-data1:/tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/from-uri/ignores-query-string/.dirs/runtime
1075s ok 54 /file/from-uri/ignores-query-string
1075s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/home
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/cache
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/system-config1:/tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/system-config2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/config
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/system-data1:/tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/system-data2
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/data
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/state
1075s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_file_15J152/file/from-uri/ignores-fragment/.dirs/runtime
1075s ok 55 /file/from-uri/ignores-fragment
1075s # End of from-uri tests
1075s # End of file tests
1075s TAP version 14
1075s # random seed: R02S2c4e9e9ade008ca5c8fea40af337e676
1075s 1..1
1075s # Start of glib tests
1075s ok - glib/relation.test
1075s # Running test: glib/markup-subparser.test
1075s ok - glib/markup-subparser.test
1075s # Running test: glib/type.test
1075s ok - glib/type.test
1075s # Running test: glib/unix-mounts.test
1075s ok - glib/unix-mounts.test
1075s # SUMMARY: total=323; passed=322; skipped=1; failed=0; user=142.4s; system=50.9s; maxrss=164272
1075s ok 1 /glib/relation
1075s # End of glib tests
1075s TAP version 14
1075s # random seed: R02S0f9705ebd496e93cbb871a05fb59379b
1075s 1..14
1075s # Start of glib tests
1075s # Start of markup tests
1075s # Start of subparser tests
1075s # Start of success tests
1075s ok 1 /glib/markup/subparser/success/0
1075s ok 2 /glib/markup/subparser/success/1
1075s ok 3 /glib/markup/subparser/success/2
1075s ok 4 /glib/markup/subparser/success/3
1075s ok 5 /glib/markup/subparser/success/4
1075s ok 6 /glib/markup/subparser/success/5
1075s ok 7 /glib/markup/subparser/success/6
1075s # End of success tests
1075s # Start of failure tests
1075s ok 8 /glib/markup/subparser/failure/0
1075s ok 9 /glib/markup/subparser/failure/1
1075s ok 10 /glib/markup/subparser/failure/2
1075s ok 11 /glib/markup/subparser/failure/3
1075s ok 12 /glib/markup/subparser/failure/4
1075s ok 13 /glib/markup/subparser/failure/5
1075s ok 14 /glib/markup/subparser/failure/6
1075s # End of failure tests
1075s # End of subparser tests
1075s # End of markup tests
1075s # End of glib tests
1075s TAP version 14
1075s # random seed: R02S880fe1c9b18f14110918ff4f09b83bd3
1075s 1..6
1075s # Start of type tests
1075s ok 1 /type/registration-serial
1075s ok 2 /type/interface-prerequisite
1075s ok 3 /type/interface-check
1075s ok 4 /type/next-base
1075s ok 5 /type/is-a
1075s # Invalid types can?t be queried.
1075s # Unclassed types can?t be queried.
1075s ok 6 /type/query
1075s # End of type tests
1075s TAP version 14
1075s # random seed: R02Se493e8d3250d4e8bcec5a14c80a9be9f
1075s 1..4
1075s # Start of unix-mounts tests
1075s ok 1 /unix-mounts/is-system-fs-type
1075s ok 2 /unix-mounts/is-system-device-path
1075s # /unix-mounts/get-mount-points summary: Basic test of g_unix_mount_points_get_from_file()
1075s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1075s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1075s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1075s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1075s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1075s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1075s # Icon: . GThemedIcon drive-removable-media drive-removable drive drive-removable-media-symbolic drive-removable-symbolic drive-symbolic
1075s # Icon: . GThemedIcon drive-removable-media-symbolic drive-removable-symbolic drive-symbolic drive-removable-media drive-removable drive
1075s ok 3 /unix-mounts/get-mount-points
1075s # /unix-mounts/get-mount-entries summary: Basic test of g_unix_mounts_get_from_file()
1075s ok 4 /unix-mounts/get-mount-entries
1075s # End of unix-mounts tests
1075s autopkgtest [09:41:57]: test installed-tests: -----------------------]
1076s installed-tests PASS
1076s autopkgtest [09:41:58]: test installed-tests: - - - - - - - - - - results - - - - - - - - - -
1076s autopkgtest [09:41:58]: test closure-refcount: preparing testbed
1077s Reading package lists...
1077s Building dependency tree...
1077s Reading state information...
1077s Starting pkgProblemResolver with broken count: 0
1077s Starting 2 pkgProblemResolver with broken count: 0
1077s Done
1077s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1078s autopkgtest [09:42:00]: test closure-refcount: [-----------------------
1078s Running test: glib/closure-refcount.test
1078s TAP version 14
1078s # random seed: R02Se393f940be8a295f53b3f1857d058db0
1078s 1..1
1078s # Start of closure tests
1078s # Init 0x2aa02932d40
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from thread2
1078s # Yielding from thread1
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from thread2
1078s # Yielding from thread1
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from thread1
1078s # Yielding from main thread
1078s # Yielding from thread2
1078s # Yielding from main thread
1078s # Yielding from thread1
1078s # Yielding from main thread
1078s # Yielding from thread1
1078s # Yielding from thread2
1078s # Yielding from main thread
1078s # Yielding from thread1
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from thread1
1078s # Yielding from main thread
1078s # Yielding from thread2
1078s # Yielding from main thread
1078s # Yielding from main thread
1078s # Yielding from thread2
1078s # Yielding from thread1
1078s # Yielding from main thread
1078s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread1
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread1
1079s # Yielding from thread2
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread2
1079s # Yielding from thread2
1079s # Yielding from thread2
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread1
1079s # Yielding from thread2
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread1
1079s # Yielding from thread2
1079s # Yielding from main thread
1079s # Yielding from thread2
1079s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from thread1
1080s # Yielding from thread2
1080s # Yielding from thread1
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from thread1
1080s # Yielding from main thread
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from thread1
1080s # Yielding from thread2
1080s # Yielding from thread2
1080s # Yielding from main thread
1080s # Yielding from thread2
1080s # Stopping
1080s # Stopped
1080s ok 1 /closure/refcount
1080s # slow test /closure/refcount executed in 2.06 secs
1080s # End of closure tests
1080s PASS: glib/closure-refcount.test
1080s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.8s; system=0.0s; maxrss=3664
1081s autopkgtest [09:42:03]: test closure-refcount: -----------------------]
1081s closure-refcount PASS
1081s autopkgtest [09:42:03]: test closure-refcount: - - - - - - - - - - results - - - - - - - - - -
1081s autopkgtest [09:42:03]: test debugcontroller: preparing testbed
1082s Reading package lists...
1082s Building dependency tree...
1082s Reading state information...
1082s Starting pkgProblemResolver with broken count: 0
1082s Starting 2 pkgProblemResolver with broken count: 0
1082s Done
1082s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1083s autopkgtest [09:42:05]: test debugcontroller: [-----------------------
1083s Running test: glib/debugcontroller.test
1083s TAP version 14
1083s # random seed: R02S890d0d77fc85394f2bd1df3c2b99ac95
1083s 1..3
1083s # Start of debug-controller tests
1083s # Start of dbus tests
1083s # /debug-controller/dbus/basic summary: Smoketest for construction and setting of a #GDebugControllerDBus.
1083s # GLib-GIO-DEBUG: Debug output enabled
1083s # GLib-GIO-DEBUG: Debug output disabled
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s ok 1 /debug-controller/dbus/basic
1083s # /debug-controller/dbus/duplicate summary: Test that creating a second #GDebugControllerDBus on the same D-Bus connection fails.
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s ok 2 /debug-controller/dbus/duplicate
1083s # /debug-controller/dbus/properties summary: Test getting and setting properties on a #GDebugControllerDBus.
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1083s # GLib-GIO-DEBUG: Debug output enabled
1083s # GLib-GIO-DEBUG: Debug output disabled
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1083s ok 3 /debug-controller/dbus/properties
1083s # End of dbus tests
1083s # End of debug-controller tests
1083s PASS: glib/debugcontroller.test
1083s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=6400
1084s autopkgtest [09:42:06]: test debugcontroller: -----------------------]
1084s debugcontroller PASS
1084s autopkgtest [09:42:06]: test debugcontroller: - - - - - - - - - - results - - - - - - - - - -
1084s autopkgtest [09:42:06]: test gdbus-server-auth: preparing testbed
1085s Reading package lists...
1085s Building dependency tree...
1085s Reading state information...
1085s Starting pkgProblemResolver with broken count: 0
1085s Starting 2 pkgProblemResolver with broken count: 0
1085s Done
1085s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1086s autopkgtest [09:42:08]: test gdbus-server-auth: [-----------------------
1086s Running test: glib/gdbus-server-auth.test
1086s TAP version 14
1086s # random seed: R02S9d901b4dcfd3ac4cd86929f6295fbf4f
1086s 1..9
1086s # Start of gdbus tests
1086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/home
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/cache
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/system-config2
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/config
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/system-data2
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/data
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/state
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/.dirs/runtime
1086s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-2FW252 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:false
1086s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-2FW252/dbus-Ge2KRiNH
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16424
1086s ok 1 /gdbus/server-auth
1086s # Start of server-auth tests
1086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/home
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/cache
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/system-config2
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/config
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/system-data2
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/data
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/state
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/abstract/.dirs/runtime
1086s # Testing GDBus server at unix:tmpdir=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-QR2152 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:true tcp:false
1086s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-QR2152/dbus-SA8aYAm3
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16424
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1086s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16424
1086s ok 2 /gdbus/server-auth/abstract
1086s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/home
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/cache
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/system-config2
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/config
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/system-data2
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/data
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/state
1086s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/tcp/.dirs/runtime
1086s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:false abstract:false tcp:true
1086s # Connectable address: tcp:host=127.0.0.1,port=45143
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1086s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1086s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1086s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1086s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1086s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1086s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1086s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1086s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1087s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1087s # GLib-GIO-DEBUG: Accepting "ANONYMOUS" authentication
1087s # GLib-GIO-DEBUG: Accepting "DBUS_COOKIE_SHA1" authentication
1087s # GLib-GIO-DEBUG: Accepting "EXTERNAL" authentication
1087s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1087s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1088s ok 3 /gdbus/server-auth/tcp
1088s # slow test /gdbus/server-auth/tcp executed in 1.16 secs
1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/home
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/cache
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/system-config2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/config
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/system-data2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/data
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/state
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/.dirs/runtime
1088s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-IOX652 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:false
1088s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-IOX652/dbus-aF3f7aN6
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16424
1088s ok 4 /gdbus/server-auth/anonymous
1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/home
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/cache
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/system-config2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/config
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/system-data2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/data
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/state
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/.dirs/runtime
1088s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-7QIX52 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1088s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-7QIX52/dbus-8TAp11jq
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1088s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16424
1088s ok 5 /gdbus/server-auth/external
1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/home
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/cache
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/system-config2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/config
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/system-data2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/data
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/state
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/.dirs/runtime
1088s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-9M7V52 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:false
1088s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-9M7V52/dbus-1JwyXngT
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16424
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1088s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16424
1088s ok 6 /gdbus/server-auth/sha1
1088s # Start of anonymous tests
1088s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/home
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/cache
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/system-config2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/config
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/system-data2
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/data
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/state
1088s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/anonymous/tcp/.dirs/runtime
1088s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:true sha1:false abstract:false tcp:true
1088s # Connectable address: tcp:host=127.0.0.1,port=45813
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1088s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1088s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1088s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1088s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1088s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Accepting ANONYMOUS authentication
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not ANONYMOUS
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1089s ok 7 /gdbus/server-auth/anonymous/tcp
1089s # slow test /gdbus/server-auth/anonymous/tcp executed in 1.04 secs
1089s # End of anonymous tests
1089s # Start of external tests
1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/home
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/cache
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/system-config2
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/config
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/system-data2
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/data
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/state
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/external/require-same-user/.dirs/runtime
1089s # Testing GDBus server at unix:dir=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-PVN052 / libdbus client, with flags: external:true anonymous:false sha1:false abstract:false tcp:false
1089s # Connectable address: unix:path=/tmp/test_gdbus-server-auth_W8U252/gdbus-server-auth-PVN052/dbus-s6hWGEQe
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says GDBus client is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 1000, pid 16424
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Rejecting "DBUS_COOKIE_SHA1" authentication: not EXTERNAL
1089s # GLib-GIO-DEBUG: Accepting EXTERNAL authentication
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=16424,uid=1000,gid=1000
1089s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 1000, pid 16424
1089s ok 8 /gdbus/server-auth/external/require-same-user
1089s # End of external tests
1089s # Start of sha1 tests
1089s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/home
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/cache
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/system-config1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/system-config2
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/config
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/system-data1:/tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/system-data2
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/data
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/state
1089s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-server-auth_W8U252/gdbus/server-auth/sha1/tcp/.dirs/runtime
1089s # Testing GDBus server at tcp:host=127.0.0.1 / libdbus client, with flags: external:false anonymous:false sha1:true abstract:false tcp:true
1089s # Connectable address: tcp:host=127.0.0.1,port=39269
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says GDBus client is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 0 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 1 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 2 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 3 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 4 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 5 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 6 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 7 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 8 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 9 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 10 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 11 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: Server says libdbus client 12 is uid 4294967295, pid -1
1089s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1089s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1089s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1089s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1089s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: Server says libdbus client 13 is uid 4294967295, pid -1
1090s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1090s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1090s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: Server says libdbus client 14 is uid 4294967295, pid -1
1090s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1090s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1090s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: Server says libdbus client 15 is uid 4294967295, pid -1
1090s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1090s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1090s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: Server says libdbus client 16 is uid 4294967295, pid -1
1090s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1090s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1090s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: Server says libdbus client 17 is uid 4294967295, pid -1
1090s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1090s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1090s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: Server says libdbus client 18 is uid 4294967295, pid -1
1090s # GLib-DEBUG: setenv()/putenv() are not thread-safe and should not be used after threads are created
1090s # GLib-GIO-DEBUG: Rejecting "ANONYMOUS" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Accepting DBUS_COOKIE_SHA1 authentication
1090s # GLib-GIO-DEBUG: Rejecting "EXTERNAL" authentication: not DBUS_COOKIE_SHA1
1090s # GLib-GIO-DEBUG: Authorizing peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: New connection from peer with credentials: GCredentials:linux-ucred:pid=0
1090s # GLib-GIO-DEBUG: Server says libdbus client 19 is uid 4294967295, pid -1
1090s ok 9 /gdbus/server-auth/sha1/tcp
1090s # slow test /gdbus/server-auth/sha1/tcp executed in 1.06 secs
1090s # End of sha1 tests
1090s # End of server-auth tests
1090s # End of gdbus tests
1090s PASS: glib/gdbus-server-auth.test
1090s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.1s; system=0.2s; maxrss=8576
1090s autopkgtest [09:42:12]: test gdbus-server-auth: -----------------------]
1091s gdbus-server-auth PASS
1091s autopkgtest [09:42:13]: test gdbus-server-auth: - - - - - - - - - - results - - - - - - - - - -
1091s autopkgtest [09:42:13]: test gdbus-threading: preparing testbed
1091s Reading package lists...
1091s Building dependency tree...
1091s Reading state information...
1092s Starting pkgProblemResolver with broken count: 0
1092s Starting 2 pkgProblemResolver with broken count: 0
1092s Done
1092s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1093s autopkgtest [09:42:15]: test gdbus-threading: [-----------------------
1093s Running test: glib/gdbus-threading.test
1093s TAP version 14
1093s # random seed: R02S14c4b072c89b38768ca8ae95355648e8
1093s 1..3
1093s # Start of gdbus tests
1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/home
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/cache
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/system-config2
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/config
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/system-data2
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/data
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/state
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_UFYV52/gdbus/delivery-in-thread/.dirs/runtime
1093s ok 1 /gdbus/delivery-in-thread
1093s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/home
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/cache
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/system-config1:/tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/system-config2
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/config
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/system-data1:/tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/system-data2
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/data
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/state
1093s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_UFYV52/gdbus/method-calls-in-thread/.dirs/runtime
1094s ok 2 /gdbus/method-calls-in-thread
1094s # slow test /gdbus/method-calls-in-thread executed in 0.86 secs
1094s # GLib-DEBUG: g_set_user_dirs: Setting HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/home
1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CACHE_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/cache
1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_DIRS to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/system-config1:/tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/system-config2
1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_CONFIG_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/config
1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_DIRS to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/system-data1:/tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/system-data2
1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_DATA_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/data
1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_STATE_HOME to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/state
1094s # GLib-DEBUG: g_set_user_dirs: Setting XDG_RUNTIME_DIR to /tmp/test_gdbus-threading_UFYV52/gdbus/threaded-singleton/.dirs/runtime
1094s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1094s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1094s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (2 rather than 1) in test_threaded_singleton(), sleeping
1094s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1094s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa80060a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa80060a0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa80060f0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8005fc0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa80070e0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1095s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1096s # GLib-GIO-DEBUG: refcount of 0x3ffa8001ae0 is not right (3 rather than 1) in test_threaded_singleton(), sleeping
1096s ok 3 /gdbus/threaded-singleton
1096s # slow test /gdbus/threaded-singleton executed in 1.75 secs
1096s # End of gdbus tests
1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1096s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1096s PASS: glib/gdbus-threading.test
1096s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.3s; maxrss=6296
1096s autopkgtest [09:42:18]: test gdbus-threading: -----------------------]
1096s gdbus-threading PASS
1096s autopkgtest [09:42:18]: test gdbus-threading: - - - - - - - - - - results - - - - - - - - - -
1097s autopkgtest [09:42:19]: test gmenumodel: preparing testbed
1097s Reading package lists...
1097s Building dependency tree...
1097s Reading state information...
1097s Starting pkgProblemResolver with broken count: 0
1097s Starting 2 pkgProblemResolver with broken count: 0
1097s Done
1098s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1098s autopkgtest [09:42:20]: test gmenumodel: [-----------------------
1099s Running test: glib/gmenumodel.test
1099s TAP version 14
1099s # random seed: R02Sf5bb0af3e0182203011263fb840a2373
1099s 1..15
1099s # Start of gmenu tests
1099s ok 1 /gmenu/equality
1100s ok 2 /gmenu/random
1100s # slow test /gmenu/random executed in 0.90 secs
1100s ok 3 /gmenu/attributes
1100s ok 4 /gmenu/links
1100s ok 5 /gmenu/mutable
1100s ok 6 /gmenu/convenience
1100s ok 7 /gmenu/menuitem
1100s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/861
1100s ok 8 /gmenu/input-validation
1100s # Start of dbus tests
1101s ok 9 /gmenu/dbus/roundtrip
1101s # slow test /gmenu/dbus/roundtrip executed in 1.10 secs
1102s ok 10 /gmenu/dbus/subscriptions
1102s ok 11 /gmenu/dbus/threaded
1102s # slow test /gmenu/dbus/threaded executed in 0.61 secs
1102s # Start of peer tests
1103s ok 12 /gmenu/dbus/peer/roundtrip
1103s # slow test /gmenu/dbus/peer/roundtrip executed in 1.02 secs
1104s Executing: glib/gmenumodel.test
1104s ok 13 /gmenu/dbus/peer/subscriptions
1104s # End of peer tests
1104s # Start of export tests
1104s # /gmenu/dbus/export/error-handling summary: Test that error handling of menu model export failure works
1104s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/3366
1104s ok 14 /gmenu/dbus/export/error-handling
1104s # End of export tests
1104s # End of dbus tests
1104s # Start of attributes tests
1104s ok 15 /gmenu/attributes/iterate
1104s # End of attributes tests
1104s # End of gmenu tests
1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1104s # GLib-DEBUG: unsetenv() is not thread-safe and should not be used after threads are created
1104s PASS: glib/gmenumodel.test
1104s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=2.1s; system=0.2s; maxrss=37212
1104s autopkgtest [09:42:26]: test gmenumodel: -----------------------]
1104s gmenumodel PASS
1104s autopkgtest [09:42:26]: test gmenumodel: - - - - - - - - - - results - - - - - - - - - -
1105s autopkgtest [09:42:27]: test mainloop: preparing testbed
1105s Reading package lists...
1105s Building dependency tree...
1105s Reading state information...
1105s Starting pkgProblemResolver with broken count: 0
1106s Starting 2 pkgProblemResolver with broken count: 0
1106s Done
1106s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1107s autopkgtest [09:42:29]: test mainloop: [-----------------------
1107s Running test: glib/mainloop.test
1107s TAP version 14
1107s # random seed: R02Sf3bf93e5ff8abbe50ed2f917e5afd437
1107s 1..45
1107s # Start of maincontext tests
1107s ok 1 /maincontext/basic
1107s # Add same-priority sources: 12
1107s # Find each source: 1
1107s # Remove in random order: 16
1107s ok 2 /maincontext/nsources_same_priority
1107s # Add different-priority sources: 13
1107s # Find each source: 1
1107s # Remove in random order: 18
1107s ok 3 /maincontext/nsources_different_priority
1107s # Add sources from threads: 67
1107s # Remove sources from threads: 41
1107s ok 4 /maincontext/nsources_threadpool
1107s ok 5 /maincontext/source_finalization
1107s # /maincontext/idle-once summary: Test g_idle_add_once() works
1107s ok 6 /maincontext/idle-once
1107s # /maincontext/timeout-once summary: Test g_timeout_add_once() works
1107s ok 7 /maincontext/timeout-once
1107s # Start of source_finalization_from_source tests
1107s # /maincontext/source_finalization_from_source/0 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 8 /maincontext/source_finalization_from_source/0
1107s # /maincontext/source_finalization_from_source/1 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 9 /maincontext/source_finalization_from_source/1
1107s # /maincontext/source_finalization_from_source/2 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 10 /maincontext/source_finalization_from_source/2
1107s # /maincontext/source_finalization_from_source/3 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 11 /maincontext/source_finalization_from_source/3
1107s # /maincontext/source_finalization_from_source/4 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 12 /maincontext/source_finalization_from_source/4
1107s # /maincontext/source_finalization_from_source/5 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 13 /maincontext/source_finalization_from_source/5
1107s # /maincontext/source_finalization_from_source/6 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 14 /maincontext/source_finalization_from_source/6
1107s # /maincontext/source_finalization_from_source/7 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 15 /maincontext/source_finalization_from_source/7
1107s # /maincontext/source_finalization_from_source/8 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 16 /maincontext/source_finalization_from_source/8
1107s # /maincontext/source_finalization_from_source/9 summary: Tests if freeing a GSource as part of another GSource during main context destruction works.
1107s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/merge_requests/1353
1107s ok 17 /maincontext/source_finalization_from_source/9
1107s # End of source_finalization_from_source tests
1107s # Start of source_finalization_from_dispatch tests
1107s # /maincontext/source_finalization_from_dispatch/0 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1107s ok 18 /maincontext/source_finalization_from_dispatch/0
1107s # /maincontext/source_finalization_from_dispatch/1 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1107s ok 19 /maincontext/source_finalization_from_dispatch/1
1107s # /maincontext/source_finalization_from_dispatch/2 summary: Tests if freeing a GSource as part of another GSource during main context iteration works.
1107s ok 20 /maincontext/source_finalization_from_dispatch/2
1107s # End of source_finalization_from_dispatch tests
1107s # End of maincontext tests
1107s # Start of mainloop tests
1107s ok 21 /mainloop/basic
1107s ok 22 /mainloop/timeouts # SKIP Not running timing heavy test
1107s ok 23 /mainloop/priorities
1108s ok 24 /mainloop/invoke
1108s # slow test /mainloop/invoke executed in 0.51 secs
1109s ok 25 /mainloop/child_sources
1109s # slow test /mainloop/child_sources executed in 1.29 secs
1111s ok 26 /mainloop/recursive_child_sources
1111s # slow test /mainloop/recursive_child_sources executed in 2.36 secs
1111s ok 27 /mainloop/recursive_loop_child_sources
1111s ok 28 /mainloop/swapping_child_sources
1111s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=701283
1111s ok 29 /mainloop/blocked_child_sources
1112s Executing: glib/mainloop.test
1112s ok 30 /mainloop/source_time
1112s # slow test /mainloop/source_time executed in 1.00 secs
1112s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=687098
1112s ok 31 /mainloop/overflow
1113s ok 32 /mainloop/ready-time
1113s # slow test /mainloop/ready-time executed in 0.50 secs
1113s ok 33 /mainloop/wakeup
1113s ok 34 /mainloop/remove-invalid
1113s ok 35 /mainloop/unref-while-pending
1113s ok 36 /mainloop/unix-fd
1113s ok 37 /mainloop/unix-fd-source
1113s ok 38 /mainloop/source-unix-fd-api
1113s ok 39 /mainloop/wait
1113s ok 40 /mainloop/unix-file-poll
1113s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1592
1113s ok 41 /mainloop/unix-fd-priority
1113s ok 42 /mainloop/nfds
1113s ok 43 /mainloop/steal-fd
1113s # Start of ownerless-polling tests
1113s ok 44 /mainloop/ownerless-polling/attach-first
1113s ok 45 /mainloop/ownerless-polling/pop-first
1113s # End of ownerless-polling tests
1113s # End of mainloop tests
1113s PASS: glib/mainloop.test
1113s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.3s; system=0.3s; maxrss=16008
1114s autopkgtest [09:42:36]: test mainloop: -----------------------]
1114s autopkgtest [09:42:36]: test mainloop: - - - - - - - - - - results - - - - - - - - - -
1114s mainloop PASS
1115s autopkgtest [09:42:37]: test memory-monitor-dbus: preparing testbed
1115s Reading package lists...
1115s Building dependency tree...
1115s Reading state information...
1115s Starting pkgProblemResolver with broken count: 0
1115s Starting 2 pkgProblemResolver with broken count: 0
1115s Done
1115s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1116s autopkgtest [09:42:38]: test memory-monitor-dbus: [-----------------------
1116s Running test: glib/memory-monitor-dbus.test
1117s TAP version 13
1117s ok 1 __main__.TestLowMemoryMonitor.test_low_memory_warning_signal
1117s # Received memory warning signal, level
1117s # Received memory warning signal, level
1117s # Received memory warning signal, level
1117s # Received memory warning signal, level
1117s 1..1
1117s PASS: glib/memory-monitor-dbus.test
1117s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.1s; maxrss=30464
1117s autopkgtest [09:42:39]: test memory-monitor-dbus: -----------------------]
1118s memory-monitor-dbus PASS
1118s autopkgtest [09:42:40]: test memory-monitor-dbus: - - - - - - - - - - results - - - - - - - - - -
1118s autopkgtest [09:42:40]: test socket: preparing testbed
1118s Reading package lists...
1118s Building dependency tree...
1118s Reading state information...
1119s Starting pkgProblemResolver with broken count: 0
1119s Starting 2 pkgProblemResolver with broken count: 0
1119s Done
1119s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1120s autopkgtest [09:42:42]: test socket: [-----------------------
1120s Running test: glib/socket.test
1120s TAP version 14
1120s # random seed: R02Sb4d8c1c9d42aca0a26c83edc2aea2b85
1120s 1..28
1120s # Start of socket tests
1121s ok 1 /socket/ipv4_sync
1121s # slow test /socket/ipv4_sync executed in 1.00 secs
1122s ok 2 /socket/ipv4_async
1122s # slow test /socket/ipv4_async executed in 1.01 secs
1122s ok 3 /socket/ipv6_sync
1122s ok 4 /socket/ipv6_async
1122s ok 5 /socket/ipv6_v4mapped
1123s ok 6 /socket/close_graceful
1123s # slow test /socket/close_graceful executed in 1.00 secs
1123s ok 7 /socket/timed_wait # SKIP Not running timing heavy test
1123s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=741707
1123s ok 8 /socket/fd_reuse
1123s ok 9 /socket/address
1123s ok 10 /socket/unix-from-fd
1123s ok 11 /socket/unix-connection
1123s ok 12 /socket/unix-connection-ancillary-data
1123s ok 13 /socket/source-postmortem
1123s ok 14 /socket/read_write
1123s ok 15 /socket/read_writev
1123s # /socket/receive_bytes summary: Test basic functionality of g_socket_receive_bytes()
1123s ok 16 /socket/receive_bytes
1123s # /socket/receive_bytes_from summary: Test basic functionality of g_socket_receive_bytes_from()
1123s ok 17 /socket/receive_bytes_from
1123s # Start of ipv4_sync tests
1123s ok 18 /socket/ipv4_sync/datagram
1123s # Start of datagram tests
1124s ok 19 /socket/ipv4_sync/datagram/timeouts
1124s # slow test /socket/ipv4_sync/datagram/timeouts executed in 1.10 secs
1124s # End of datagram tests
1124s # End of ipv4_sync tests
1124s # Start of ipv6_sync tests
1124s ok 20 /socket/ipv6_sync/datagram
1124s # Start of datagram tests
1125s Executing: glib/socket.test
1125s ok 21 /socket/ipv6_sync/datagram/timeouts
1125s # slow test /socket/ipv6_sync/datagram/timeouts executed in 1.10 secs
1125s # End of datagram tests
1125s # End of ipv6_sync tests
1125s # Start of reuse tests
1125s ok 22 /socket/reuse/tcp
1125s ok 23 /socket/reuse/udp
1125s # End of reuse tests
1125s # Start of get_available tests
1125s ok 24 /socket/get_available/datagram
1125s ok 25 /socket/get_available/stream
1125s # End of get_available tests
1125s # Start of credentials tests
1125s # Supported on this OS: GCredentials:linux-ucred:pid=0
1125s ok 26 /socket/credentials/tcp_client
1125s # Supported on this OS: GCredentials:linux-ucred:pid=0
1125s ok 27 /socket/credentials/tcp_server
1125s # Supported on this OS: GCredentials:linux-ucred:pid=18288,uid=1000,gid=1000
1125s ok 28 /socket/credentials/unix_socketpair
1125s # End of credentials tests
1125s # End of socket tests
1125s PASS: glib/socket.test
1125s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=5636
1125s autopkgtest [09:42:47]: test socket: -----------------------]
1126s socket PASS
1126s autopkgtest [09:42:48]: test socket: - - - - - - - - - - results - - - - - - - - - -
1126s autopkgtest [09:42:48]: test testfilemonitor: preparing testbed
1127s Reading package lists...
1127s Building dependency tree...
1127s Reading state information...
1127s Starting pkgProblemResolver with broken count: 0
1127s Starting 2 pkgProblemResolver with broken count: 0
1127s Done
1127s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1128s autopkgtest [09:42:50]: test testfilemonitor: [-----------------------
1128s Running test: glib/testfilemonitor.test
1128s TAP version 14
1128s # random seed: R02S19397b8d6391f242a1875481a0cef96d
1128s 1..8
1128s # Start of monitor tests
1128s # GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
1128s # Using temporary directory: /tmp/gio-test-testfilemonitor_9W6A62
1128s # Using GFileMonitor GInotifyFileMonitor
1130s ok 1 /monitor/atomic-replace
1130s # slow test /monitor/atomic-replace executed in 2.01 secs
1130s # Using temporary directory: /tmp/gio-test-testfilemonitor_W4BB62
1130s # Using GFileMonitor GInotifyFileMonitor
1133s ok 2 /monitor/file-changes
1133s # slow test /monitor/file-changes executed in 2.50 secs
1133s # Using temporary directory: /tmp/gio-test-testfilemonitor_1DGZ52
1133s # Using GFileMonitor GInotifyFileMonitor
1134s Executing: glib/testfilemonitor.test
1136s ok 3 /monitor/dir-monitor
1136s # slow test /monitor/dir-monitor executed in 3.50 secs
1136s # Using temporary directory: /tmp/gio-test-testfilemonitor_W4HB62
1136s # Using GFileMonitor GInotifyFileMonitor
1139s Executing: glib/testfilemonitor.test
1144s Executing: glib/testfilemonitor.test
1149s Executing: glib/testfilemonitor.test
1154s Executing: glib/testfilemonitor.test
1159s Executing: glib/testfilemonitor.test
1161s ok 4 /monitor/dir-not-existent
1161s # slow test /monitor/dir-not-existent executed in 25.03 secs
1161s # Using temporary directory: /tmp/gio-test-testfilemonitor_YKTA62
1161s # Using GFileMonitor 0 GInotifyFileMonitor
1161s # Using GFileMonitor 1 GInotifyFileMonitor
1163s ok 5 /monitor/cross-dir-moves
1163s # slow test /monitor/cross-dir-moves executed in 2.00 secs
1163s # Using temporary directory: /tmp/gio-test-testfilemonitor_HQVA62
1163s # /monitor/finalize-in-callback summary: Test that finalization of a GFileMonitor in one of its callbacks doesn?t cause a deadlock.
1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/1941
1163s ok 6 /monitor/finalize-in-callback
1163s # Using temporary directory: /tmp/gio-test-testfilemonitor_GYQA62
1163s # /monitor/root summary: Test that GFileMonitor can monitor the root directory.
1163s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/3241
1163s ok 7 /monitor/root
1163s # Start of file tests
1163s # Using temporary directory: /tmp/gio-test-testfilemonitor_7CSA62
1163s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=755721
1163s # Running with hard link tests
1163s # Using GFileMonitor GInotifyFileMonitor
1164s Executing: glib/testfilemonitor.test
1167s # Event 0 at expected index 7 skipped because it is marked as optional
1167s # Event 2 at expected index 11 skipped because it is marked as optional
1167s ok 8 /monitor/file/hard-links
1167s # slow test /monitor/file/hard-links executed in 3.50 secs
1167s # End of file tests
1167s # End of monitor tests
1167s PASS: glib/testfilemonitor.test
1167s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.1s; maxrss=6048
1167s autopkgtest [09:43:29]: test testfilemonitor: -----------------------]
1168s autopkgtest [09:43:30]: test testfilemonitor: - - - - - - - - - - results - - - - - - - - - -
1168s testfilemonitor PASS
1168s autopkgtest [09:43:30]: test thread-pool-slow: preparing testbed
1168s Reading package lists...
1168s Building dependency tree...
1168s Reading state information...
1169s Starting pkgProblemResolver with broken count: 0
1169s Starting 2 pkgProblemResolver with broken count: 0
1169s Done
1169s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1170s autopkgtest [09:43:32]: test thread-pool-slow: [-----------------------
1170s Running test: glib/thread-pool-slow.test
1170s TAP version 14
1170s # random seed: R02Se8428ed1d76f7e210ffe4a1d468cfee9
1170s 1..7
1170s # Start of threadpool tests
1170s ok 1 /threadpool/functions
1170s ok 2 /threadpool/stop-unused
1170s # slow test /threadpool/stop-unused executed in 0.51 secs
1170s ok 3 /threadpool/pools
1170s # [unsorted] ===> pushed new thread with id:71, number of threads:1, unprocessed:1
1170s # [unsorted] ===> pushed new thread with id:38, number of threads:2, unprocessed:2
1170s # [unsorted] ===> pushed new thread with id:37, number of threads:3, unprocessed:3
1170s # [unsorted] ===> pushed new thread with id:61, number of threads:4, unprocessed:4
1170s # [unsorted] ===> pushed new thread with id:88, number of threads:5, unprocessed:5
1170s # [unsorted] ===> pushed new thread with id:10, number of threads:6, unprocessed:6
1170s # [unsorted] ===> pushed new thread with id:35, number of threads:7, unprocessed:7
1170s # [unsorted] ===> pushed new thread with id:91, number of threads:8, unprocessed:8
1170s # [unsorted] ===> pushed new thread with id:81, number of threads:9, unprocessed:9
1170s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:5
1170s # [unsorted] ===> pushed new thread with id:79, number of threads:10, unprocessed:5
1170s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:6
1170s # [unsorted] ===> pushed new thread with id:49, number of threads:10, unprocessed:6
1170s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:5
1170s # [unsorted] ===> pushed new thread with id:13, number of threads:10, unprocessed:6
1170s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:7
1170s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:7
1170s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:8
1170s # [unsorted] ===> pushed new thread with id:64, number of threads:10, unprocessed:9
1170s # [unsorted] ===> pushed new thread with id:5, number of threads:10, unprocessed:10
1170s # [unsorted] ===> pushed new thread with id:29, number of threads:10, unprocessed:11
1170s # [unsorted] ===> pushed new thread with id:37, number of threads:10, unprocessed:12
1170s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:13
1170s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:14
1170s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:15
1170s # [unsorted] ===> pushed new thread with id:40, number of threads:10, unprocessed:16
1170s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:17
1170s # [unsorted] ===> pushed new thread with id:47, number of threads:10, unprocessed:18
1170s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:19
1170s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:20
1170s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:21
1170s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:22
1170s # [unsorted] ===> pushed new thread with id:7, number of threads:10, unprocessed:23
1170s # [unsorted] ===> pushed new thread with id:77, number of threads:10, unprocessed:24
1170s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:25
1170s # [unsorted] ===> pushed new thread with id:95, number of threads:10, unprocessed:26
1170s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:27
1170s # [unsorted] ===> pushed new thread with id:52, number of threads:10, unprocessed:28
1170s # [unsorted] ===> pushed new thread with id:70, number of threads:10, unprocessed:29
1170s # [unsorted] ===> pushed new thread with id:78, number of threads:10, unprocessed:30
1170s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:31
1170s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:32
1170s # [unsorted] ===> pushed new thread with id:39, number of threads:10, unprocessed:33
1170s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:34
1170s # [unsorted] ===> pushed new thread with id:68, number of threads:10, unprocessed:35
1170s # [unsorted] ===> pushed new thread with id:35, number of threads:10, unprocessed:36
1170s # [unsorted] ===> pushed new thread with id:51, number of threads:10, unprocessed:37
1170s # [unsorted] ===> pushed new thread with id:53, number of threads:10, unprocessed:38
1170s # [unsorted] ===> pushed new thread with id:94, number of threads:10, unprocessed:39
1170s # [unsorted] ===> pushed new thread with id:20, number of threads:10, unprocessed:40
1170s # [unsorted] ===> pushed new thread with id:14, number of threads:10, unprocessed:41
1170s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:42
1170s # [unsorted] ===> pushed new thread with id:71, number of threads:10, unprocessed:43
1170s # [unsorted] ===> pushed new thread with id:45, number of threads:10, unprocessed:44
1170s # [unsorted] ===> pushed new thread with id:88, number of threads:10, unprocessed:45
1170s # [unsorted] ===> pushed new thread with id:80, number of threads:10, unprocessed:46
1170s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:47
1170s # [unsorted] ===> pushed new thread with id:3, number of threads:10, unprocessed:48
1170s # [unsorted] ===> pushed new thread with id:62, number of threads:10, unprocessed:49
1170s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:50
1170s # [unsorted] ===> pushed new thread with id:54, number of threads:10, unprocessed:51
1170s # [unsorted] ===> pushed new thread with id:48, number of threads:10, unprocessed:52
1170s # [unsorted] ===> pushed new thread with id:97, number of threads:10, unprocessed:53
1170s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:54
1170s # [unsorted] ===> pushed new thread with id:65, number of threads:10, unprocessed:55
1170s # [unsorted] ===> pushed new thread with id:72, number of threads:10, unprocessed:56
1170s # [unsorted] ===> pushed new thread with id:6, number of threads:10, unprocessed:57
1170s # [unsorted] ===> pushed new thread with id:55, number of threads:10, unprocessed:58
1170s # [unsorted] ===> pushed new thread with id:10, number of threads:10, unprocessed:59
1170s # [unsorted] ===> pushed new thread with id:93, number of threads:10, unprocessed:60
1170s # [unsorted] ===> pushed new thread with id:31, number of threads:10, unprocessed:61
1170s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:62
1170s # [unsorted] ===> pushed new thread with id:90, number of threads:10, unprocessed:63
1170s # [unsorted] ===> pushed new thread with id:42, number of threads:10, unprocessed:64
1170s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:65
1170s # [unsorted] ===> pushed new thread with id:99, number of threads:10, unprocessed:66
1170s # [unsorted] ===> pushed new thread with id:74, number of threads:10, unprocessed:67
1170s # [unsorted] ===> pushed new thread with id:81, number of threads:10, unprocessed:68
1170s # [unsorted] ===> pushed new thread with id:16, number of threads:10, unprocessed:69
1170s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:70
1170s # [unsorted] ===> pushed new thread with id:24, number of threads:10, unprocessed:71
1170s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:72
1170s # [unsorted] ===> pushed new thread with id:9, number of threads:10, unprocessed:73
1170s # [unsorted] ===> pushed new thread with id:89, number of threads:10, unprocessed:74
1170s # [unsorted] ===> pushed new thread with id:17, number of threads:10, unprocessed:75
1170s # [unsorted] ===> pushed new thread with id:8, number of threads:10, unprocessed:76
1170s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:77
1170s # [unsorted] ===> pushed new thread with id:25, number of threads:10, unprocessed:78
1170s # [unsorted] ===> pushed new thread with id:41, number of threads:10, unprocessed:79
1170s # [unsorted] ===> pushed new thread with id:21, number of threads:10, unprocessed:80
1170s # [unsorted] ===> pushed new thread with id:58, number of threads:10, unprocessed:81
1170s # [unsorted] ===> pushed new thread with id:76, number of threads:10, unprocessed:82
1170s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:83
1170s # [unsorted] ===> pushed new thread with id:86, number of threads:10, unprocessed:84
1170s # [unsorted] ===> pushed new thread with id:36, number of threads:10, unprocessed:85
1170s # [unsorted] ===> pushed new thread with id:98, number of threads:10, unprocessed:86
1170s # [unsorted] ===> pushed new thread with id:4, number of threads:10, unprocessed:87
1170s # [unsorted] ===> pushed new thread with id:91, number of threads:10, unprocessed:88
1170s # [unsorted] ===> pushed new thread with id:33, number of threads:10, unprocessed:89
1170s # [unsorted] ===> pushed new thread with id:83, number of threads:10, unprocessed:90
1170s ok 4 /threadpool/no-sort
1170s # [ sorted] ===> pushed new thread with id:45, number of threads:0, unprocessed:1
1170s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:2
1170s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:3
1170s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:4
1170s # [ sorted] ===> pushed new thread with id:72, number of threads:0, unprocessed:5
1170s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:6
1170s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:7
1170s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:8
1170s # [ sorted] ===> pushed new thread with id:97, number of threads:0, unprocessed:9
1170s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:10
1170s # [ sorted] ===> pushed new thread with id:70, number of threads:0, unprocessed:11
1170s # [ sorted] ===> pushed new thread with id:20, number of threads:0, unprocessed:12
1170s # [ sorted] ===> pushed new thread with id:71, number of threads:0, unprocessed:13
1170s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:14
1171s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:15
1171s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:16
1171s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:17
1171s # [ sorted] ===> pushed new thread with id:10, number of threads:0, unprocessed:18
1171s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:19
1171s # [ sorted] ===> pushed new thread with id:62, number of threads:0, unprocessed:20
1171s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:21
1171s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:22
1171s # [ sorted] ===> pushed new thread with id:11, number of threads:0, unprocessed:23
1171s # [ sorted] ===> pushed new thread with id:4, number of threads:0, unprocessed:24
1171s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:25
1171s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:26
1171s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:27
1171s # [ sorted] ===> pushed new thread with id:6, number of threads:0, unprocessed:28
1171s # [ sorted] ===> pushed new thread with id:8, number of threads:0, unprocessed:29
1171s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:30
1171s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:31
1171s # [ sorted] ===> pushed new thread with id:89, number of threads:0, unprocessed:32
1171s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:33
1171s # [ sorted] ===> pushed new thread with id:67, number of threads:0, unprocessed:34
1171s # [ sorted] ===> pushed new thread with id:30, number of threads:0, unprocessed:35
1171s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:36
1171s # [ sorted] ===> pushed new thread with id:56, number of threads:0, unprocessed:37
1171s # [ sorted] ===> pushed new thread with id:90, number of threads:0, unprocessed:38
1171s # [ sorted] ===> pushed new thread with id:14, number of threads:0, unprocessed:39
1171s # [ sorted] ===> pushed new thread with id:55, number of threads:0, unprocessed:40
1171s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:41
1171s # [ sorted] ===> pushed new thread with id:73, number of threads:0, unprocessed:42
1171s # [ sorted] ===> pushed new thread with id:26, number of threads:0, unprocessed:43
1171s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:44
1171s # [ sorted] ===> pushed new thread with id:98, number of threads:0, unprocessed:45
1171s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:46
1171s # [ sorted] ===> pushed new thread with id:94, number of threads:0, unprocessed:47
1171s # [ sorted] ===> pushed new thread with id:58, number of threads:0, unprocessed:48
1171s # [ sorted] ===> pushed new thread with id:61, number of threads:0, unprocessed:49
1171s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:50
1171s # [ sorted] ===> pushed new thread with id:36, number of threads:0, unprocessed:51
1171s # [ sorted] ===> pushed new thread with id:28, number of threads:0, unprocessed:52
1171s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:53
1171s # [ sorted] ===> pushed new thread with id:35, number of threads:0, unprocessed:54
1171s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:55
1171s # [ sorted] ===> pushed new thread with id:100, number of threads:0, unprocessed:56
1171s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:57
1171s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:58
1171s # [ sorted] ===> pushed new thread with id:7, number of threads:0, unprocessed:59
1171s # [ sorted] ===> pushed new thread with id:68, number of threads:0, unprocessed:60
1171s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:61
1171s # [ sorted] ===> pushed new thread with id:95, number of threads:0, unprocessed:62
1171s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:63
1171s # [ sorted] ===> pushed new thread with id:38, number of threads:0, unprocessed:64
1171s # [ sorted] ===> pushed new thread with id:18, number of threads:0, unprocessed:65
1171s # [ sorted] ===> pushed new thread with id:12, number of threads:0, unprocessed:66
1171s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:67
1171s # [ sorted] ===> pushed new thread with id:15, number of threads:0, unprocessed:68
1171s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:69
1171s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:70
1171s # [ sorted] ===> pushed new thread with id:31, number of threads:0, unprocessed:71
1171s # [ sorted] ===> pushed new thread with id:88, number of threads:0, unprocessed:72
1171s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:73
1171s # [ sorted] ===> pushed new thread with id:53, number of threads:0, unprocessed:74
1171s # [ sorted] ===> pushed new thread with id:92, number of threads:0, unprocessed:75
1171s # [ sorted] ===> pushed new thread with id:85, number of threads:0, unprocessed:76
1171s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:77
1171s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:78
1171s # [ sorted] ===> pushed new thread with id:93, number of threads:0, unprocessed:79
1171s # [ sorted] ===> pushed new thread with id:32, number of threads:0, unprocessed:80
1171s # [ sorted] ===> pushed new thread with id:25, number of threads:0, unprocessed:81
1171s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:82
1171s # [ sorted] ===> pushed new thread with id:76, number of threads:0, unprocessed:83
1171s # [ sorted] ===> pushed new thread with id:79, number of threads:0, unprocessed:84
1171s # [ sorted] ===> pushed new thread with id:33, number of threads:0, unprocessed:85
1171s # [ sorted] ===> pushed new thread with id:66, number of threads:0, unprocessed:86
1171s # [ sorted] ===> pushed new thread with id:49, number of threads:0, unprocessed:87
1171s # [ sorted] ===> pushed new thread with id:96, number of threads:0, unprocessed:88
1171s # [ sorted] ===> pushed new thread with id:22, number of threads:0, unprocessed:89
1171s # [ sorted] ===> pushed new thread with id:82, number of threads:0, unprocessed:90
1171s # [ sorted] ===> pushed new thread with id:48, number of threads:0, unprocessed:91
1171s # [ sorted] ===> pushed new thread with id:34, number of threads:0, unprocessed:92
1171s # [ sorted] ===> pushed new thread with id:75, number of threads:0, unprocessed:93
1171s # [ sorted] ===> pushed new thread with id:24, number of threads:0, unprocessed:94
1171s # [ sorted] ===> pushed new thread with id:5, number of threads:0, unprocessed:95
1171s # [ sorted] ===> pushed new thread with id:9, number of threads:0, unprocessed:96
1171s # [ sorted] ===> pushed new thread with id:74, number of threads:0, unprocessed:97
1171s # [ sorted] ===> pushed new thread with id:57, number of threads:0, unprocessed:98
1171s # [ sorted] ===> pushed new thread with id:51, number of threads:0, unprocessed:99
1171s # [ sorted] ===> pushed new thread with id:54, number of threads:0, unprocessed:100
1171s # Starting thread pool processing
1171s ok 5 /threadpool/sort
1171s ok 6 /threadpool/stop-unused-multiple
1171s # slow test /threadpool/stop-unused-multiple executed in 0.51 secs
1171s # Pool idle thread count: 0, unprocessed jobs: 50
1171s # Pool idle thread count: 0, unprocessed jobs: 0
1171s # Pool idle thread count: 0, unprocessed jobs: 0
1172s # Pool idle thread count: 10, unprocessed jobs: 0
1172s # Pool idle thread count: 10, unprocessed jobs: 0
1172s # Pool idle thread count: 10, unprocessed jobs: 0
1172s # Pool idle thread count: 10, unprocessed jobs: 0
1173s # Pool idle thread count: 10, unprocessed jobs: 0
1173s # Pool idle thread count: 10, unprocessed jobs: 0
1173s # Pool idle thread count: 10, unprocessed jobs: 0
1173s # Pool idle thread count: 10, unprocessed jobs: 0
1174s # Pool idle thread count: 10, unprocessed jobs: 0
1174s # Pool idle thread count: 10, unprocessed jobs: 0
1174s # Pool idle thread count: 10, unprocessed jobs: 0
1174s # Pool idle thread count: 10, unprocessed jobs: 0
1175s # Pool idle thread count: 10, unprocessed jobs: 0
1175s # Pool idle thread count: 10, unprocessed jobs: 0
1175s # Pool idle thread count: 10, unprocessed jobs: 0
1175s # Pool idle thread count: 10, unprocessed jobs: 0
1176s Executing: glib/thread-pool-slow.test
1176s # Pool idle thread count: 10, unprocessed jobs: 0
1176s # Pool idle thread count: 10, unprocessed jobs: 0
1176s # Pool idle thread count: 10, unprocessed jobs: 0
1176s # Pool idle thread count: 10, unprocessed jobs: 0
1177s # Pool idle thread count: 10, unprocessed jobs: 0
1177s # Pool idle thread count: 10, unprocessed jobs: 0
1177s # Pool idle thread count: 10, unprocessed jobs: 0
1177s # Pool idle thread count: 10, unprocessed jobs: 0
1178s # Pool idle thread count: 10, unprocessed jobs: 0
1178s # Pool idle thread count: 10, unprocessed jobs: 0
1178s # Pool idle thread count: 10, unprocessed jobs: 0
1178s # Pool idle thread count: 10, unprocessed jobs: 0
1179s # Pool idle thread count: 10, unprocessed jobs: 0
1179s # Pool idle thread count: 10, unprocessed jobs: 0
1179s # Pool idle thread count: 10, unprocessed jobs: 0
1179s # Pool idle thread count: 10, unprocessed jobs: 0
1180s # Pool idle thread count: 10, unprocessed jobs: 2
1180s # Pool idle thread count: 10, unprocessed jobs: 2
1180s # Pool idle thread count: 8, unprocessed jobs: 0
1180s # Pool idle thread count: 8, unprocessed jobs: 0
1180s # Pool idle thread count: 10, unprocessed jobs: 0
1180s # Pool idle thread count: 10, unprocessed jobs: 0
1181s Executing: glib/thread-pool-slow.test
1181s # Pool idle thread count: 10, unprocessed jobs: 0
1181s # Pool idle thread count: 10, unprocessed jobs: 0
1181s # Pool idle thread count: 10, unprocessed jobs: 0
1181s # Pool idle thread count: 10, unprocessed jobs: 0
1182s # Pool idle thread count: 2, unprocessed jobs: 0
1182s # Pool idle thread count: 2, unprocessed jobs: 0
1182s # Pool idle thread count: 2, unprocessed jobs: 0
1182s # Pool idle thread count: 2, unprocessed jobs: 0
1183s # Pool idle thread count: 2, unprocessed jobs: 0
1183s # Pool idle thread count: 2, unprocessed jobs: 0
1183s # Pool idle thread count: 2, unprocessed jobs: 0
1183s # Pool idle thread count: 2, unprocessed jobs: 0
1184s # Pool idle thread count: 2, unprocessed jobs: 0
1184s # Pool idle thread count: 2, unprocessed jobs: 0
1184s # Pool idle thread count: 2, unprocessed jobs: 0
1184s # Pool idle thread count: 2, unprocessed jobs: 0
1185s # Pool idle thread count: 2, unprocessed jobs: 0
1185s # Pool idle thread count: 2, unprocessed jobs: 0
1185s # Pool idle thread count: 2, unprocessed jobs: 0
1185s # Pool idle thread count: 2, unprocessed jobs: 0
1186s Executing: glib/thread-pool-slow.test
1186s # Pool idle thread count: 2, unprocessed jobs: 0
1186s # Pool idle thread count: 2, unprocessed jobs: 0
1186s # Pool idle thread count: 2, unprocessed jobs: 0
1186s # Pool idle thread count: 2, unprocessed jobs: 0
1187s # Pool idle thread count: 2, unprocessed jobs: 0
1187s # Pool idle thread count: 2, unprocessed jobs: 0
1187s # Pool idle thread count: 2, unprocessed jobs: 0
1187s # Pool idle thread count: 2, unprocessed jobs: 0
1188s # Pool idle thread count: 2, unprocessed jobs: 0
1188s # Pool idle thread count: 2, unprocessed jobs: 0
1188s # Pool idle thread count: 2, unprocessed jobs: 0
1188s # Pool idle thread count: 2, unprocessed jobs: 0
1189s # Pool idle thread count: 2, unprocessed jobs: 0
1189s # Pool idle thread count: 2, unprocessed jobs: 0
1189s # Pool idle thread count: 2, unprocessed jobs: 0
1189s # Pool idle thread count: 2, unprocessed jobs: 0
1190s # Pool idle thread count: 2, unprocessed jobs: 0
1190s # Pool idle thread count: 2, unprocessed jobs: 0
1190s ok 7 /threadpool/idle-time
1190s # slow test /threadpool/idle-time executed in 19.53 secs
1190s # End of threadpool tests
1190s PASS: glib/thread-pool-slow.test
1190s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.4s; system=0.0s; maxrss=4200
1191s autopkgtest [09:43:53]: test thread-pool-slow: -----------------------]
1191s autopkgtest [09:43:53]: test thread-pool-slow: - - - - - - - - - - results - - - - - - - - - -
1191s thread-pool-slow PASS
1192s autopkgtest [09:43:54]: test threadtests: preparing testbed
1192s Reading package lists...
1192s Building dependency tree...
1192s Reading state information...
1192s Starting pkgProblemResolver with broken count: 0
1192s Starting 2 pkgProblemResolver with broken count: 0
1192s Done
1193s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1194s autopkgtest [09:43:56]: test threadtests: [-----------------------
1194s Running test: glib/threadtests.test
1194s TAP version 14
1194s # random seed: R02S8f2bcd84b109443a1ec24ce66da76707
1194s 1..5
1194s # Start of GObject tests
1194s ok 1 /GObject/threaded-object-init
1195s ok 2 /GObject/threaded-weak-ref
1195s # slow test /GObject/threaded-weak-ref executed in 0.80 secs
1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/2394
1195s # /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
1195s ok 3 /GObject/threaded-toggle-notify
1195s ok 4 /GObject/threaded-g-pointer-bit-unlock-and-set
1195s # Start of threaded-weak-ref tests
1195s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/-/issues/2390
1195s # /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.
1195s ok 5 /GObject/threaded-weak-ref/on-finalization
1195s # End of threaded-weak-ref tests
1195s # End of GObject tests
1195s PASS: glib/threadtests.test
1195s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.2s; system=0.3s; maxrss=3672
1195s autopkgtest [09:43:57]: test threadtests: -----------------------]
1195s threadtests PASS
1195s autopkgtest [09:43:57]: test threadtests: - - - - - - - - - - results - - - - - - - - - -
1196s autopkgtest [09:43:58]: test timeout: preparing testbed
1196s Reading package lists...
1196s Building dependency tree...
1196s Reading state information...
1196s Starting pkgProblemResolver with broken count: 0
1196s Starting 2 pkgProblemResolver with broken count: 0
1196s Done
1197s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1197s autopkgtest [09:43:59]: test timeout: [-----------------------
1198s Running test: glib/timeout.test
1198s TAP version 14
1198s # random seed: R02Sed898d6526105ef4fa3cdde8721aff81
1198s 1..5
1198s # Start of timeout tests
1198s # Bug Reference: https://bugzilla.gnome.org/show_bug.cgi?id=642052
1201s ok 1 /timeout/seconds
1201s # slow test /timeout/seconds executed in 2.10 secs
1202s ok 2 /timeout/seconds-once
1202s # slow test /timeout/seconds-once executed in 2.10 secs
1202s # Bug Reference: https://gitlab.gnome.org/GNOME/glib/issues/1600
1203s Executing: glib/timeout.test
1204s ok 3 /timeout/weeks-overflow
1204s # slow test /timeout/weeks-overflow executed in 2.10 secs
1204s ok 4 /timeout/far-future-ready-time
1208s Executing: glib/timeout.test
1213s Executing: glib/timeout.test
1215s ok 5 /timeout/rounding
1215s # slow test /timeout/rounding executed in 10.67 secs
1215s # End of timeout tests
1215s PASS: glib/timeout.test
1215s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3120
1215s autopkgtest [09:44:17]: test timeout: -----------------------]
1215s timeout PASS
1215s autopkgtest [09:44:17]: test timeout: - - - - - - - - - - results - - - - - - - - - -
1216s autopkgtest [09:44:18]: test timer: preparing testbed
1216s Reading package lists...
1217s Building dependency tree...
1217s Reading state information...
1217s Starting pkgProblemResolver with broken count: 0
1217s Starting 2 pkgProblemResolver with broken count: 0
1217s Done
1217s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1218s autopkgtest [09:44:20]: test timer: [-----------------------
1218s Running test: glib/timer.test
1218s TAP version 14
1218s # random seed: R02S1615b2eaf9ce5a3b9c705ab017df0d99
1218s 1..10
1218s # Start of timer tests
1218s ok 1 /timer/basic
1218s ok 2 /timer/stop
1218s ok 3 /timer/continue
1218s ok 4 /timer/reset
1218s ok 5 /timer/is_active
1218s # End of timer tests
1218s # Start of timeval tests
1218s ok 6 /timeval/add
1218s ok 7 /timeval/from-iso8601
1218s ok 8 /timeval/to-iso8601
1218s # Start of to-iso8601 tests
1218s ok 9 /timeval/to-iso8601/overflow
1218s # End of to-iso8601 tests
1218s # End of timeval tests
1218s # Start of usleep tests
1218s ok 10 /usleep/with-zero-wait
1218s # End of usleep tests
1218s PASS: glib/timer.test
1218s SUMMARY: total=1; passed=1; skipped=0; failed=0; user=0.0s; system=0.0s; maxrss=3256
1218s autopkgtest [09:44:20]: test timer: -----------------------]
1219s autopkgtest [09:44:21]: test timer: - - - - - - - - - - results - - - - - - - - - -
1219s timer PASS
1219s autopkgtest [09:44:21]: test 1065022-futureproofing: preparing testbed
1332s autopkgtest [09:46:14]: testbed dpkg architecture: s390x
1332s autopkgtest [09:46:14]: testbed apt version: 3.0.0
1332s autopkgtest [09:46:14]: @@@@@@@@@@@@@@@@@@@@ test bed setup
1332s autopkgtest [09:46:14]: testbed release detected to be: questing
1333s autopkgtest [09:46:15]: updating testbed package index (apt update)
1333s Get:1 http://ftpmaster.internal/ubuntu questing-proposed InRelease [110 kB]
1334s Hit:2 http://ftpmaster.internal/ubuntu questing InRelease
1334s Hit:3 http://ftpmaster.internal/ubuntu questing-updates InRelease
1334s Hit:4 http://ftpmaster.internal/ubuntu questing-security InRelease
1334s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main Sources [175 kB]
1334s Get:6 http://ftpmaster.internal/ubuntu questing-proposed/universe Sources [2076 kB]
1334s Get:7 http://ftpmaster.internal/ubuntu questing-proposed/multiverse Sources [44.4 kB]
1334s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x Packages [208 kB]
1334s Get:9 http://ftpmaster.internal/ubuntu questing-proposed/universe s390x Packages [1079 kB]
1334s Get:10 http://ftpmaster.internal/ubuntu questing-proposed/multiverse s390x Packages [9148 B]
1334s Fetched 3701 kB in 1s (3060 kB/s)
1335s Reading package lists...
1336s autopkgtest [09:46:18]: upgrading testbed (apt dist-upgrade and autopurge)
1336s Reading package lists...
1336s Building dependency tree...
1336s Reading state information...
1336s Calculating upgrade...Starting pkgProblemResolver with broken count: 0
1336s Starting 2 pkgProblemResolver with broken count: 0
1336s Done
1338s Entering ResolveByKeep
1338s
1338s Calculating upgrade...
1338s The following packages will be upgraded:
1338s htop libpython3.13 libpython3.13-minimal libpython3.13-stdlib nano
1338s python3.13 python3.13-gdbm python3.13-minimal
1338s 8 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1338s Need to get 9090 kB of archives.
1338s After this operation, 7168 B of additional disk space will be used.
1338s Get:1 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13 s390x 3.13.3-2 [739 kB]
1338s Get:2 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13 s390x 3.13.3-2 [2517 kB]
1338s Get:3 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-stdlib s390x 3.13.3-2 [2054 kB]
1338s Get:4 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-minimal s390x 3.13.3-2 [2377 kB]
1338s Get:5 http://ftpmaster.internal/ubuntu questing-proposed/main s390x libpython3.13-minimal s390x 3.13.3-2 [883 kB]
1338s Get:6 http://ftpmaster.internal/ubuntu questing/main s390x nano s390x 8.4-1 [299 kB]
1338s Get:7 http://ftpmaster.internal/ubuntu questing/main s390x htop s390x 3.4.1-4 [189 kB]
1338s Get:8 http://ftpmaster.internal/ubuntu questing-proposed/main s390x python3.13-gdbm s390x 3.13.3-2 [31.8 kB]
1338s Fetched 9090 kB in 1s (10.8 MB/s)
1338s (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 ... 81472 files and directories currently installed.)
1338s Preparing to unpack .../0-python3.13_3.13.3-2_s390x.deb ...
1338s Unpacking python3.13 (3.13.3-2) over (3.13.3-1) ...
1338s Preparing to unpack .../1-libpython3.13_3.13.3-2_s390x.deb ...
1338s Unpacking libpython3.13:s390x (3.13.3-2) over (3.13.3-1) ...
1338s Preparing to unpack .../2-libpython3.13-stdlib_3.13.3-2_s390x.deb ...
1338s Unpacking libpython3.13-stdlib:s390x (3.13.3-2) over (3.13.3-1) ...
1338s Preparing to unpack .../3-python3.13-minimal_3.13.3-2_s390x.deb ...
1338s Unpacking python3.13-minimal (3.13.3-2) over (3.13.3-1) ...
1338s Preparing to unpack .../4-libpython3.13-minimal_3.13.3-2_s390x.deb ...
1338s Unpacking libpython3.13-minimal:s390x (3.13.3-2) over (3.13.3-1) ...
1339s Preparing to unpack .../5-nano_8.4-1_s390x.deb ...
1339s Unpacking nano (8.4-1) over (8.3-1) ...
1339s Preparing to unpack .../6-htop_3.4.1-4_s390x.deb ...
1339s Unpacking htop (3.4.1-4) over (3.4.0-2) ...
1339s Preparing to unpack .../7-python3.13-gdbm_3.13.3-2_s390x.deb ...
1339s Unpacking python3.13-gdbm (3.13.3-2) over (3.13.3-1) ...
1339s Setting up htop (3.4.1-4) ...
1339s Setting up libpython3.13-minimal:s390x (3.13.3-2) ...
1339s Setting up nano (8.4-1) ...
1339s Installing new version of config file /etc/nanorc ...
1339s Setting up python3.13-minimal (3.13.3-2) ...
1339s Setting up libpython3.13-stdlib:s390x (3.13.3-2) ...
1339s Setting up python3.13-gdbm (3.13.3-2) ...
1339s Setting up libpython3.13:s390x (3.13.3-2) ...
1339s Setting up python3.13 (3.13.3-2) ...
1340s Processing triggers for systemd (257.4-1ubuntu3) ...
1340s Processing triggers for man-db (2.13.0-1) ...
1341s Processing triggers for install-info (7.1.1-1) ...
1341s Processing triggers for libc-bin (2.41-6ubuntu1) ...
1342s Reading package lists...
1342s Building dependency tree...
1342s Reading state information...
1342s Starting pkgProblemResolver with broken count: 0
1342s Starting 2 pkgProblemResolver with broken count: 0
1342s Done
1342s Solving dependencies...
1342s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1345s Reading package lists...
1345s Building dependency tree...
1345s Reading state information...
1345s Starting pkgProblemResolver with broken count: 0
1345s Starting 2 pkgProblemResolver with broken count: 0
1345s Done
1345s The following NEW packages will be installed:
1345s dconf-gsettings-backend dconf-service dpkg-repack gsettings-desktop-schemas
1345s libdconf1
1346s 0 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
1346s Need to get 140 kB of archives.
1346s After this operation, 638 kB of additional disk space will be used.
1346s Get:1 http://ftpmaster.internal/ubuntu questing/main s390x libdconf1 s390x 0.40.0-5 [40.0 kB]
1346s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x dconf-service s390x 0.40.0-5 [28.4 kB]
1346s Get:3 http://ftpmaster.internal/ubuntu questing/main s390x dconf-gsettings-backend s390x 0.40.0-5 [22.8 kB]
1346s Get:4 http://ftpmaster.internal/ubuntu questing/main s390x dpkg-repack all 1.54 [11.2 kB]
1346s Get:5 http://ftpmaster.internal/ubuntu questing/main s390x gsettings-desktop-schemas all 48.0-1ubuntu1 [37.6 kB]
1346s Fetched 140 kB in 0s (406 kB/s)
1346s Selecting previously unselected package libdconf1:s390x.
1346s (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 ... 81472 files and directories currently installed.)
1346s Preparing to unpack .../libdconf1_0.40.0-5_s390x.deb ...
1346s Unpacking libdconf1:s390x (0.40.0-5) ...
1346s Selecting previously unselected package dconf-service.
1346s Preparing to unpack .../dconf-service_0.40.0-5_s390x.deb ...
1346s Unpacking dconf-service (0.40.0-5) ...
1346s Selecting previously unselected package dconf-gsettings-backend:s390x.
1346s Preparing to unpack .../dconf-gsettings-backend_0.40.0-5_s390x.deb ...
1346s Unpacking dconf-gsettings-backend:s390x (0.40.0-5) ...
1346s Selecting previously unselected package dpkg-repack.
1346s Preparing to unpack .../dpkg-repack_1.54_all.deb ...
1346s Unpacking dpkg-repack (1.54) ...
1346s Selecting previously unselected package gsettings-desktop-schemas.
1346s Preparing to unpack .../gsettings-desktop-schemas_48.0-1ubuntu1_all.deb ...
1346s Unpacking gsettings-desktop-schemas (48.0-1ubuntu1) ...
1346s Setting up dpkg-repack (1.54) ...
1346s Setting up libdconf1:s390x (0.40.0-5) ...
1346s Setting up dconf-service (0.40.0-5) ...
1346s Setting up dconf-gsettings-backend:s390x (0.40.0-5) ...
1346s Setting up gsettings-desktop-schemas (48.0-1ubuntu1) ...
1346s Processing triggers for man-db (2.13.0-1) ...
1347s Processing triggers for libglib2.0-0t64:s390x (2.84.1-1) ...
1347s Processing triggers for libc-bin (2.41-6ubuntu1) ...
1354s autopkgtest [09:46:36]: test 1065022-futureproofing: [-----------------------
1354s + export DEBIAN_FRONTEND=noninteractive
1354s + n=0
1354s + failed=0
1354s + binary_package=libglib2.0-0t64
1354s + future_binary_package=libglib2.0-0xyz
1354s + pwd
1354s + srcdir=/tmp/autopkgtest.rl0bd8/build.Tip/src
1354s + mktemp -d
1354s + tmpdir=/tmp/tmp.Xjhn1NboaL
1354s + cd /tmp/tmp.Xjhn1NboaL
1354s + [ -e /tmp/autopkgtest.rl0bd8/build.Tip/src/debian/tests/manual/local-1065022.sources ]
1354s + dpkg-query -W dpkg-repack
1354s dpkg-repack 1.54
1354s + dpkg-repack --generate libglib2.0-0t64
1354s dpkg-repack: warning: unknown information field 'Original-Maintainer' in input data in stanza in dpkg's status file
1354s dpkg-repack: info: created dpkg-repack.libglib2.0-0t64.I3cOZ1 for libglib2.0-0t64
1354s dpkg-repack: info: to build use: "dpkg-deb --build dpkg-repack.libglib2.0-0t64.I3cOZ1 ."
1354s + grep -q ^Breaks: dpkg-repack.libglib2.0-0t64.I3cOZ1/DEBIAN/control
1354s + grep -q ^Provides: dpkg-repack.libglib2.0-0t64.I3cOZ1/DEBIAN/control
1354s + grep -q ^Replaces: dpkg-repack.libglib2.0-0t64.I3cOZ1/DEBIAN/control
1354s + 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.I3cOZ1/DEBIAN/control
1354s + dpkg-deb --build dpkg-repack.libglib2.0-0t64.I3cOZ1 libglib2.0-0xyz.deb
1354s dpkg-deb: building package 'libglib2.0-0xyz' in 'libglib2.0-0xyz.deb'.
1356s + apt-get -y install ./libglib2.0-0xyz.deb
1356s Reading package lists...
1356s Building dependency tree...
1356s Reading state information...
1357s Solving dependencies...
1357s The following packages were automatically installed and are no longer required:
1357s apport-symptoms exfatprogs fuse3 jq libatasmart4 libbytesize-common
1357s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libfuse3-3 libgpgme11t64
1357s libicu76 libinih1 libjq1 libjson-glib-1.0-common libnl-genl-3-200 libnspr4
1357s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi
1357s python3-chardet python3-configobj python3-debconf python3-markdown-it
1357s python3-mdurl python3-openssl python3-passlib python3-problem-report
1357s python3-pygments python3-requests python3-rich python3-systemd
1357s python3-urllib3 s390-tools-data s390-tools-signed
1357s Use 'sudo apt autoremove' to remove them.
1357s The following additional packages will be installed:
1357s xdg-user-dirs
1357s Suggested packages:
1357s low-memory-monitor
1357s Recommended packages:
1357s shared-mime-info
1357s The following packages will be REMOVED:
1357s apport apport-core-dump-handler bolt cloud-init cloud-init-base
1357s dconf-gsettings-backend dconf-service fwupd gir1.2-girepository-2.0
1357s gir1.2-glib-2.0 gsettings-desktop-schemas libblockdev-crypto3
1357s libblockdev-fs3 libblockdev-loop3 libblockdev-mdraid3 libblockdev-nvme3
1357s libblockdev-part3 libblockdev-swap3 libblockdev-utils3 libblockdev3
1357s libdconf1 libfwupd3 libgirepository-1.0-1 libglib2.0-0t64 libgudev-1.0-0
1357s libjcat1 libjson-glib-1.0-0 libmbim-glib4 libmbim-proxy libmm-glib0
1357s libnetplan1 libpolkit-agent-1-0 libpolkit-gobject-1-0 libqmi-glib5
1357s libqmi-proxy libqrtr-glib0 libudisks2-0 libvolume-key1 libxmlb2
1357s netplan-generator netplan.io networkd-dispatcher python3-dbus python3-gi
1357s python3-netplan s390-tools shared-mime-info sysconfig-hardware
1357s ubuntu-minimal udisks2 xfsprogs
1357s The following NEW packages will be installed:
1357s libglib2.0-0xyz xdg-user-dirs
1357s 0 upgraded, 2 newly installed, 51 to remove and 0 not upgraded.
1357s Need to get 19.2 kB/1606 kB of archives.
1357s After this operation, 65.6 MB disk space will be freed.
1357s Get:1 /tmp/tmp.Xjhn1NboaL/libglib2.0-0xyz.deb libglib2.0-0xyz s390x 2.84.1-1 [1587 kB]
1357s Get:2 http://ftpmaster.internal/ubuntu questing/main s390x xdg-user-dirs s390x 0.18-2 [19.2 kB]
1357s Fetched 19.2 kB in 0s (87.6 kB/s)
1357s (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 ... 81541 files and directories currently installed.)
1357s Removing bolt (0.9.8-1) ...
1358s Removing cloud-init (25.1.1-0ubuntu2) ...
1358s Removing cloud-init-base (25.1.1-0ubuntu2) ...
1358s Removing gsettings-desktop-schemas (48.0-1ubuntu1) ...
1358s Removing dconf-gsettings-backend:s390x (0.40.0-5) ...
1358s Removing dconf-service (0.40.0-5) ...
1358s Removing fwupd (2.0.7-1) ...
1359s Removing networkd-dispatcher (2.2.4-1.1) ...
1359s Removing udisks2 (2.10.1-11ubuntu2) ...
1359s Removing libblockdev-crypto3:s390x (3.3.0-2) ...
1359s Removing libblockdev-fs3:s390x (3.3.0-2) ...
1359s Removing libblockdev-loop3:s390x (3.3.0-2) ...
1359s Removing libblockdev-mdraid3:s390x (3.3.0-2) ...
1359s Removing libblockdev-nvme3:s390x (3.3.0-2) ...
1360s Removing libblockdev-part3:s390x (3.3.0-2) ...
1360s Removing libblockdev-swap3:s390x (3.3.0-2) ...
1360s Removing libblockdev3:s390x (3.3.0-2) ...
1360s Removing libblockdev-utils3:s390x (3.3.0-2) ...
1360s Removing libdconf1:s390x (0.40.0-5) ...
1360s Removing libfwupd3:s390x (2.0.7-1) ...
1360s Removing shared-mime-info (2.4-5build1) ...
1360s Removing sysconfig-hardware (0.0.14+nmu2ubuntu1) ...
1360s Removing s390-tools (2.37.0-0ubuntu2) ...
1360s Removing libgudev-1.0-0:s390x (1:238-6) ...
1360s Removing libjcat1:s390x (0.2.0-2build3) ...
1360s Removing libjson-glib-1.0-0:s390x (1.10.6+ds-2) ...
1360s Removing libqmi-proxy (1.35.6-1) ...
1360s Removing libqmi-glib5:s390x (1.35.6-1) ...
1360s Removing libmbim-proxy (1.31.2-0ubuntu4) ...
1360s Removing libmbim-glib4:s390x (1.31.2-0ubuntu4) ...
1361s Removing libmm-glib0:s390x (1.23.4-0ubuntu3) ...
1361s Removing ubuntu-minimal (1.549) ...
1361s Removing netplan.io (1.1.2-2ubuntu1) ...
1361s dpkg: warning: while removing netplan.io, directory '/usr/share/netplan/netplan_cli/cli/commands' not empty so not removed
1361s Removing python3-netplan (1.1.2-2ubuntu1) ...
1361s Removing netplan-generator (1.1.2-2ubuntu1) ...
1361s dpkg: warning: while removing netplan-generator, directory '/etc/netplan' not empty so not removed
1361s Removing libnetplan1:s390x (1.1.2-2ubuntu1) ...
1361s Removing libpolkit-agent-1-0:s390x (126-2) ...
1361s Removing libpolkit-gobject-1-0:s390x (126-2) ...
1361s Removing libqrtr-glib0:s390x (1.2.2-1ubuntu4) ...
1361s Removing libudisks2-0:s390x (2.10.1-11ubuntu2) ...
1361s Removing libvolume-key1:s390x (0.3.12-9) ...
1361s Removing libxmlb2:s390x (0.3.22-1) ...
1361s Removing xfsprogs (6.13.0-2ubuntu1) ...
1361s Removing python3-dbus (1.3.2-5build5) ...
1361s Removing apport (2.32.0-0ubuntu5) ...
1362s Removing apport-core-dump-handler (2.32.0-0ubuntu5) ...
1362s Removing python3-gi (3.50.0-4build1) ...
1362s Removing gir1.2-girepository-2.0:s390x (1.84.0-1) ...
1362s Removing gir1.2-glib-2.0:s390x (2.84.1-1) ...
1362s Removing libgirepository-1.0-1:s390x (1.84.0-1) ...
1362s Removing libglib2.0-0t64:s390x (2.84.1-1) ...
1362s Selecting previously unselected package libglib2.0-0xyz:s390x.
1362s (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 ... 80109 files and directories currently installed.)
1362s Preparing to unpack .../libglib2.0-0xyz.deb ...
1362s Unpacking libglib2.0-0xyz:s390x (2.84.1-1) ...
1362s Selecting previously unselected package xdg-user-dirs.
1362s Preparing to unpack .../xdg-user-dirs_0.18-2_s390x.deb ...
1362s Unpacking xdg-user-dirs (0.18-2) ...
1362s Setting up xdg-user-dirs (0.18-2) ...
1362s Setting up libglib2.0-0xyz:s390x (2.84.1-1) ...
1362s No schema files found: removed existing output file.
1362s Processing triggers for dbus (1.16.2-2ubuntu1) ...
1362s Processing triggers for initramfs-tools (0.147ubuntu1) ...
1362s update-initramfs: Generating /boot/initrd.img-6.14.0-15-generic
1362s W: No lz4 in /usr/bin:/sbin:/bin, using gzip
1365s Processing triggers for libc-bin (2.41-6ubuntu1) ...
1365s Processing triggers for man-db (2.13.0-1) ...
1366s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1366s + n=1
1366s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1366s + echo not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1366s + failed=1
1366s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1366s + n=2
1366s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1366s + echo not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1366s + failed=1
1366s not ok 1 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1366s not ok 2 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1366s not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1366s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
1366s + n=3
1366s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1366s + echo not ok 3 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1366s + failed=1
1366s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
1366s + n=4
1366s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
1366s + echo not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1366s not ok 4 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1366s not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1366s + failed=1
1366s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
1366s + n=5
1366s + test -e /usr/lib/*/gio/modules/giomodule.cache
1366s + echo not ok 5 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1366s + failed=1
1366s not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1366s Reading package lists...
1366s Building dependency tree...+ assert test -s /usr/lib/*/gio/modules/giomodule.cache
1366s + n=6
1366s + test -s /usr/lib/*/gio/modules/giomodule.cache
1366s + echo not ok 6 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1366s + failed=1
1366s + apt-get -y purge libglib2.0-0t64
1366s
1366s Reading state information...
1366s The following packages were automatically installed and are no longer required:
1366s apport-symptoms exfatprogs fuse3 jq libatasmart4 libbytesize-common
1366s libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2 libfuse3-3 libgpgme11t64
1366s libicu76 libinih1 libjq1 libjson-glib-1.0-common libnl-genl-3-200 libnspr4
1366s libnss3 libnvme1t64 libonig5 libprotobuf-c1 python3-apport python3-certifi
1366s python3-chardet python3-configobj python3-debconf python3-markdown-it
1366s python3-mdurl python3-openssl python3-passlib python3-problem-report
1366s python3-pygments python3-requests python3-rich python3-systemd
1366s python3-urllib3 s390-tools-data s390-tools-signed
1366s Use 'sudo apt autoremove' to remove them.
1366s The following packages will be REMOVED:
1366s libglib2.0-0t64*
1366s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1366s After this operation, 0 B of additional disk space will be used.
1366s (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 ... 80144 files and directories currently installed.)
1366s Purging configuration files for libglib2.0-0t64:s390x (2.84.1-1) ...
1367s not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1367s not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1367s + assert test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1367s + n=7
1367s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1367s + echo not ok 7 - test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml exit status 1
1367s + failed=1
1367s + assert test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1367s + n=8
1367s + test -s /usr/share/glib-2.0/schemas/gschemas.compiled
1367s + echo not ok 8 - test -s /usr/share/glib-2.0/schemas/gschemas.compiled exit status 1
1367s + failed=1
1367s + assert test -e /usr/lib/*/gio/modules/libdconfsettings.so
1367s + n=9
1367s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1367s + echo not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1367s + failed=1
1367s + assert test -s /usr/lib/*/gio/modules/libdconfsettings.so
1367s + n=10not ok 9 - test -e /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1367s not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1367s
1367s + test -s /usr/lib/*/gio/modules/libdconfsettings.so
1367s + echo not ok 10 - test -s /usr/lib/*/gio/modules/libdconfsettings.so exit status 1
1367s + failed=1
1367s + assert test -e /usr/lib/*/gio/modules/giomodule.cache
1367s + n=11
1367s + test -e /usr/lib/*/gio/modules/giomodule.cache
1367s + echo not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1367s not ok 11 - test -e /usr/lib/*/gio/modules/giomodule.cache exit status 1
1367s + failed=1
1367s + assert test -s /usr/lib/*/gio/modules/giomodule.cache
1367s + n=12
1367s + test -s /usr/lib/*/gio/modules/giomodule.cache
1367s + echo not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1367s + failed=1
1367s + apt-get -y purge libglib2.0-0xyz
1367s not ok 12 - test -s /usr/lib/*/gio/modules/giomodule.cache exit status 1
1367s Reading package lists...
1367s Building dependency tree...
1367s Reading state information...
1367s The following packages were automatically installed and are no longer required:
1367s apport-symptoms exfatprogs fuse3 jq libatasmart4 libatomic1
1367s libbytesize-common libbytesize1 libdrm-amdgpu1 libflashrom1 libftdi1-2
1367s libfuse3-3 libglib2.0-data libgpgme11t64 libicu76 libinih1 libjq1
1367s libjson-glib-1.0-common libnl-genl-3-200 libnspr4 libnss3 libnvme1t64
1367s libonig5 libprotobuf-c1 python3-apport python3-certifi python3-chardet
1367s python3-configobj python3-debconf python3-markdown-it python3-mdurl
1367s python3-openssl python3-passlib python3-problem-report python3-pygments
1367s python3-requests python3-rich python3-systemd python3-urllib3
1367s s390-tools-data s390-tools-signed xdg-user-dirs
1367s Use 'sudo apt autoremove' to remove them.
1367s The following packages will be REMOVED:
1367s libglib2.0-0xyz*
1367s 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1367s After this operation, 4676 kB disk space will be freed.
1367s (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 ... 80144 files and directories currently installed.)
1367s Removing libglib2.0-0xyz:s390x (2.84.1-1) ...
1367s Processing triggers for libc-bin (2.41-6ubuntu1) ...
1367s (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 ... 80119 files and directories currently installed.)
1367s Purging configuration files for libglib2.0-0xyz:s390x (2.84.1-1) ...
1368s ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1368s ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1368s ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
1368s ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
1368s 1..16
1368s + assert_not test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1368s + n=13
1368s + test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1368s + echo ok 13 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
1368s + assert_not test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1368s + n=14
1368s + test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1368s + echo ok 14 - unsuccessful as expected: test -e /usr/share/glib-2.0/schemas/gschemas.compiled
1368s + assert_not test -e /usr/lib/*/gio/modules/libdconfsettings.so
1368s + n=15
1368s + test -e /usr/lib/*/gio/modules/libdconfsettings.so
1368s + echo ok 15 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/libdconfsettings.so
1368s + assert_not test -e /usr/lib/*/gio/modules/giomodule.cache
1368s + n=16
1368s + test -e /usr/lib/*/gio/modules/giomodule.cache
1368s + echo ok 16 - unsuccessful as expected: test -e /usr/lib/*/gio/modules/giomodule.cache
1368s + echo 1..16
1368s + exit 1
1368s autopkgtest [09:46:50]: test 1065022-futureproofing: -----------------------]
1369s 1065022-futureproofing FLAKY non-zero exit status 1
1369s autopkgtest [09:46:51]: test 1065022-futureproofing: - - - - - - - - - - results - - - - - - - - - -
1369s autopkgtest [09:46:51]: @@@@@@@@@@@@@@@@@@@@ summary
1369s build PASS (superficial)
1369s build-static PASS (superficial)
1369s girepository-tools PASS (superficial)
1369s libgio-2.0-dev-bin PASS (superficial)
1369s libglib2.0-dev PASS (superficial)
1369s installed-tests PASS
1369s closure-refcount PASS
1369s debugcontroller PASS
1369s gdbus-server-auth PASS
1369s gdbus-threading PASS
1369s gmenumodel PASS
1369s mainloop PASS
1369s memory-monitor-dbus PASS
1369s socket PASS
1369s testfilemonitor PASS
1369s thread-pool-slow PASS
1369s threadtests PASS
1369s timeout PASS
1369s timer PASS
1369s 1065022-futureproofing FLAKY non-zero exit status 1
1386s nova [W] Using flock in prodstack6-s390x
1386s Creating nova instance adt-questing-s390x-glib2.0-20250502-092402-juju-7f2275-prod-proposed-migration-environment-20-5cf12b5b-8b5c-4a0b-848a-9fbfbcdaf88d from image adt/ubuntu-questing-s390x-server-20250502.img (UUID 632ecfca-a19d-4f3a-af48-b7883fa0ccf2)...
1386s nova [W] Timed out waiting for 5f21fc9e-a14c-45a0-a61c-fdc69963856f to get deleted.
1386s nova [W] Using flock in prodstack6-s390x
1386s Creating nova instance adt-questing-s390x-glib2.0-20250502-092402-juju-7f2275-prod-proposed-migration-environment-20-5cf12b5b-8b5c-4a0b-848a-9fbfbcdaf88d from image adt/ubuntu-questing-s390x-server-20250502.img (UUID 632ecfca-a19d-4f3a-af48-b7883fa0ccf2)...
1386s nova [W] Timed out waiting for 8e8749a6-5dd8-44dc-89c9-cff8c6e5210d to get deleted.
1386s nova [W] Using flock in prodstack6-s390x
1386s Creating nova instance adt-questing-s390x-glib2.0-20250502-092402-juju-7f2275-prod-proposed-migration-environment-20-5cf12b5b-8b5c-4a0b-848a-9fbfbcdaf88d from image adt/ubuntu-questing-s390x-server-20250502.img (UUID 632ecfca-a19d-4f3a-af48-b7883fa0ccf2)...
1386s nova [W] Timed out waiting for 8bdbf411-1c8b-45fe-b545-83e5bf2d90aa to get deleted.
1386s nova [W] Using flock in prodstack6-s390x
1386s Creating nova instance adt-questing-s390x-glib2.0-20250502-092402-juju-7f2275-prod-proposed-migration-environment-20-5cf12b5b-8b5c-4a0b-848a-9fbfbcdaf88d from image adt/ubuntu-questing-s390x-server-20250502.img (UUID 632ecfca-a19d-4f3a-af48-b7883fa0ccf2)...
1386s nova [W] Timed out waiting for 67629157-c2c8-431b-bbac-f6ca17691d73 to get deleted.
1386s nova [W] Using flock in prodstack6-s390x
1386s Creating nova instance adt-questing-s390x-glib2.0-20250502-092402-juju-7f2275-prod-proposed-migration-environment-20-5cf12b5b-8b5c-4a0b-848a-9fbfbcdaf88d from image adt/ubuntu-questing-s390x-server-20250502.img (UUID 632ecfca-a19d-4f3a-af48-b7883fa0ccf2)...
1386s nova [W] Timed out waiting for 951c9061-0f9e-42db-8f7e-3518e28a2017 to get deleted.
1386s nova [W] Using flock in prodstack6-s390x
1386s Creating nova instance adt-questing-s390x-glib2.0-20250502-092402-juju-7f2275-prod-proposed-migration-environment-20-5cf12b5b-8b5c-4a0b-848a-9fbfbcdaf88d from image adt/ubuntu-questing-s390x-server-20250502.img (UUID 632ecfca-a19d-4f3a-af48-b7883fa0ccf2)...
1386s nova [W] Timed out waiting for ca0bf4f9-fab9-445a-a50b-c4f2b3f0be43 to get deleted.